Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Steinmetz.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.001302/0.001302, allocations: 80.92 kB / 21.49 MB, free: 2.996 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.004579/0.004579, allocations: 169.9 kB / 24.91 MB, free: 8.723 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.9044/0.9044, allocations: 177.1 MB / 205.3 MB, free: 5.098 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_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_4.1.0_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_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Steinmetz") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.402e-06/1.402e-06, allocations: 0 / 273.5 MB, free: 1.172 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.168e-05/1.308e-05, allocations: 2.312 kB / 273.5 MB, free: 1.168 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Steinmetz): time 0.007326/0.007339, allocations: 9.458 MB / 282.9 MB, free: 7.66 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.004475/0.01181, allocations: 3.138 MB / 286.1 MB, free: 4.512 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000524/0.01234, allocations: 67.56 kB / 286.1 MB, free: 4.445 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0009666/0.01331, allocations: 0.6286 MB / 286.7 MB, free: 3.812 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001167/0.01447, allocations: 0.8342 MB / 287.6 MB, free: 2.973 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00044/0.01491, allocations: 399.2 kB / 288 MB, free: 2.582 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.001571/0.01648, allocations: 2.524 MB / 290.5 MB, free: 48 kB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.1003/0.1168, allocations: 1.025 MB / 291.5 MB, free: 16.04 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002573/0.1193, allocations: 1.76 MB / 293.3 MB, free: 16.04 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001747/0.1211, allocations: 1.153 MB / 294.4 MB, free: 16.04 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0005768/0.1217, allocations: 270.2 kB / 294.7 MB, free: 16.04 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006881/0.1223, allocations: 370.1 kB / 295.1 MB, free: 16.04 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0006165/0.123, allocations: 0.7744 MB / 295.8 MB, free: 16.04 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0008678/0.1238, allocations: 0.8697 MB / 296.7 MB, free: 16.04 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002086/0.1259, allocations: 1.999 MB / 298.7 MB, free: 15.86 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.956e-06/0.1259, allocations: 0 / 298.7 MB, free: 15.86 MB / 266.7 MB Notification: Performance of FrontEnd: time 8.22e-07/0.1259, allocations: 2.375 kB / 298.7 MB, free: 15.86 MB / 266.7 MB Notification: Performance of Transformations before backend: time 2.601e-05/0.1259, allocations: 3.016 kB / 298.7 MB, free: 15.86 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.002911/0.1289, allocations: 2.389 MB / 301.1 MB, free: 14.61 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.147e-05/0.1289, allocations: 9.812 kB / 301.1 MB, free: 14.61 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007238/0.1296, allocations: 363.6 kB / 301.5 MB, free: 14.55 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001307/0.1309, allocations: 0.9458 MB / 302.4 MB, free: 14.05 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.824e-05/0.131, allocations: 140.5 kB / 302.5 MB, free: 13.98 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002367/0.1312, allocations: 200.2 kB / 302.7 MB, free: 13.92 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00169/0.1329, allocations: 1.449 MB / 304.2 MB, free: 13.41 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.548e-05/0.133, allocations: 8.547 kB / 304.2 MB, free: 13.41 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001355/0.1331, allocations: 79.94 kB / 304.3 MB, free: 13.35 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.015e-05/0.1332, allocations: 90.83 kB / 304.4 MB, free: 13.34 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009389/0.1341, allocations: 0.5487 MB / 304.9 MB, free: 13.25 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0055/0.1396, allocations: 5.208 MB / 310.1 MB, free: 10.36 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006183/0.1403, allocations: 0.5695 MB / 310.7 MB, free: 10.12 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007367/0.141, allocations: 0.5195 MB / 311.2 MB, free: 9.957 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001232/0.1411, allocations: 40.02 kB / 311.2 MB, free: 9.953 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.29e-05/0.1411, allocations: 45.97 kB / 311.3 MB, free: 9.906 MB / 266.7 MB Notification: Performance of pre-optimization done (n=95): time 2.645e-06/0.1411, allocations: 0 / 311.3 MB, free: 9.906 MB / 266.7 MB Notification: Performance of matching and sorting (n=111): time 0.004797/0.1459, allocations: 2.576 MB / 313.9 MB, free: 7.508 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.992e-05/0.146, allocations: 64.41 kB / 313.9 MB, free: 7.43 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006245/0.1466, allocations: 0.879 MB / 314.8 MB, free: 6.703 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 5.606e-05/0.1466, allocations: 49.7 kB / 314.9 MB, free: 6.648 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000255/0.1469, allocations: 0.7973 MB / 315.7 MB, free: 5.891 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001769/0.1471, allocations: 412.7 kB / 316.1 MB, free: 5.512 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002571/0.1473, allocations: 238.2 kB / 316.3 MB, free: 5.305 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 5.064e-05/0.1474, allocations: 358.7 kB / 316.6 MB, free: 4.973 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00025/0.1476, allocations: 158.8 kB / 316.8 MB, free: 4.816 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003298/0.148, allocations: 0.5168 MB / 317.3 MB, free: 4.188 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000693/0.1487, allocations: 0.8173 MB / 318.1 MB, free: 3.297 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.222e-06/0.1487, allocations: 7.938 kB / 318.1 MB, free: 3.289 MB / 266.7 MB Notification: Performance of matching and sorting (n=172) (initialization): time 0.001326/0.15, allocations: 0.9654 MB / 319.1 MB, free: 2.383 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.773e-05/0.15, allocations: 8 kB / 319.1 MB, free: 2.375 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.198e-05/0.15, allocations: 12 kB / 319.1 MB, free: 2.363 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006711/0.1507, allocations: 282.2 kB / 319.4 MB, free: 2.078 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006443/0.1513, allocations: 271.7 kB / 319.7 MB, free: 1.832 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003395/0.1547, allocations: 4.795 MB / 324.5 MB, free: 12.86 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000531/0.1553, allocations: 51.97 kB / 324.5 MB, free: 12.8 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.335e-05/0.1553, allocations: 44 kB / 324.6 MB, free: 12.76 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.0004012/0.1557, allocations: 204.7 kB / 324.8 MB, free: 12.57 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002057/0.1559, allocations: 115.9 kB / 324.9 MB, free: 12.46 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001311/0.1572, allocations: 0.8361 MB / 325.7 MB, free: 11.61 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.999e-06/0.1573, allocations: 15.94 kB / 325.7 MB, free: 11.59 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.38e-06/0.1573, allocations: 4 kB / 325.7 MB, free: 11.59 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.668e-06/0.1573, allocations: 11.53 kB / 325.7 MB, free: 11.58 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002915/0.1602, allocations: 1.968 MB / 327.7 MB, free: 9.73 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.391e-06/0.1602, allocations: 4 kB / 327.7 MB, free: 9.727 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004938/0.1607, allocations: 158.4 kB / 327.9 MB, free: 9.582 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008484/0.1615, allocations: 355.2 kB / 328.2 MB, free: 9.223 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.252e-05/0.1616, allocations: 31.98 kB / 328.2 MB, free: 9.191 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004097/0.1657, allocations: 6 MB / 334.2 MB, free: 2.914 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.235e-06/0.1657, allocations: 4 kB / 334.2 MB, free: 2.91 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00162/0.1673, allocations: 1.206 MB / 335.4 MB, free: 1.68 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003355/0.1677, allocations: 182.2 kB / 335.6 MB, free: 1.504 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001404/0.1678, allocations: 31.94 kB / 335.7 MB, free: 1.473 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000413/0.1682, allocations: 44.09 kB / 335.7 MB, free: 1.43 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001514/0.1684, allocations: 88.83 kB / 335.8 MB, free: 1.34 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.254e-05/0.1684, allocations: 20 kB / 335.8 MB, free: 1.32 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0004291/0.1688, allocations: 439 kB / 336.2 MB, free: 0.9336 MB / 282.7 MB Notification: Performance of sort global known variables: time 9e-08/0.1688, allocations: 7.594 kB / 336.2 MB, free: 0.9297 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.001274/0.1701, allocations: 431.9 kB / 336.7 MB, free: 0.5078 MB / 282.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.0002718/0.1704, allocations: 166.6 kB / 336.8 MB, free: 352 kB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.001396/0.1718, allocations: 1.13 MB / 338 MB, free: 15.24 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.213e-05/0.1718, allocations: 16.5 kB / 338 MB, free: 15.22 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001192/0.173, allocations: 0.9315 MB / 338.9 MB, free: 14.27 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001087/0.1741, allocations: 363.3 kB / 339.3 MB, free: 13.93 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004343/0.1784, allocations: 3.27 MB / 342.5 MB, free: 10.62 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000416/0.1788, allocations: 444 kB / 343 MB, free: 10.16 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.000486/0.1793, allocations: 175.9 kB / 343.1 MB, free: 9.984 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006709/0.18, allocations: 357.1 kB / 343.5 MB, free: 9.633 MB / 298.7 MB Notification: Performance of SimCode: time 7.41e-07/0.18, allocations: 0 / 343.5 MB, free: 9.633 MB / 298.7 MB Notification: Performance of Templates: time 0.02761/0.2076, allocations: 23.7 MB / 367.2 MB, free: 2.398 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Steinmetz.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Steinmetz.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Steinmetz.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Steinmetz.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Steinmetz.sim & ./Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Steinmetz -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Steinmetz.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_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.210714729037136]