Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Inverter.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001304/0.001304, allocations: 77.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.002364/0.003668, allocations: 449.8 kB / 10.44 MB, free: 252 kB / 10.45 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001415/0.001415, allocations: 165.1 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001361/0.002776, allocations: 479.5 kB / 11.82 MB, free: 2.344 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.064/1.064, allocations: 177.2 MB / 189.8 MB, free: 5.25 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08777/1.152, allocations: 53.66 MB / 243.4 MB, free: 15.51 MB / 250.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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.[0-9,]+.|aimc.idq_rr.[0-9,]+.|aimc.idq_sr.[0-9,]+.|loadInertia.phi|loadInertia.w|vfController.x",fileNamePrefix="Modelica_4.1.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.[0-9,]+.|aimc.idq_rr.[0-9,]+.|aimc.idq_sr.[0-9,]+.|loadInertia.phi|loadInertia.w|vfController.x",fileNamePrefix="Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Inverter") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.503e-06/1.503e-06, allocations: 0 / 244.7 MB, free: 14.23 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.155e-05/1.306e-05, allocations: 6.312 kB / 244.7 MB, free: 14.22 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Inverter): time 0.008863/0.008876, allocations: 8.727 MB / 253.4 MB, free: 5.445 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.003218/0.01209, allocations: 2.948 MB / 256.4 MB, free: 2.484 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004796/0.01257, allocations: 55.62 kB / 256.4 MB, free: 2.43 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001154/0.01373, allocations: 0.617 MB / 257.1 MB, free: 1.809 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000986/0.01471, allocations: 0.7644 MB / 257.8 MB, free: 1.039 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000362/0.01508, allocations: 339.4 kB / 258.2 MB, free: 0.707 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.001439/0.01651, allocations: 2.326 MB / 260.5 MB, free: 14.37 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008075/0.01732, allocations: 1.02 MB / 261.5 MB, free: 13.29 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001403/0.01872, allocations: 1.825 MB / 263.3 MB, free: 11.45 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001189/0.01991, allocations: 1.15 MB / 264.5 MB, free: 10.3 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002172/0.02013, allocations: 260 kB / 264.7 MB, free: 10.04 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004174/0.02055, allocations: 351.8 kB / 265.1 MB, free: 9.699 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004146/0.02096, allocations: 0.6312 MB / 265.7 MB, free: 9.066 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000523/0.02149, allocations: 0.6785 MB / 266.4 MB, free: 8.387 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001321/0.02281, allocations: 1.806 MB / 268.2 MB, free: 6.574 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 9.638e-06/0.02282, allocations: 0 / 268.2 MB, free: 6.574 MB / 266.7 MB Notification: Performance of FrontEnd: time 9.12e-07/0.02282, allocations: 0 / 268.2 MB, free: 6.574 MB / 266.7 MB Notification: Performance of Transformations before backend: time 2.127e-05/0.02284, allocations: 0 / 268.2 MB, free: 6.574 MB / 266.7 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.002343/0.02518, allocations: 2.706 MB / 270.9 MB, free: 3.832 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.865e-05/0.02521, allocations: 12.02 kB / 270.9 MB, free: 3.82 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007655/0.02598, allocations: 409.8 kB / 271.3 MB, free: 3.402 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009443/0.02692, allocations: 0.9028 MB / 272.2 MB, free: 2.453 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.616e-05/0.02699, allocations: 135.9 kB / 272.3 MB, free: 2.32 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001685/0.02715, allocations: 184.3 kB / 272.5 MB, free: 2.141 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001278/0.02843, allocations: 1.39 MB / 273.9 MB, free: 0.6875 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.741e-05/0.02847, allocations: 11.98 kB / 273.9 MB, free: 0.6758 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.88e-05/0.02857, allocations: 72 kB / 274 MB, free: 0.6055 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.452e-05/0.02864, allocations: 91.5 kB / 274.1 MB, free: 0.5156 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.1193/0.1479, allocations: 0.5277 MB / 274.6 MB, free: 20.39 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006517/0.1545, allocations: 4.595 MB / 279.2 MB, free: 18.9 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006521/0.1551, allocations: 0.5441 MB / 279.8 MB, free: 18.81 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006071/0.1557, allocations: 402.1 kB / 280.1 MB, free: 18.79 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001472/0.1559, allocations: 40.86 kB / 280.2 MB, free: 18.79 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.632e-05/0.1559, allocations: 45.47 kB / 280.2 MB, free: 18.75 MB / 266.7 MB Notification: Performance of pre-optimization done (n=87): time 2.294e-06/0.1559, allocations: 0 / 280.2 MB, free: 18.75 MB / 266.7 MB Notification: Performance of matching and sorting (n=104): time 0.004628/0.1605, allocations: 2.558 MB / 282.8 MB, free: 18.31 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.994e-05/0.1606, allocations: 68 kB / 282.9 MB, free: 18.24 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006847/0.1612, allocations: 0.8033 MB / 283.7 MB, free: 18.07 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 4.758e-05/0.1613, allocations: 45.86 kB / 283.7 MB, free: 18.04 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002873/0.1616, allocations: 0.7522 MB / 284.5 MB, free: 17.59 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001505/0.1617, allocations: 380.8 kB / 284.8 MB, free: 17.34 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002096/0.1619, allocations: 207.9 kB / 285 MB, free: 17.32 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 5.676e-05/0.162, allocations: 358.5 kB / 285.4 MB, free: 17.02 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002058/0.1622, allocations: 148.2 kB / 285.5 MB, free: 17 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00029/0.1625, allocations: 445 kB / 286 MB, free: 16.67 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006498/0.1631, allocations: 0.7538 MB / 286.7 MB, free: 16.32 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.193e-06/0.1631, allocations: 6.688 kB / 286.7 MB, free: 16.31 MB / 266.7 MB Notification: Performance of matching and sorting (n=154) (initialization): time 0.001095/0.1642, allocations: 0.8868 MB / 287.6 MB, free: 16.18 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.954e-05/0.1643, allocations: 10.41 kB / 287.6 MB, free: 16.18 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.341e-05/0.1643, allocations: 9.031 kB / 287.6 MB, free: 16.18 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004949/0.1648, allocations: 265 kB / 287.9 MB, free: 16.12 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005833/0.1654, allocations: 279.2 kB / 288.2 MB, free: 16.11 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002222/0.1676, allocations: 4.675 MB / 292.8 MB, free: 12.13 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003928/0.168, allocations: 40.44 kB / 292.9 MB, free: 12.11 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.931e-05/0.168, allocations: 45.39 kB / 292.9 MB, free: 12.1 MB / 266.7 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.0002535/0.1683, allocations: 182.2 kB / 293.1 MB, free: 11.94 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001339/0.1684, allocations: 113.5 kB / 293.2 MB, free: 11.93 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009308/0.1693, allocations: 0.8066 MB / 294 MB, free: 11.65 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.374e-06/0.1693, allocations: 9.531 kB / 294 MB, free: 11.65 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.757e-06/0.1693, allocations: 6.406 kB / 294 MB, free: 11.65 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.094e-05/0.1694, allocations: 7.656 kB / 294 MB, free: 11.65 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002405/0.1718, allocations: 2.233 MB / 296.3 MB, free: 10.86 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.09e-06/0.1718, allocations: 6.75 kB / 296.3 MB, free: 10.86 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000378/0.1721, allocations: 176.1 kB / 296.4 MB, free: 10.82 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002166/0.1724, allocations: 172.6 kB / 296.6 MB, free: 10.7 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000581/0.1729, allocations: 339 kB / 296.9 MB, free: 10.5 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.472e-05/0.173, allocations: 26.55 kB / 297 MB, free: 10.49 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002227/0.1752, allocations: 5.881 MB / 302.9 MB, free: 4.535 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.707e-06/0.1752, allocations: 4 kB / 302.9 MB, free: 4.531 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001084/0.1763, allocations: 1.217 MB / 304.1 MB, free: 3.25 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.505e-05/0.1764, allocations: 31.98 kB / 304.1 MB, free: 3.219 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002771/0.1767, allocations: 39.98 kB / 304.1 MB, free: 3.18 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001511/0.1768, allocations: 100.7 kB / 304.2 MB, free: 3.082 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.713e-05/0.1769, allocations: 27.98 kB / 304.3 MB, free: 3.055 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0002618/0.1771, allocations: 398.6 kB / 304.7 MB, free: 2.699 MB / 266.7 MB Notification: Performance of sort global known variables: time 4e-08/0.1771, allocations: 0 / 304.7 MB, free: 2.699 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0007488/0.1779, allocations: 400 kB / 305 MB, free: 2.309 MB / 266.7 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%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002308/0.1781, allocations: 168.1 kB / 305.2 MB, free: 2.141 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0009745/0.1791, allocations: 1.095 MB / 306.3 MB, free: 1.047 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.859e-05/0.1791, allocations: 23.12 kB / 306.3 MB, free: 1.023 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008302/0.1799, allocations: 1.105 MB / 307.4 MB, free: 15.88 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001771/0.1817, allocations: 3.129 MB / 310.6 MB, free: 12.14 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01239/0.1941, allocations: 3.187 MB / 313.8 MB, free: 8.898 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005071/0.1946, allocations: 451.5 kB / 314.2 MB, free: 8.43 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0004286/0.195, allocations: 158.9 kB / 314.3 MB, free: 8.27 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005057/0.1955, allocations: 337.1 kB / 314.7 MB, free: 7.938 MB / 282.7 MB Notification: Performance of SimCode: time 1.423e-06/0.1955, allocations: 0 / 314.7 MB, free: 7.938 MB / 282.7 MB Notification: Performance of Templates: time 0.02712/0.2227, allocations: 22.72 MB / 337.4 MB, free: 1.621 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Inverter.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Inverter.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Inverter.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Inverter.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Inverter.sim & ./Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Inverter -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Inverter.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Inverter_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Machines/Examples/InductionMachines/IMC_Inverter/IMC_Inverter.csv","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.2404255559667945]