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.001036/0.001036, allocations: 78.28 kB / 21.42 MB, free: 3.078 MB / 18.57 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.001473/0.001473, allocations: 151.7 kB / 24.81 MB, free: 9.27 MB / 18.57 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.024/1.024, allocations: 173.3 MB / 201.4 MB, free: 9.199 MB / 186.7 MB " [Timeout remaining time 179] 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.[0-9,]+.|aimc.idq_rr.[0-9,]+.|aimc.idq_sr.[0-9,]+.|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.[0-9,]+.|aimc.idq_rr.[0-9,]+.|aimc.idq_sr.[0-9,]+.|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 2.534e-06/2.534e-06, allocations: 0 / 268.4 MB, free: 6.176 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.15e-05/2.403e-05, allocations: 2.312 kB / 268.4 MB, free: 6.172 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Inverter): time 0.00797/0.007994, allocations: 8.589 MB / 277 MB, free: 13.54 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.005076/0.01307, allocations: 2.769 MB / 279.8 MB, free: 10.76 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001089/0.01416, allocations: 55.62 kB / 279.8 MB, free: 10.71 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001269/0.01543, allocations: 0.5821 MB / 280.4 MB, free: 10.12 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001737/0.01716, allocations: 0.7761 MB / 281.2 MB, free: 9.34 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005879/0.01775, allocations: 335.4 kB / 281.5 MB, free: 9.012 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.001721/0.01947, allocations: 2.306 MB / 283.8 MB, free: 6.691 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009216/0.0204, allocations: 0.993 MB / 284.8 MB, free: 5.652 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001522/0.02192, allocations: 1.672 MB / 286.5 MB, free: 3.977 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001026/0.02294, allocations: 1.157 MB / 287.6 MB, free: 2.816 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002708/0.02321, allocations: 264 kB / 287.9 MB, free: 2.559 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00045/0.02366, allocations: 339.8 kB / 288.2 MB, free: 2.227 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004788/0.02414, allocations: 0.7673 MB / 289 MB, free: 1.457 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0006386/0.02478, allocations: 0.8224 MB / 289.8 MB, free: 0.6328 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.1342/0.1589, allocations: 1.904 MB / 291.7 MB, free: 20.76 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.747e-06/0.1589, allocations: 2.188 kB / 291.7 MB, free: 20.76 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.443e-06/0.1589, allocations: 1.062 kB / 291.7 MB, free: 20.76 MB / 266.7 MB Notification: Performance of Transformations before backend: time 0.0001038/0.1591, allocations: 0.5625 kB / 291.7 MB, free: 20.76 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.003484/0.1625, allocations: 2.507 MB / 294.2 MB, free: 19.63 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.488e-05/0.1626, allocations: 11.83 kB / 294.3 MB, free: 19.63 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000638/0.1632, allocations: 406.9 kB / 294.6 MB, free: 19.51 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001324/0.1645, allocations: 1.155 MB / 295.8 MB, free: 19.15 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.052e-05/0.1646, allocations: 137 kB / 295.9 MB, free: 19.14 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002124/0.1648, allocations: 186 kB / 296.1 MB, free: 19.14 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001868/0.1667, allocations: 1.367 MB / 297.5 MB, free: 18.84 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.284e-05/0.1667, allocations: 2.109 kB / 297.5 MB, free: 18.84 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001242/0.1669, allocations: 80.56 kB / 297.6 MB, free: 18.83 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.85e-05/0.167, allocations: 91.81 kB / 297.7 MB, free: 18.83 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001001/0.168, allocations: 0.5242 MB / 298.2 MB, free: 18.79 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005763/0.1737, allocations: 5.713 MB / 303.9 MB, free: 16.55 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006973/0.1744, allocations: 0.5202 MB / 304.4 MB, free: 16.4 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006088/0.175, allocations: 427.5 kB / 304.8 MB, free: 16.33 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001308/0.1752, allocations: 52.45 kB / 304.9 MB, free: 16.32 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.161e-05/0.1752, allocations: 43.89 kB / 304.9 MB, free: 16.28 MB / 266.7 MB Notification: Performance of pre-optimization done (n=87): time 2.004e-06/0.1752, allocations: 0 / 304.9 MB, free: 16.28 MB / 266.7 MB Notification: Performance of matching and sorting (n=104): time 0.003809/0.179, allocations: 2.516 MB / 307.4 MB, free: 15.39 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.892e-05/0.179, allocations: 64.09 kB / 307.5 MB, free: 15.33 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000573/0.1796, allocations: 0.9469 MB / 308.5 MB, free: 15.05 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 4.442e-05/0.1796, allocations: 44.95 kB / 308.5 MB, free: 15 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003077/0.1799, allocations: 0.9746 MB / 309.5 MB, free: 14.28 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001485/0.1801, allocations: 385.9 kB / 309.8 MB, free: 14 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001991/0.1803, allocations: 239.5 kB / 310.1 MB, free: 13.89 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 7.481e-05/0.1804, allocations: 0.5276 MB / 310.6 MB, free: 13.41 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001754/0.1805, allocations: 161.5 kB / 310.8 MB, free: 13.4 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002832/0.1808, allocations: 0.5813 MB / 311.3 MB, free: 12.9 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005618/0.1814, allocations: 0.8432 MB / 312.2 MB, free: 12.29 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.797e-06/0.1814, allocations: 0 / 312.2 MB, free: 12.29 MB / 266.7 MB Notification: Performance of matching and sorting (n=154) (initialization): time 0.001144/0.1825, allocations: 1.09 MB / 313.3 MB, free: 11.96 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.624e-05/0.1826, allocations: 13.17 kB / 313.3 MB, free: 11.96 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.049e-05/0.1826, allocations: 9.312 kB / 313.3 MB, free: 11.96 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004711/0.183, allocations: 255.2 kB / 313.6 MB, free: 11.86 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004336/0.1835, allocations: 240.5 kB / 313.8 MB, free: 11.82 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002145/0.1856, allocations: 6.412 MB / 320.2 MB, free: 5.191 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003547/0.186, allocations: 39.95 kB / 320.2 MB, free: 5.152 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.675e-05/0.186, allocations: 39.98 kB / 320.3 MB, free: 5.113 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.0002571/0.1863, allocations: 226 kB / 320.5 MB, free: 4.898 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001511/0.1864, allocations: 167.2 kB / 320.7 MB, free: 4.734 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009629/0.1874, allocations: 0.933 MB / 321.6 MB, free: 3.789 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.18e-06/0.1874, allocations: 12 kB / 321.6 MB, free: 3.777 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.459e-06/0.1874, allocations: 4 kB / 321.6 MB, free: 3.773 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.376e-06/0.1874, allocations: 7.969 kB / 321.6 MB, free: 3.766 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002517/0.1899, allocations: 2.629 MB / 324.2 MB, free: 1.32 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.529e-06/0.1899, allocations: 4.469 kB / 324.3 MB, free: 1.316 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003292/0.1903, allocations: 155.5 kB / 324.4 MB, free: 1.172 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000599/0.1909, allocations: 309.9 kB / 324.7 MB, free: 0.8594 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.921e-05/0.1909, allocations: 31.98 kB / 324.7 MB, free: 0.8281 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003989/0.1949, allocations: 8.12 MB / 332.9 MB, free: 8.352 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.076e-06/0.1949, allocations: 6.406 kB / 332.9 MB, free: 8.348 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001535/0.1964, allocations: 1.408 MB / 334.3 MB, free: 6.883 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002888/0.1967, allocations: 222.9 kB / 334.5 MB, free: 6.668 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.574e-05/0.1968, allocations: 28 kB / 334.5 MB, free: 6.641 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003197/0.1971, allocations: 47.91 kB / 334.6 MB, free: 6.594 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001431/0.1973, allocations: 88.41 kB / 334.6 MB, free: 6.508 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.117e-05/0.1973, allocations: 31.98 kB / 334.7 MB, free: 6.477 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0004237/0.1978, allocations: 0.5388 MB / 335.2 MB, free: 5.973 MB / 282.7 MB Notification: Performance of sort global known variables: time 6e-08/0.1978, allocations: 0 / 335.2 MB, free: 5.973 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0009921/0.1987, allocations: 396 kB / 335.6 MB, free: 5.586 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.000267/0.199, allocations: 193 kB / 335.8 MB, free: 5.398 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.001373/0.2004, allocations: 1.301 MB / 337.1 MB, free: 4.098 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 4.378e-06/0.2004, allocations: 192 / 337.1 MB, free: 4.098 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009498/0.2013, allocations: 1.149 MB / 338.2 MB, free: 2.906 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008763/0.2022, allocations: 328.9 kB / 338.6 MB, free: 2.594 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004071/0.2063, allocations: 3.302 MB / 341.9 MB, free: 15.22 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004366/0.2067, allocations: 495.5 kB / 342.4 MB, free: 14.71 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0004078/0.2071, allocations: 158.8 kB / 342.5 MB, free: 14.55 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005408/0.2077, allocations: 390 kB / 342.9 MB, free: 14.17 MB / 298.7 MB Notification: Performance of SimCode: time 7.52e-07/0.2077, allocations: 0 / 342.9 MB, free: 14.17 MB / 298.7 MB Notification: Performance of Templates: time 0.02786/0.2355, allocations: 21.89 MB / 364.8 MB, free: 8.703 MB / 314.7 MB " [Timeout remaining time 660] 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=240 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Inverter.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Inverter_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.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.2791031529195607]