Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize.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.00109/0.00109, allocations: 78.19 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.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.001095/0.001095, allocations: 153.8 kB / 24.81 MB, free: 9.281 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 0.9723/0.9723, allocations: 173.3 MB / 201.4 MB, free: 9.191 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_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.0.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.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.643e-06/1.643e-06, allocations: 0 / 268.4 MB, free: 6.172 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.416e-05/2.58e-05, allocations: 10.25 kB / 268.4 MB, free: 6.16 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize): time 0.00814/0.008166, allocations: 8.659 MB / 277.1 MB, free: 13.46 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.005148/0.01331, allocations: 2.796 MB / 279.9 MB, free: 10.66 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001013/0.01433, allocations: 55.62 kB / 279.9 MB, free: 10.6 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001274/0.0156, allocations: 0.5938 MB / 280.5 MB, free: 10 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001957/0.01756, allocations: 0.7994 MB / 281.3 MB, free: 9.199 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007411/0.0183, allocations: 327.5 kB / 281.6 MB, free: 8.879 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.002657/0.02096, allocations: 2.442 MB / 284.1 MB, free: 6.422 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001094/0.02205, allocations: 0.9929 MB / 285.1 MB, free: 5.383 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002138/0.02419, allocations: 1.743 MB / 286.8 MB, free: 3.637 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001489/0.02568, allocations: 1.224 MB / 288 MB, free: 2.41 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0005005/0.02618, allocations: 272 kB / 288.3 MB, free: 2.145 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005378/0.02671, allocations: 347.9 kB / 288.6 MB, free: 1.805 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0008284/0.02754, allocations: 0.814 MB / 289.5 MB, free: 0.9883 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001164/0.02871, allocations: 0.8614 MB / 290.3 MB, free: 128 kB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.1225/0.1512, allocations: 1.997 MB / 292.3 MB, free: 19.49 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.008e-06/0.1512, allocations: 0 / 292.3 MB, free: 19.49 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.202e-06/0.1512, allocations: 0 / 292.3 MB, free: 19.49 MB / 266.7 MB Notification: Performance of Transformations before backend: time 0.000104/0.1513, allocations: 1.219 kB / 292.3 MB, free: 19.49 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.005416/0.1568, allocations: 2.611 MB / 294.9 MB, free: 18.31 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.529e-05/0.1568, allocations: 10.67 kB / 294.9 MB, free: 18.31 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008774/0.1577, allocations: 418.1 kB / 295.4 MB, free: 18.18 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001865/0.1595, allocations: 1.201 MB / 296.6 MB, free: 17.8 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001088/0.1597, allocations: 135.9 kB / 296.7 MB, free: 17.79 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002422/0.1599, allocations: 187.3 kB / 296.9 MB, free: 17.79 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002078/0.162, allocations: 1.368 MB / 298.2 MB, free: 17.48 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.166e-05/0.162, allocations: 8.688 kB / 298.2 MB, free: 17.48 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001111/0.1621, allocations: 76.19 kB / 298.3 MB, free: 17.48 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.771e-05/0.1622, allocations: 86.72 kB / 298.4 MB, free: 17.47 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001244/0.1635, allocations: 0.519 MB / 298.9 MB, free: 17.43 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007172/0.1706, allocations: 5.935 MB / 304.9 MB, free: 14.81 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007299/0.1714, allocations: 0.5177 MB / 305.4 MB, free: 14.66 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005758/0.172, allocations: 466.9 kB / 305.8 MB, free: 14.59 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001301/0.1721, allocations: 40.23 kB / 305.9 MB, free: 14.59 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.276e-05/0.1721, allocations: 45.55 kB / 305.9 MB, free: 14.54 MB / 266.7 MB Notification: Performance of pre-optimization done (n=84): time 2.224e-06/0.1721, allocations: 1.438 kB / 305.9 MB, free: 14.54 MB / 266.7 MB Notification: Performance of matching and sorting (n=100): time 0.003431/0.1755, allocations: 2.183 MB / 308.1 MB, free: 13.73 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.167e-05/0.1756, allocations: 66.59 kB / 308.2 MB, free: 13.66 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007601/0.1763, allocations: 1.061 MB / 309.2 MB, free: 13.36 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 4.308e-05/0.1764, allocations: 44.5 kB / 309.3 MB, free: 13.31 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003601/0.1767, allocations: 1.017 MB / 310.3 MB, free: 12.57 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001495/0.1769, allocations: 383.1 kB / 310.7 MB, free: 12.29 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001942/0.1771, allocations: 220.2 kB / 310.9 MB, free: 12.19 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 7.642e-05/0.1771, allocations: 0.5387 MB / 311.4 MB, free: 11.7 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001695/0.1773, allocations: 146.2 kB / 311.6 MB, free: 11.7 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002831/0.1776, allocations: 0.5606 MB / 312.1 MB, free: 11.21 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005542/0.1782, allocations: 0.8148 MB / 312.9 MB, free: 10.64 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.202e-06/0.1782, allocations: 3.344 kB / 312.9 MB, free: 10.64 MB / 266.7 MB Notification: Performance of matching and sorting (n=149) (initialization): time 0.001307/0.1795, allocations: 1.138 MB / 314.1 MB, free: 10.3 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.689e-05/0.1795, allocations: 6.75 kB / 314.1 MB, free: 10.3 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.175e-05/0.1795, allocations: 9.531 kB / 314.1 MB, free: 10.3 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009095/0.1804, allocations: 485.5 kB / 314.6 MB, free: 10.1 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004028/0.1808, allocations: 216.1 kB / 314.8 MB, free: 10.06 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003006/0.1838, allocations: 5.417 MB / 320.2 MB, free: 4.598 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005326/0.1843, allocations: 44.11 kB / 320.2 MB, free: 4.555 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.535e-05/0.1844, allocations: 36 kB / 320.3 MB, free: 4.52 MB / 266.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.0004425/0.1848, allocations: 226 kB / 320.5 MB, free: 4.305 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001709/0.185, allocations: 179 kB / 320.7 MB, free: 4.129 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009217/0.1859, allocations: 0.8605 MB / 321.5 MB, free: 3.254 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.94e-06/0.1859, allocations: 12 kB / 321.5 MB, free: 3.242 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.887e-06/0.1859, allocations: 0 / 321.5 MB, free: 3.242 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.643e-06/0.1859, allocations: 7.984 kB / 321.5 MB, free: 3.234 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00234/0.1883, allocations: 2.142 MB / 323.7 MB, free: 1.199 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.08e-06/0.1883, allocations: 4.219 kB / 323.7 MB, free: 1.195 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003413/0.1886, allocations: 155.1 kB / 323.8 MB, free: 1.051 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004925/0.1891, allocations: 266 kB / 324.1 MB, free: 0.7812 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.071e-05/0.1892, allocations: 31.97 kB / 324.1 MB, free: 0.75 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002764/0.1919, allocations: 6.03 MB / 330.2 MB, free: 10.46 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.754e-06/0.1919, allocations: 0 / 330.2 MB, free: 10.46 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001681/0.1936, allocations: 1.244 MB / 331.4 MB, free: 9.184 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003848/0.194, allocations: 226.5 kB / 331.6 MB, free: 8.965 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.819e-05/0.1941, allocations: 23.98 kB / 331.7 MB, free: 8.941 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003205/0.1944, allocations: 39.98 kB / 331.7 MB, free: 8.902 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001338/0.1946, allocations: 76.84 kB / 331.8 MB, free: 8.828 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.872e-05/0.1946, allocations: 27.92 kB / 331.8 MB, free: 8.801 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0005078/0.1951, allocations: 0.5895 MB / 332.4 MB, free: 8.254 MB / 282.7 MB Notification: Performance of sort global known variables: time 4e-08/0.1951, allocations: 0 / 332.4 MB, free: 8.254 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.00123/0.1963, allocations: 423.9 kB / 332.8 MB, free: 7.84 MB / 282.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.0002976/0.1966, allocations: 192 kB / 333 MB, free: 7.656 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.001323/0.198, allocations: 1.174 MB / 334.2 MB, free: 6.496 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 5.28e-06/0.198, allocations: 0 / 334.2 MB, free: 6.496 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008043/0.1988, allocations: 0.934 MB / 335.1 MB, free: 5.535 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009024/0.1997, allocations: 326.1 kB / 335.4 MB, free: 5.227 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004442/0.2041, allocations: 3.335 MB / 338.7 MB, free: 1.844 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006878/0.2048, allocations: 0.5187 MB / 339.3 MB, free: 1.297 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0005028/0.2053, allocations: 163.2 kB / 339.4 MB, free: 1.133 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005339/0.2058, allocations: 389.1 kB / 339.8 MB, free: 0.7539 MB / 282.7 MB Notification: Performance of SimCode: time 1.243e-06/0.2058, allocations: 4 kB / 339.8 MB, free: 0.75 MB / 282.7 MB Notification: Performance of Templates: time 0.03215/0.238, allocations: 23.51 MB / 363.3 MB, free: 9.648 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize.sim & ./Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.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.246076923329383]