Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Steinmetz.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.000989/0.000989, allocations: 81.91 kB / 21.42 MB, free: 3.07 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001037/0.001037, allocations: 169.2 kB / 24.82 MB, free: 9.273 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.018/1.018, allocations: 177 MB / 205.1 MB, free: 5.477 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Steinmetz,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10000,variableFilter="time|aimc.is.[0-9,]+.|aimc.idq_rr.[0-9,]+.|aimc.idq_sr.[0-9,]+.|cRun.v|cStart.v|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Steinmetz") translateModel(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Steinmetz,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10000,variableFilter="time|aimc.is.[0-9,]+.|aimc.idq_rr.[0-9,]+.|aimc.idq_sr.[0-9,]+.|cRun.v|cStart.v|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Steinmetz") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.233e-06/1.233e-06, allocations: 0 / 273.3 MB, free: 1.207 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.313e-05/1.436e-05, allocations: 2.312 kB / 273.3 MB, free: 1.203 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Steinmetz): time 0.007199/0.007214, allocations: 9.45 MB / 282.8 MB, free: 7.699 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.00327/0.01048, allocations: 3.03 MB / 285.8 MB, free: 4.66 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004217/0.01091, allocations: 67.56 kB / 285.9 MB, free: 4.594 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0009029/0.01181, allocations: 0.6169 MB / 286.5 MB, free: 3.973 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001029/0.01284, allocations: 0.8225 MB / 287.3 MB, free: 3.145 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003932/0.01323, allocations: 403.2 kB / 287.7 MB, free: 2.75 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.001474/0.0147, allocations: 2.536 MB / 290.3 MB, free: 204 kB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.116/0.1307, allocations: 0.9956 MB / 291.3 MB, free: 16 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00281/0.1335, allocations: 1.786 MB / 293 MB, free: 16 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0017/0.1352, allocations: 1.155 MB / 294.2 MB, free: 16 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0005077/0.1357, allocations: 272.2 kB / 294.5 MB, free: 16 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006994/0.1364, allocations: 371.5 kB / 294.8 MB, free: 16 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0009708/0.1374, allocations: 0.7791 MB / 295.6 MB, free: 16 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000772/0.1382, allocations: 0.8645 MB / 296.5 MB, free: 16 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001938/0.1401, allocations: 2.003 MB / 298.5 MB, free: 15.82 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.879e-06/0.1401, allocations: 1.938 kB / 298.5 MB, free: 15.82 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.122e-06/0.1401, allocations: 1.125 kB / 298.5 MB, free: 15.82 MB / 266.7 MB Notification: Performance of Transformations before backend: time 2.806e-05/0.1401, allocations: 0 / 298.5 MB, free: 15.82 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: 491 * Number of variables: 491 Notification: Performance of Generate backend data structure: time 0.002784/0.1429, allocations: 2.628 MB / 301.1 MB, free: 14.43 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.822e-05/0.143, allocations: 13.58 kB / 301.1 MB, free: 14.43 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007323/0.1437, allocations: 449.1 kB / 301.6 MB, free: 14.24 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00127/0.145, allocations: 1.209 MB / 302.8 MB, free: 13.57 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.623e-05/0.145, allocations: 151.4 kB / 302.9 MB, free: 13.5 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002072/0.1453, allocations: 197.8 kB / 303.1 MB, free: 13.44 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001529/0.1468, allocations: 1.426 MB / 304.5 MB, free: 12.91 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.248e-05/0.1468, allocations: 9.812 kB / 304.5 MB, free: 12.9 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001191/0.1469, allocations: 83.33 kB / 304.6 MB, free: 12.84 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.542e-05/0.147, allocations: 90.81 kB / 304.7 MB, free: 12.83 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007181/0.1477, allocations: 0.555 MB / 305.3 MB, free: 12.79 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00506/0.1528, allocations: 6.452 MB / 311.7 MB, free: 8.699 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000559/0.1533, allocations: 0.5608 MB / 312.3 MB, free: 8.48 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006083/0.154, allocations: 0.5363 MB / 312.8 MB, free: 8.297 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001179/0.1541, allocations: 45.48 kB / 312.9 MB, free: 8.289 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.275e-05/0.1541, allocations: 49.78 kB / 312.9 MB, free: 8.234 MB / 266.7 MB Notification: Performance of pre-optimization done (n=95): time 2.304e-06/0.1541, allocations: 0 / 312.9 MB, free: 8.234 MB / 266.7 MB Notification: Performance of matching and sorting (n=111): time 0.004015/0.1581, allocations: 2.566 MB / 315.5 MB, free: 5.727 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.065e-05/0.1581, allocations: 65.16 kB / 315.5 MB, free: 5.652 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001066/0.1592, allocations: 1.047 MB / 316.6 MB, free: 4.758 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 6.146e-05/0.1593, allocations: 45.7 kB / 316.6 MB, free: 4.707 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004849/0.1598, allocations: 1.035 MB / 317.7 MB, free: 3.715 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002385/0.16, allocations: 414.5 kB / 318.1 MB, free: 3.332 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003165/0.1603, allocations: 262.7 kB / 318.3 MB, free: 3.098 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.000101/0.1604, allocations: 0.5395 MB / 318.9 MB, free: 2.578 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003076/0.1607, allocations: 167.9 kB / 319 MB, free: 2.414 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000531/0.1612, allocations: 0.69 MB / 319.7 MB, free: 1.559 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009195/0.1622, allocations: 0.9756 MB / 320.7 MB, free: 464 kB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.645e-06/0.1622, allocations: 4 kB / 320.7 MB, free: 460 kB / 266.7 MB Notification: Performance of matching and sorting (n=172) (initialization): time 0.002006/0.1642, allocations: 1.183 MB / 321.9 MB, free: 15.32 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.614e-05/0.1642, allocations: 16.62 kB / 321.9 MB, free: 15.31 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.161e-05/0.1642, allocations: 8 kB / 321.9 MB, free: 15.3 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000846/0.1651, allocations: 284.4 kB / 322.2 MB, free: 15.01 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008173/0.1659, allocations: 274.9 kB / 322.5 MB, free: 14.76 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004686/0.1706, allocations: 6.549 MB / 329 MB, free: 7.984 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004524/0.171, allocations: 47.94 kB / 329 MB, free: 7.938 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.121e-05/0.1711, allocations: 44 kB / 329.1 MB, free: 7.895 MB / 282.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 49 * Number of states: 0 () * Number of discrete variables: 2 (idealOpener.control,idealCloser.control) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (147): * Single equations (assignments): 142 * 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%), (2,8,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0003478/0.1714, allocations: 241 kB / 329.3 MB, free: 7.668 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001939/0.1716, allocations: 179 kB / 329.5 MB, free: 7.492 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001195/0.1728, allocations: 0.9653 MB / 330.5 MB, free: 6.512 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.103e-06/0.1728, allocations: 12 kB / 330.5 MB, free: 6.5 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.899e-06/0.1728, allocations: 4 kB / 330.5 MB, free: 6.496 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.027e-06/0.1728, allocations: 11.97 kB / 330.5 MB, free: 6.484 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002878/0.1757, allocations: 2.279 MB / 332.8 MB, free: 4.312 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.29e-06/0.1757, allocations: 4 kB / 332.8 MB, free: 4.309 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000395/0.1761, allocations: 171.1 kB / 332.9 MB, free: 4.152 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000738/0.1769, allocations: 337.5 kB / 333.3 MB, free: 3.816 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.295e-05/0.1769, allocations: 27.98 kB / 333.3 MB, free: 3.789 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004281/0.1812, allocations: 8.269 MB / 341.6 MB, free: 11.16 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.444e-06/0.1812, allocations: 4 kB / 341.6 MB, free: 11.15 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001578/0.1828, allocations: 1.405 MB / 343 MB, free: 9.719 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003339/0.1831, allocations: 234.5 kB / 343.2 MB, free: 9.492 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001072/0.1832, allocations: 27.98 kB / 343.2 MB, free: 9.465 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003202/0.1836, allocations: 39.98 kB / 343.3 MB, free: 9.426 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001527/0.1837, allocations: 92.77 kB / 343.4 MB, free: 9.336 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.138e-05/0.1837, allocations: 23.98 kB / 343.4 MB, free: 9.312 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0004451/0.1842, allocations: 0.5868 MB / 344 MB, free: 8.773 MB / 298.7 MB Notification: Performance of sort global known variables: time 7e-08/0.1842, allocations: 0 / 344 MB, free: 8.773 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.001148/0.1853, allocations: 428 kB / 344.4 MB, free: 8.355 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 9 (aimc.inertiaRotor.w,aimc.i_0_s,aimc.idq_sr[1],aimc.idq_sr[2],aimc.idq_rr[1],aimc.idq_rr[2],quadraticLoadTorque.phi,cRun.v,cStart.v) * Number of discrete variables: 2 (idealCloser.control,idealOpener.control) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (86): * Single equations (assignments): 81 * 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,1,100.0%), (2,8,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.0002877/0.1856, allocations: 185.1 kB / 344.6 MB, free: 8.176 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.001505/0.1871, allocations: 1.367 MB / 345.9 MB, free: 6.809 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 3.096e-06/0.1871, allocations: 0 / 345.9 MB, free: 6.809 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008939/0.188, allocations: 1.189 MB / 347.1 MB, free: 5.578 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009411/0.189, allocations: 370 kB / 347.5 MB, free: 5.234 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00395/0.1929, allocations: 3.466 MB / 351 MB, free: 1.723 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003954/0.1933, allocations: 0.4922 MB / 351.5 MB, free: 1.207 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0004216/0.1937, allocations: 167.9 kB / 351.6 MB, free: 1.039 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005619/0.1943, allocations: 414 kB / 352 MB, free: 0.6328 MB / 298.7 MB Notification: Performance of SimCode: time 1.122e-06/0.1943, allocations: 4 kB / 352 MB, free: 0.6289 MB / 298.7 MB Notification: Performance of Templates: time 0.02992/0.2242, allocations: 23.73 MB / 375.8 MB, free: 9.355 MB / 330.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Steinmetz.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Steinmetz.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Steinmetz.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Steinmetz.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Steinmetz.sim & ./Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Steinmetz -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Steinmetz.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Steinmetz_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Machines/Examples/InductionMachines/IMC_Steinmetz/IMC_Steinmetz.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.2956954408437014]