Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize.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.00124/0.00124, allocations: 77.97 kB / 21.42 MB, free: 3.074 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: 171.1 kB / 24.82 MB, free: 9.309 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.9662/0.9662, allocations: 177.1 MB / 205.3 MB, free: 5.504 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_Initialize,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",fileNamePrefix="Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize") translateModel(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize,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",fileNamePrefix="Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.724e-06/1.724e-06, allocations: 0 / 273.4 MB, free: 1.285 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.155e-05/2.327e-05, allocations: 2.312 kB / 273.4 MB, free: 1.281 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize): time 0.007568/0.007591, allocations: 8.683 MB / 282.1 MB, free: 8.559 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.005173/0.01276, allocations: 2.878 MB / 285 MB, free: 5.672 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001026/0.01379, allocations: 55.62 kB / 285 MB, free: 5.617 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001386/0.01518, allocations: 0.6015 MB / 285.6 MB, free: 5.012 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001967/0.01714, allocations: 0.815 MB / 286.4 MB, free: 4.191 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006737/0.01782, allocations: 335.4 kB / 286.8 MB, free: 3.863 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.002374/0.02019, allocations: 2.454 MB / 289.2 MB, free: 1.398 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001168/0.02136, allocations: 0.9852 MB / 290.2 MB, free: 372 kB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.1202/0.1416, allocations: 1.754 MB / 292 MB, free: 16.68 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001748/0.1433, allocations: 1.232 MB / 293.2 MB, free: 16.68 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0006048/0.1439, allocations: 272 kB / 293.5 MB, free: 16.68 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007259/0.1447, allocations: 369.4 kB / 293.8 MB, free: 16.68 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0005745/0.1452, allocations: 0.81 MB / 294.6 MB, free: 16.68 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001324/0.1466, allocations: 0.8624 MB / 295.5 MB, free: 16.68 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002635/0.1492, allocations: 2.016 MB / 297.5 MB, free: 16.48 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.699e-06/0.1492, allocations: 0 / 297.5 MB, free: 16.48 MB / 266.7 MB Notification: Performance of FrontEnd: time 8.92e-07/0.1492, allocations: 0.9062 kB / 297.5 MB, free: 16.48 MB / 266.7 MB Notification: Performance of Transformations before backend: time 9.138e-05/0.1493, allocations: 0 / 297.5 MB, free: 16.48 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: 466 * Number of variables: 466 Notification: Performance of Generate backend data structure: time 0.004488/0.1538, allocations: 2.623 MB / 300.1 MB, free: 15.27 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.375e-05/0.1538, allocations: 10.22 kB / 300.1 MB, free: 15.27 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008686/0.1547, allocations: 448.7 kB / 300.6 MB, free: 15.14 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001747/0.1565, allocations: 1.221 MB / 301.8 MB, free: 14.59 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.32e-05/0.1565, allocations: 136 kB / 301.9 MB, free: 14.53 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000212/0.1567, allocations: 188 kB / 302.1 MB, free: 14.46 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001929/0.1587, allocations: 1.368 MB / 303.5 MB, free: 13.96 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.719e-05/0.1587, allocations: 5.422 kB / 303.5 MB, free: 13.96 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001178/0.1588, allocations: 78.78 kB / 303.6 MB, free: 13.9 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.26e-05/0.1589, allocations: 87.03 kB / 303.7 MB, free: 13.89 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009074/0.1598, allocations: 0.5247 MB / 304.2 MB, free: 13.84 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006155/0.166, allocations: 5.94 MB / 310.1 MB, free: 10.4 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006263/0.1666, allocations: 0.5243 MB / 310.6 MB, free: 10.21 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005474/0.1672, allocations: 467.7 kB / 311.1 MB, free: 10.05 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001221/0.1673, allocations: 36.64 kB / 311.1 MB, free: 10.05 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.388e-05/0.1673, allocations: 55.89 kB / 311.2 MB, free: 9.992 MB / 266.7 MB Notification: Performance of pre-optimization done (n=84): time 2.235e-06/0.1673, allocations: 0 / 311.2 MB, free: 9.992 MB / 266.7 MB Notification: Performance of matching and sorting (n=100): time 0.003459/0.1708, allocations: 2.184 MB / 313.4 MB, free: 8.5 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.852e-05/0.1708, allocations: 68.34 kB / 313.4 MB, free: 8.422 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007628/0.1715, allocations: 1.066 MB / 314.5 MB, free: 7.504 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 4.652e-05/0.1716, allocations: 49.7 kB / 314.6 MB, free: 7.449 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003708/0.172, allocations: 1.019 MB / 315.6 MB, free: 6.473 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001558/0.1721, allocations: 376.7 kB / 315.9 MB, free: 6.125 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002046/0.1723, allocations: 228.7 kB / 316.2 MB, free: 5.918 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 8.244e-05/0.1724, allocations: 0.5317 MB / 316.7 MB, free: 5.402 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001856/0.1726, allocations: 150.5 kB / 316.8 MB, free: 5.254 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002872/0.1729, allocations: 0.5561 MB / 317.4 MB, free: 4.562 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005542/0.1734, allocations: 0.8141 MB / 318.2 MB, free: 3.645 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.79e-06/0.1734, allocations: 4 kB / 318.2 MB, free: 3.641 MB / 266.7 MB Notification: Performance of matching and sorting (n=149) (initialization): time 0.001322/0.1748, allocations: 1.14 MB / 319.4 MB, free: 2.57 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.772e-05/0.1748, allocations: 14.33 kB / 319.4 MB, free: 2.559 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.138e-05/0.1748, allocations: 8 kB / 319.4 MB, free: 2.551 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009791/0.1758, allocations: 492.6 kB / 319.9 MB, free: 2.07 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004378/0.1762, allocations: 224.8 kB / 320.1 MB, free: 1.867 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004053/0.1803, allocations: 5.402 MB / 325.5 MB, free: 12.33 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006336/0.1809, allocations: 48.06 kB / 325.5 MB, free: 12.29 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.426e-05/0.181, allocations: 36 kB / 325.6 MB, free: 12.25 MB / 282.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 39 * 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 (114): * Single equations (assignments): 112 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,1,100.0%), (5,30,84.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0005675/0.1815, allocations: 222.4 kB / 325.8 MB, free: 12.04 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002179/0.1817, allocations: 175.1 kB / 326 MB, free: 11.86 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001138/0.1829, allocations: 0.8705 MB / 326.8 MB, free: 10.98 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.283e-06/0.1829, allocations: 12 kB / 326.8 MB, free: 10.96 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.911e-06/0.1829, allocations: 0 / 326.8 MB, free: 10.96 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.043e-06/0.1829, allocations: 3.984 kB / 326.8 MB, free: 10.96 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002928/0.1858, allocations: 2.152 MB / 329 MB, free: 8.918 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.918e-06/0.1858, allocations: 224 / 329 MB, free: 8.918 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003806/0.1862, allocations: 159 kB / 329.1 MB, free: 8.77 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005733/0.1868, allocations: 264.7 kB / 329.4 MB, free: 8.504 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.869e-05/0.1868, allocations: 27.98 kB / 329.4 MB, free: 8.477 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003197/0.19, allocations: 6.033 MB / 335.5 MB, free: 2.168 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.857e-06/0.19, allocations: 8 kB / 335.5 MB, free: 2.16 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001552/0.1916, allocations: 1.251 MB / 336.7 MB, free: 0.8789 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003957/0.192, allocations: 219 kB / 336.9 MB, free: 0.6641 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001058/0.1921, allocations: 31.98 kB / 337 MB, free: 0.6328 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003178/0.1924, allocations: 35.98 kB / 337 MB, free: 0.5977 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004011/0.1928, allocations: 83.97 kB / 337.1 MB, free: 0.5195 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.85e-05/0.1929, allocations: 23.98 kB / 337.1 MB, free: 0.4961 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0005403/0.1934, allocations: 0.5974 MB / 337.7 MB, free: 15.95 MB / 298.7 MB Notification: Performance of sort global known variables: time 5.01e-07/0.1934, allocations: 4 kB / 337.7 MB, free: 15.94 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.001228/0.1946, allocations: 420 kB / 338.1 MB, free: 15.53 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 7 (aimc.inertiaRotor.w,aimc.i_0_s,aimc.idq_sr[1],aimc.idq_sr[2],aimc.idq_rr[1],aimc.idq_rr[2],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 (84): * Single equations (assignments): 80 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * 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): 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): 3 systems {(2,12,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.0002499/0.1949, allocations: 184.9 kB / 338.3 MB, free: 15.35 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.001272/0.1961, allocations: 1.176 MB / 339.5 MB, free: 14.19 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 3.917e-06/0.1961, allocations: 4 kB / 339.5 MB, free: 14.19 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007736/0.1969, allocations: 0.9295 MB / 340.4 MB, free: 13.23 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008719/0.1978, allocations: 331 kB / 340.7 MB, free: 12.92 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004241/0.202, allocations: 3.349 MB / 344.1 MB, free: 9.516 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007012/0.2027, allocations: 0.5153 MB / 344.6 MB, free: 8.973 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0004511/0.2032, allocations: 167.1 kB / 344.8 MB, free: 8.805 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005348/0.2037, allocations: 382 kB / 345.1 MB, free: 8.43 MB / 298.7 MB Notification: Performance of SimCode: time 8.32e-07/0.2037, allocations: 0 / 345.1 MB, free: 8.43 MB / 298.7 MB Notification: Performance of Templates: time 0.03142/0.2351, allocations: 23.67 MB / 368.8 MB, free: 1.203 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize.sim & ./Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Machines/Examples/InductionMachines/IMC_Initialize/IMC_Initialize.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.361933661159128]