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.0009585/0.0009585, allocations: 80.8 kB / 21.5 MB, free: 2.996 MB / 18.57 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.001018/0.001018, allocations: 170.3 kB / 24.91 MB, free: 9.195 MB / 18.57 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 0.918/0.918, allocations: 177.1 MB / 205.3 MB, free: 5.484 MB / 186.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.553e-06/1.553e-06, allocations: 0 / 273.5 MB, free: 1.25 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.145e-05/1.3e-05, allocations: 2.312 kB / 273.5 MB, free: 1.246 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Inverter): time 0.01779/0.0178, allocations: 8.687 MB / 282.2 MB, free: 8.52 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.01127/0.02907, allocations: 2.92 MB / 285.1 MB, free: 5.59 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006148/0.02968, allocations: 55.62 kB / 285.2 MB, free: 5.535 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001192/0.03087, allocations: 0.6132 MB / 285.8 MB, free: 4.918 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001364/0.03224, allocations: 0.7761 MB / 286.6 MB, free: 4.137 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004963/0.03273, allocations: 335.4 kB / 286.9 MB, free: 3.809 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.001958/0.03469, allocations: 2.311 MB / 289.2 MB, free: 1.488 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001275/0.03597, allocations: 1.016 MB / 290.2 MB, free: 420 kB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.1107/0.1466, allocations: 1.673 MB / 291.9 MB, free: 16.81 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001371/0.148, allocations: 1.147 MB / 293 MB, free: 16.81 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0004075/0.1484, allocations: 259.7 kB / 293.3 MB, free: 16.81 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005452/0.149, allocations: 355.7 kB / 293.6 MB, free: 16.81 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004962/0.1495, allocations: 0.7618 MB / 294.4 MB, free: 16.81 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0008441/0.1503, allocations: 0.8228 MB / 295.2 MB, free: 16.81 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00179/0.1521, allocations: 1.923 MB / 297.1 MB, free: 16.64 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.675e-06/0.1521, allocations: 0 / 297.1 MB, free: 16.64 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.052e-06/0.1521, allocations: 1.781 kB / 297.1 MB, free: 16.64 MB / 266.7 MB Notification: Performance of Transformations before backend: time 5.788e-05/0.1522, allocations: 0 / 297.1 MB, free: 16.64 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.002704/0.1549, allocations: 2.283 MB / 299.4 MB, free: 15.63 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.757e-05/0.1549, allocations: 9.422 kB / 299.4 MB, free: 15.63 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006289/0.1555, allocations: 330.7 kB / 299.8 MB, free: 15.63 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001053/0.1566, allocations: 0.901 MB / 300.7 MB, free: 15.25 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.353e-05/0.1566, allocations: 130.4 kB / 300.8 MB, free: 15.24 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001933/0.1568, allocations: 187 kB / 301 MB, free: 15.24 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001444/0.1583, allocations: 1.39 MB / 302.4 MB, free: 14.81 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.645e-05/0.1583, allocations: 9.078 kB / 302.4 MB, free: 14.8 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001058/0.1584, allocations: 76.44 kB / 302.4 MB, free: 14.75 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.687e-05/0.1585, allocations: 90.12 kB / 302.5 MB, free: 14.74 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007895/0.1593, allocations: 0.5361 MB / 303.1 MB, free: 14.65 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003914/0.1632, allocations: 4.579 MB / 307.6 MB, free: 12.24 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005222/0.1637, allocations: 0.5284 MB / 308.2 MB, free: 12.05 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004387/0.1641, allocations: 409.9 kB / 308.6 MB, free: 11.99 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.741e-05/0.1642, allocations: 44.59 kB / 308.6 MB, free: 11.99 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.015e-05/0.1643, allocations: 42.19 kB / 308.7 MB, free: 11.95 MB / 266.7 MB Notification: Performance of pre-optimization done (n=87): time 1.713e-06/0.1643, allocations: 0 / 308.7 MB, free: 11.95 MB / 266.7 MB Notification: Performance of matching and sorting (n=104): time 0.003638/0.1679, allocations: 2.531 MB / 311.2 MB, free: 10.7 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.69e-05/0.1679, allocations: 64.41 kB / 311.2 MB, free: 10.62 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000439/0.1684, allocations: 0.8055 MB / 312.1 MB, free: 9.941 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 4.42e-05/0.1684, allocations: 45.7 kB / 312.1 MB, free: 9.891 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001806/0.1686, allocations: 0.749 MB / 312.8 MB, free: 9.176 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001231/0.1687, allocations: 382.9 kB / 313.2 MB, free: 8.824 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001681/0.1689, allocations: 211.3 kB / 313.4 MB, free: 8.637 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 4.055e-05/0.1689, allocations: 353.1 kB / 313.8 MB, free: 8.309 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001715/0.1691, allocations: 145.4 kB / 313.9 MB, free: 8.164 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002231/0.1693, allocations: 446.5 kB / 314.3 MB, free: 7.641 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004812/0.1698, allocations: 0.7236 MB / 315.1 MB, free: 6.855 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.677e-06/0.1698, allocations: 4 kB / 315.1 MB, free: 6.852 MB / 266.7 MB Notification: Performance of matching and sorting (n=154) (initialization): time 0.0009306/0.1707, allocations: 0.8935 MB / 316 MB, free: 6.012 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.42e-05/0.1707, allocations: 8 kB / 316 MB, free: 6.004 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.576e-06/0.1707, allocations: 8.25 kB / 316 MB, free: 5.996 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004548/0.1712, allocations: 257.8 kB / 316.2 MB, free: 5.734 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004648/0.1717, allocations: 253.3 kB / 316.5 MB, free: 5.504 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001881/0.1735, allocations: 4.672 MB / 321.2 MB, free: 0.6445 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003208/0.1739, allocations: 48.02 kB / 321.2 MB, free: 0.5977 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.555e-05/0.1739, allocations: 36 kB / 321.2 MB, free: 0.5625 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.0002367/0.1742, allocations: 189.5 kB / 321.4 MB, free: 392 kB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001277/0.1743, allocations: 107.9 kB / 321.5 MB, free: 284 kB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009587/0.1752, allocations: 0.8078 MB / 322.3 MB, free: 15.46 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.851e-06/0.1752, allocations: 8 kB / 322.3 MB, free: 15.45 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.683e-06/0.1752, allocations: 4 kB / 322.3 MB, free: 15.45 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.686e-06/0.1753, allocations: 11.97 kB / 322.4 MB, free: 15.43 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002409/0.1777, allocations: 2.23 MB / 324.6 MB, free: 13.4 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.34e-06/0.1777, allocations: 7.984 kB / 324.6 MB, free: 13.39 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003788/0.1781, allocations: 163 kB / 324.8 MB, free: 13.24 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006245/0.1787, allocations: 334.8 kB / 325.1 MB, free: 12.9 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.93e-05/0.1787, allocations: 31.98 kB / 325.1 MB, free: 12.87 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003024/0.1818, allocations: 5.873 MB / 331 MB, free: 6.715 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.176e-06/0.1818, allocations: 11.56 kB / 331 MB, free: 6.707 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001237/0.183, allocations: 1.206 MB / 332.2 MB, free: 5.453 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002333/0.1832, allocations: 173.8 kB / 332.4 MB, free: 5.285 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.486e-05/0.1833, allocations: 35.98 kB / 332.4 MB, free: 5.25 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002929/0.1836, allocations: 39.98 kB / 332.4 MB, free: 5.211 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001359/0.1838, allocations: 96.05 kB / 332.5 MB, free: 5.121 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.027e-05/0.1838, allocations: 27.98 kB / 332.6 MB, free: 5.094 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0003206/0.1841, allocations: 404 kB / 333 MB, free: 4.734 MB / 282.7 MB Notification: Performance of sort global known variables: time 8e-08/0.1841, allocations: 0 / 333 MB, free: 4.734 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0008097/0.1849, allocations: 400 kB / 333.4 MB, free: 4.344 MB / 282.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.0002191/0.1851, allocations: 170.2 kB / 333.5 MB, free: 4.18 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.001008/0.1862, allocations: 1.073 MB / 334.6 MB, free: 3.129 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.503e-05/0.1862, allocations: 12.5 kB / 334.6 MB, free: 3.117 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007107/0.1869, allocations: 0.8967 MB / 335.5 MB, free: 2.199 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007671/0.1876, allocations: 341 kB / 335.8 MB, free: 1.883 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003421/0.1911, allocations: 3.127 MB / 339 MB, free: 14.7 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003373/0.1914, allocations: 439.5 kB / 339.4 MB, free: 14.25 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0003512/0.1918, allocations: 162.8 kB / 339.6 MB, free: 14.09 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005015/0.1923, allocations: 341.1 kB / 339.9 MB, free: 13.75 MB / 298.7 MB Notification: Performance of SimCode: time 5.21e-07/0.1923, allocations: 0 / 339.9 MB, free: 13.75 MB / 298.7 MB Notification: Performance of Templates: time 0.02469/0.217, allocations: 21.95 MB / 361.8 MB, free: 8.238 MB / 314.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 -s gbode -gbm=radauIIA3 -emit_protected -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,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.2327800989151]