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.001137/0.001137, allocations: 83.58 kB / 21.19 MB, free: 3.383 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.001717/0.001717, allocations: 165 kB / 24.56 MB, free: 16 kB / 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 1.006/1.006, allocations: 177.1 MB / 205 MB, free: 5.289 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.563e-06/1.563e-06, allocations: 0 / 273 MB, free: 1.379 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.022e-05/2.178e-05, allocations: 5.828 kB / 273 MB, free: 1.375 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Inverter): time 0.01274/0.01276, allocations: 8.843 MB / 281.8 MB, free: 8.488 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.005355/0.01812, allocations: 2.847 MB / 284.7 MB, free: 5.633 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007624/0.01888, allocations: 55.62 kB / 284.7 MB, free: 5.578 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001164/0.02004, allocations: 0.5937 MB / 285.3 MB, free: 4.98 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00144/0.02149, allocations: 0.7839 MB / 286.1 MB, free: 4.191 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005532/0.02204, allocations: 331.5 kB / 286.4 MB, free: 3.867 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.001924/0.02396, allocations: 2.322 MB / 288.8 MB, free: 1.539 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001002/0.02496, allocations: 0.9891 MB / 289.8 MB, free: 0.5 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.1201/0.1451, allocations: 1.678 MB / 291.4 MB, free: 16.74 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002085/0.1471, allocations: 1.153 MB / 292.6 MB, free: 16.74 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0004817/0.1476, allocations: 262.6 kB / 292.8 MB, free: 16.74 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008261/0.1485, allocations: 356.7 kB / 293.2 MB, free: 16.74 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0006072/0.1491, allocations: 0.7614 MB / 294 MB, free: 16.74 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0009636/0.15, allocations: 0.827 MB / 294.8 MB, free: 16.74 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002606/0.1526, allocations: 1.926 MB / 296.7 MB, free: 16.56 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.484e-06/0.1526, allocations: 0 / 296.7 MB, free: 16.56 MB / 266.7 MB Notification: Performance of FrontEnd: time 2.034e-06/0.1526, allocations: 0.7812 kB / 296.7 MB, free: 16.56 MB / 266.7 MB Notification: Performance of Transformations before backend: time 5.369e-05/0.1527, allocations: 0 / 296.7 MB, free: 16.56 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.003695/0.1564, allocations: 2.577 MB / 299.3 MB, free: 15.41 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.813e-05/0.1564, allocations: 10.44 kB / 299.3 MB, free: 15.41 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007821/0.1572, allocations: 405.5 kB / 299.7 MB, free: 15.29 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001606/0.1588, allocations: 1.216 MB / 300.9 MB, free: 14.91 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.26e-05/0.1589, allocations: 135.8 kB / 301 MB, free: 14.85 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002281/0.1591, allocations: 188.9 kB / 301.2 MB, free: 14.79 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002272/0.1614, allocations: 1.479 MB / 302.7 MB, free: 14.17 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.96e-05/0.1614, allocations: 6.406 kB / 302.7 MB, free: 14.17 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001204/0.1616, allocations: 78.06 kB / 302.8 MB, free: 14.11 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.677e-05/0.1617, allocations: 92.27 kB / 302.9 MB, free: 14.1 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00127/0.1629, allocations: 0.6635 MB / 303.5 MB, free: 14 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005681/0.1686, allocations: 5.799 MB / 309.3 MB, free: 10.54 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007646/0.1694, allocations: 0.58 MB / 309.9 MB, free: 10.3 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006177/0.17, allocations: 461.7 kB / 310.4 MB, free: 10.13 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001503/0.1701, allocations: 52.55 kB / 310.4 MB, free: 10.12 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.346e-05/0.1702, allocations: 45.94 kB / 310.5 MB, free: 10.07 MB / 266.7 MB Notification: Performance of pre-optimization done (n=87): time 4.418e-06/0.1702, allocations: 3.562 kB / 310.5 MB, free: 10.07 MB / 266.7 MB Notification: Performance of matching and sorting (n=104): time 0.005257/0.1754, allocations: 3.102 MB / 313.6 MB, free: 7.738 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.399e-05/0.1754, allocations: 68.06 kB / 313.6 MB, free: 7.664 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009402/0.1764, allocations: 0.9808 MB / 314.6 MB, free: 6.664 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 4.99e-05/0.1764, allocations: 45.7 kB / 314.7 MB, free: 6.613 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003204/0.1768, allocations: 0.9626 MB / 315.6 MB, free: 5.641 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000174/0.1769, allocations: 383.7 kB / 316 MB, free: 5.27 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002086/0.1771, allocations: 228.5 kB / 316.2 MB, free: 5.039 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 7.751e-05/0.1772, allocations: 0.5316 MB / 316.8 MB, free: 4.5 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002888/0.1775, allocations: 198.5 kB / 316.9 MB, free: 4.305 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000397/0.1779, allocations: 0.6218 MB / 317.6 MB, free: 3.516 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007675/0.1787, allocations: 0.9279 MB / 318.5 MB, free: 2.453 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.28e-06/0.1787, allocations: 0 / 318.5 MB, free: 2.453 MB / 266.7 MB Notification: Performance of matching and sorting (n=154) (initialization): time 0.001567/0.1802, allocations: 1.208 MB / 319.7 MB, free: 1.293 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.148e-05/0.1803, allocations: 12 kB / 319.7 MB, free: 1.281 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.294e-05/0.1803, allocations: 8 kB / 319.7 MB, free: 1.273 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005857/0.1809, allocations: 271.5 kB / 320 MB, free: 0.9922 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005218/0.1814, allocations: 257.6 kB / 320.2 MB, free: 0.7578 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003721/0.1851, allocations: 6.562 MB / 326.8 MB, free: 9.875 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007186/0.1858, allocations: 71.89 kB / 326.9 MB, free: 9.805 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.634e-05/0.1859, allocations: 44 kB / 326.9 MB, free: 9.762 MB / 282.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.0005955/0.1865, allocations: 241.9 kB / 327.2 MB, free: 9.531 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002244/0.1867, allocations: 167.2 kB / 327.3 MB, free: 9.367 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001496/0.1882, allocations: 1.02 MB / 328.3 MB, free: 8.328 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.652e-06/0.1882, allocations: 12 kB / 328.3 MB, free: 8.316 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.333e-06/0.1882, allocations: 4 kB / 328.4 MB, free: 8.312 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.886e-06/0.1882, allocations: 7.969 kB / 328.4 MB, free: 8.305 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003499/0.1917, allocations: 2.74 MB / 331.1 MB, free: 5.523 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.903e-06/0.1917, allocations: 7.984 kB / 331.1 MB, free: 5.516 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003943/0.1921, allocations: 166.6 kB / 331.3 MB, free: 5.363 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006865/0.1928, allocations: 319.6 kB / 331.6 MB, free: 5.031 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.692e-05/0.1929, allocations: 43.38 kB / 331.6 MB, free: 4.992 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004235/0.1971, allocations: 8.301 MB / 339.9 MB, free: 12.25 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.563e-06/0.1971, allocations: 10.91 kB / 339.9 MB, free: 12.24 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001962/0.1991, allocations: 1.539 MB / 341.5 MB, free: 10.62 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004066/0.1995, allocations: 231 kB / 341.7 MB, free: 10.4 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001011/0.1996, allocations: 31.98 kB / 341.7 MB, free: 10.37 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000353/0.1999, allocations: 55.95 kB / 341.8 MB, free: 10.31 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001736/0.2001, allocations: 100.5 kB / 341.9 MB, free: 10.21 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.415e-05/0.2002, allocations: 31.98 kB / 341.9 MB, free: 10.18 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0006537/0.2008, allocations: 0.5888 MB / 342.5 MB, free: 9.586 MB / 298.7 MB Notification: Performance of sort global known variables: time 3.3e-07/0.2008, allocations: 0 / 342.5 MB, free: 9.586 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.001202/0.202, allocations: 399.9 kB / 342.9 MB, free: 9.195 MB / 298.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.0002964/0.2023, allocations: 186.5 kB / 343.1 MB, free: 9.012 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.001594/0.2039, allocations: 1.416 MB / 344.5 MB, free: 7.578 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 3.536e-06/0.2039, allocations: 0 / 344.5 MB, free: 7.578 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009969/0.2049, allocations: 1.226 MB / 345.7 MB, free: 6.297 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009268/0.2058, allocations: 341.6 kB / 346.1 MB, free: 5.973 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004367/0.2102, allocations: 3.334 MB / 349.4 MB, free: 2.551 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003799/0.2106, allocations: 499.5 kB / 349.9 MB, free: 2.035 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.000503/0.2111, allocations: 238.2 kB / 350.1 MB, free: 1.801 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002629/0.2113, allocations: 96.48 kB / 350.2 MB, free: 1.707 MB / 298.7 MB Notification: Performance of SimCode: time 1.072e-06/0.2113, allocations: 0 / 350.2 MB, free: 1.707 MB / 298.7 MB Notification: Performance of Templates: time 0.0276/0.2389, allocations: 21.62 MB / 371.8 MB, free: 12.46 MB / 330.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 -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.3874468808062375]