Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Inverter.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001904/0.001904, allocations: 123.4 kB / 18.46 MB, free: 4.449 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0022/0.0022, allocations: 192.3 kB / 21.4 MB, free: 1.52 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.426/1.426, allocations: 225.6 MB / 249.8 MB, free: 3.609 MB / 190.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Inverter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=15000,variableFilter="time|aimc.is.1.|aimc.is.2.|aimc.idq_rr.1.|aimc.idq_rr.2.|aimc.idq_sr.1.|aimc.idq_sr.2.|loadInertia.phi|loadInertia.w|vfController.x",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Inverter") translateModel(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Inverter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=15000,variableFilter="time|aimc.is.1.|aimc.is.2.|aimc.idq_rr.1.|aimc.idq_rr.2.|aimc.idq_sr.1.|aimc.idq_sr.2.|loadInertia.phi|loadInertia.w|vfController.x",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Inverter") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001504/0.001504, allocations: 48.02 kB / 366.8 MB, free: 336 kB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09632/0.09782, allocations: 52.15 MB / 419 MB, free: 12.08 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Inverter): time 0.01123/0.1091, allocations: 8.879 MB / 427.8 MB, free: 3.168 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.005372/0.1144, allocations: 2.839 MB / 430.7 MB, free: 328 kB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000973/0.1154, allocations: 43.81 kB / 430.7 MB, free: 284 kB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001687/0.1171, allocations: 0.6368 MB / 431.4 MB, free: 15.64 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002145/0.1192, allocations: 0.7418 MB / 432.1 MB, free: 14.89 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007543/0.12, allocations: 323.5 kB / 432.4 MB, free: 14.57 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.002769/0.1228, allocations: 2.233 MB / 434.7 MB, free: 12.33 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001704/0.1245, allocations: 1.27 MB / 435.9 MB, free: 11.01 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001489/0.1259, allocations: 1.024 MB / 436.9 MB, free: 9.984 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00206/0.128, allocations: 1.32 MB / 438.3 MB, free: 8.66 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004481/0.1285, allocations: 268 kB / 438.5 MB, free: 8.398 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007686/0.1292, allocations: 363.8 kB / 438.9 MB, free: 8.043 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008872/0.1301, allocations: 0.7713 MB / 439.7 MB, free: 7.27 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001619/0.1317, allocations: 1.206 MB / 440.9 MB, free: 6.059 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004313/0.136, allocations: 3.538 MB / 444.4 MB, free: 2.508 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.09e-06/0.136, allocations: 0 / 444.4 MB, free: 2.508 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.734e-06/0.136, allocations: 0 / 444.4 MB, free: 2.508 MB / 366.1 MB Notification: Performance of Transformations before backend: time 7.173e-05/0.1361, allocations: 0 / 444.4 MB, free: 2.508 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 468 * Number of variables: 468 Notification: Performance of Generate backend data structure: time 0.1807/0.3168, allocations: 2.53 MB / 446.9 MB, free: 28.94 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.515e-05/0.3169, allocations: 8.719 kB / 446.9 MB, free: 28.94 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008827/0.3177, allocations: 261.5 kB / 447.2 MB, free: 28.86 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002171/0.3199, allocations: 1.321 MB / 448.5 MB, free: 28.55 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.867e-05/0.32, allocations: 132 kB / 448.6 MB, free: 28.54 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002828/0.3203, allocations: 185.6 kB / 448.8 MB, free: 28.54 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003524/0.3238, allocations: 2.371 MB / 451.2 MB, free: 28.39 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.754e-05/0.3239, allocations: 4.641 kB / 451.2 MB, free: 28.39 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001488/0.324, allocations: 81.89 kB / 451.3 MB, free: 28.39 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.85e-05/0.3241, allocations: 87.69 kB / 451.4 MB, free: 28.38 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003168/0.3273, allocations: 1.969 MB / 453.3 MB, free: 27.77 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009724/0.337, allocations: 7.075 MB / 460.4 MB, free: 24.18 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001616/0.3386, allocations: 1.218 MB / 461.6 MB, free: 23.52 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00142/0.34, allocations: 0.8127 MB / 462.4 MB, free: 23.28 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000196/0.3402, allocations: 120.7 kB / 462.6 MB, free: 23.18 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.144e-05/0.3403, allocations: 48.53 kB / 462.6 MB, free: 23.13 MB / 366.1 MB Notification: Performance of pre-optimization done (n=87): time 2.525e-06/0.3403, allocations: 0 / 462.6 MB, free: 23.13 MB / 366.1 MB Notification: Performance of matching and sorting (n=104): time 0.01271/0.353, allocations: 6.122 MB / 468.7 MB, free: 20.38 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.081e-05/0.353, allocations: 66.45 kB / 468.8 MB, free: 20.31 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001588/0.3546, allocations: 1.208 MB / 470 MB, free: 19.65 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 9.755e-05/0.3547, allocations: 45.92 kB / 470 MB, free: 19.61 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003941/0.3551, allocations: 0.8795 MB / 470.9 MB, free: 18.83 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002136/0.3553, allocations: 391.3 kB / 471.3 MB, free: 18.5 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003286/0.3556, allocations: 223.7 kB / 471.5 MB, free: 18.36 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 6.886e-05/0.3557, allocations: 358.5 kB / 471.9 MB, free: 18.02 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009017/0.3566, allocations: 0.6178 MB / 472.5 MB, free: 17.71 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009853/0.3576, allocations: 0.9184 MB / 473.4 MB, free: 17.02 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001897/0.3595, allocations: 1.646 MB / 475.1 MB, free: 15.95 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.554e-06/0.3595, allocations: 1.312 kB / 475.1 MB, free: 15.95 MB / 366.1 MB Notification: Performance of matching and sorting (n=154) (initialization): time 0.003345/0.3628, allocations: 2.224 MB / 477.3 MB, free: 14.73 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.19e-05/0.3629, allocations: 7.875 kB / 477.3 MB, free: 14.73 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.37e-05/0.3629, allocations: 11.59 kB / 477.3 MB, free: 14.73 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000975/0.3638, allocations: 472.3 kB / 477.8 MB, free: 14.49 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008644/0.3647, allocations: 272.5 kB / 478 MB, free: 14.42 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004746/0.3695, allocations: 7.022 MB / 485 MB, free: 8.383 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001148/0.3706, allocations: 80.05 kB / 485.1 MB, free: 8.34 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.503e-05/0.3707, allocations: 54.2 kB / 485.2 MB, free: 8.312 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 41 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (132): * Single equations (assignments): 127 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 2 systems {(2,100.0%), (2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(2,12,100.0%), (1,6,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0009208/0.3716, allocations: 0.591 MB / 485.8 MB, free: 7.711 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002488/0.3719, allocations: 144 kB / 485.9 MB, free: 7.57 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002801/0.3747, allocations: 2.021 MB / 487.9 MB, free: 5.512 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.244e-06/0.3747, allocations: 11.94 kB / 487.9 MB, free: 5.5 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.166e-06/0.3747, allocations: 11.98 kB / 488 MB, free: 5.488 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.819e-06/0.3747, allocations: 7.984 kB / 488 MB, free: 5.48 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005451/0.3801, allocations: 4.206 MB / 492.2 MB, free: 1.156 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.181e-06/0.3801, allocations: 4 kB / 492.2 MB, free: 1.152 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006637/0.3808, allocations: 179.8 kB / 492.3 MB, free: 0.9766 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001138/0.3819, allocations: 0.5283 MB / 492.9 MB, free: 444 kB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.17e-05/0.382, allocations: 31.98 kB / 492.9 MB, free: 412 kB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008951/0.391, allocations: 8.629 MB / 0.4898 GB, free: 7.246 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.781e-06/0.391, allocations: 4 kB / 0.4898 GB, free: 7.242 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005132/0.3961, allocations: 2.934 MB / 0.4927 GB, free: 4.215 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008133/0.3969, allocations: 352.1 kB / 0.493 GB, free: 3.852 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002015/0.3971, allocations: 31.98 kB / 0.493 GB, free: 3.82 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007883/0.3979, allocations: 67.92 kB / 0.4931 GB, free: 3.754 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002722/0.3982, allocations: 92.75 kB / 0.4932 GB, free: 3.66 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.659e-05/0.3983, allocations: 32 kB / 0.4932 GB, free: 3.629 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.001325/0.3996, allocations: 0.8382 MB / 0.494 GB, free: 2.785 MB / 382.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3996, allocations: 0 / 0.494 GB, free: 2.785 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001558/0.4011, allocations: 407.9 kB / 0.4944 GB, free: 2.387 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * Number of states: 7 (aimc.inertiaRotor.w,aimc.idq_sr[1],aimc.idq_sr[2],aimc.idq_rr[1],aimc.idq_rr[2],vfController.x,loadInertia.phi) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (88): * Single equations (assignments): 83 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 1 system {(2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(2,12,100.0%), (1,6,100.0%), (1,1,100.0%), (2,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003981/0.4015, allocations: 191.8 kB / 0.4946 GB, free: 2.188 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.003821/0.4054, allocations: 2.099 MB / 0.4966 GB, free: 12 kB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 6.653e-06/0.4054, allocations: 0 / 0.4966 GB, free: 12 kB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002456/0.4078, allocations: 1.444 MB / 0.4981 GB, free: 14.5 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001925/0.4097, allocations: 380.6 kB / 0.4984 GB, free: 14.14 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006797/0.4165, allocations: 4.01 MB / 0.5023 GB, free: 10.06 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001475/0.418, allocations: 1.614 MB / 0.5039 GB, free: 8.414 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004605/0.4185, allocations: 107.4 kB / 0.504 GB, free: 8.312 MB / 398.1 MB Notification: Performance of SimCode: time 1.052e-06/0.4185, allocations: 0 / 0.504 GB, free: 8.312 MB / 398.1 MB Notification: Performance of Templates: time 0.08396/0.5024, allocations: 68.32 MB / 0.5707 GB, free: 3.984 MB / 462.1 MB " [Timeout remaining time 659] make -j1 -f Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Inverter.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Inverter.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Inverter.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Inverter.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Inverter.sim & ./Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Inverter -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Inverter.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Inverter_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Machines/Examples/InductionMachines/IMC_Inverter/IMC_Inverter.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Inverter.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 12.180022143991664]