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.001125/0.001125, allocations: 79.69 kB / 21.7 MB, free: 2.852 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.004262/0.004262, allocations: 160 kB / 24.99 MB, free: 8.801 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 0.9555/0.9555, allocations: 177 MB / 205.2 MB, free: 5.617 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.452e-06/1.452e-06, allocations: 0 / 273 MB, free: 1.77 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.605e-05/1.75e-05, allocations: 2.312 kB / 273 MB, free: 1.766 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Steinmetz): time 0.007757/0.007774, allocations: 9.671 MB / 282.7 MB, free: 8.043 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.00457/0.01234, allocations: 3.038 MB / 285.7 MB, free: 4.996 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007526/0.0131, allocations: 63.62 kB / 285.8 MB, free: 4.934 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00117/0.01427, allocations: 0.6208 MB / 286.4 MB, free: 4.309 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001496/0.01576, allocations: 0.8303 MB / 287.2 MB, free: 3.473 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005968/0.01636, allocations: 395.2 kB / 287.6 MB, free: 3.086 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.002077/0.01844, allocations: 2.532 MB / 290.1 MB, free: 0.5391 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.1073/0.1257, allocations: 1.005 MB / 291.2 MB, free: 15.71 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00207/0.1278, allocations: 1.633 MB / 292.8 MB, free: 15.71 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001688/0.1295, allocations: 1.201 MB / 294 MB, free: 15.71 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0005716/0.1301, allocations: 279.2 kB / 294.3 MB, free: 15.71 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006739/0.1307, allocations: 380 kB / 294.6 MB, free: 15.71 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0006439/0.1314, allocations: 0.8126 MB / 295.4 MB, free: 15.71 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001351/0.1327, allocations: 0.8891 MB / 296.3 MB, free: 15.71 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002508/0.1352, allocations: 2.041 MB / 298.4 MB, free: 15.54 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.55e-06/0.1352, allocations: 0.5312 kB / 298.4 MB, free: 15.54 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.132e-06/0.1352, allocations: 0 / 298.4 MB, free: 15.54 MB / 266.7 MB Notification: Performance of Transformations before backend: time 7.514e-05/0.1353, allocations: 1.781 kB / 298.4 MB, free: 15.54 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.003824/0.1391, allocations: 2.728 MB / 301.1 MB, free: 14.29 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.743e-05/0.1392, allocations: 13.58 kB / 301.1 MB, free: 14.29 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007373/0.1399, allocations: 448.9 kB / 301.6 MB, free: 14.09 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001404/0.1413, allocations: 1.275 MB / 302.8 MB, free: 13.41 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.969e-05/0.1414, allocations: 147.1 kB / 303 MB, free: 13.35 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002001/0.1416, allocations: 195.1 kB / 303.2 MB, free: 13.29 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001985/0.1436, allocations: 1.553 MB / 304.7 MB, free: 12.62 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.385e-05/0.1436, allocations: 7.922 kB / 304.7 MB, free: 12.62 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001209/0.1438, allocations: 84.12 kB / 304.8 MB, free: 12.56 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.438e-05/0.1438, allocations: 88.72 kB / 304.9 MB, free: 12.55 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001191/0.145, allocations: 0.7084 MB / 305.6 MB, free: 12.45 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005213/0.1502, allocations: 6.614 MB / 312.2 MB, free: 8.043 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006828/0.1509, allocations: 0.5992 MB / 312.8 MB, free: 7.789 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007581/0.1517, allocations: 0.5974 MB / 313.4 MB, free: 7.52 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001315/0.1518, allocations: 48.97 kB / 313.5 MB, free: 7.473 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.284e-05/0.1518, allocations: 50.38 kB / 313.5 MB, free: 7.414 MB / 266.7 MB Notification: Performance of pre-optimization done (n=95): time 1.993e-06/0.1518, allocations: 0 / 313.5 MB, free: 7.414 MB / 266.7 MB Notification: Performance of matching and sorting (n=111): time 0.004527/0.1563, allocations: 3.205 MB / 316.7 MB, free: 4.199 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.135e-05/0.1564, allocations: 68.41 kB / 316.8 MB, free: 4.121 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009074/0.1573, allocations: 1.077 MB / 317.9 MB, free: 3.031 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 6.315e-05/0.1573, allocations: 45.7 kB / 317.9 MB, free: 2.98 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003355/0.1577, allocations: 1.018 MB / 318.9 MB, free: 1.953 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001557/0.1578, allocations: 418.7 kB / 319.3 MB, free: 1.551 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002194/0.158, allocations: 253.2 kB / 319.6 MB, free: 1.297 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 6.946e-05/0.1581, allocations: 0.5394 MB / 320.1 MB, free: 0.75 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003256/0.1584, allocations: 229 kB / 320.3 MB, free: 0.5273 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00051/0.159, allocations: 0.7261 MB / 321.1 MB, free: 15.6 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001025/0.16, allocations: 1.058 MB / 322.1 MB, free: 14.38 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.32e-06/0.16, allocations: 4 kB / 322.1 MB, free: 14.38 MB / 282.7 MB Notification: Performance of matching and sorting (n=172) (initialization): time 0.001702/0.1617, allocations: 1.317 MB / 323.4 MB, free: 13.11 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.93e-05/0.1617, allocations: 15.12 kB / 323.5 MB, free: 13.1 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.362e-05/0.1617, allocations: 12 kB / 323.5 MB, free: 13.09 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006789/0.1624, allocations: 285.9 kB / 323.8 MB, free: 12.79 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006029/0.163, allocations: 308.1 kB / 324.1 MB, free: 12.51 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00375/0.1667, allocations: 6.738 MB / 330.8 MB, free: 5.465 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004744/0.1672, allocations: 82.81 kB / 330.9 MB, free: 5.387 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.173e-05/0.1673, allocations: 59.98 kB / 330.9 MB, free: 5.328 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.0003305/0.1676, allocations: 242.8 kB / 331.2 MB, free: 5.098 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002064/0.1678, allocations: 179.1 kB / 331.3 MB, free: 4.922 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001459/0.1693, allocations: 1.07 MB / 332.4 MB, free: 3.832 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.061e-06/0.1693, allocations: 15.84 kB / 332.4 MB, free: 3.82 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.932e-06/0.1693, allocations: 4 kB / 332.4 MB, free: 3.816 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.476e-06/0.1693, allocations: 7.969 kB / 332.4 MB, free: 3.809 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003361/0.1727, allocations: 2.746 MB / 335.2 MB, free: 1.035 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.941e-06/0.1727, allocations: 7.969 kB / 335.2 MB, free: 1.027 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004456/0.1731, allocations: 187.4 kB / 335.4 MB, free: 0.8516 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007987/0.1739, allocations: 359.4 kB / 335.7 MB, free: 496 kB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.975e-05/0.174, allocations: 27.98 kB / 335.8 MB, free: 468 kB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004499/0.1785, allocations: 8.552 MB / 344.3 MB, free: 7.461 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.976e-06/0.1785, allocations: 7.938 kB / 344.3 MB, free: 7.453 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001898/0.1804, allocations: 1.549 MB / 345.9 MB, free: 5.852 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003455/0.1807, allocations: 263 kB / 346.1 MB, free: 5.594 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001143/0.1808, allocations: 28 kB / 346.1 MB, free: 5.566 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000376/0.1812, allocations: 63.92 kB / 346.2 MB, free: 5.504 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001694/0.1814, allocations: 96.61 kB / 346.3 MB, free: 5.414 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.606e-05/0.1814, allocations: 31.98 kB / 346.3 MB, free: 5.383 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0006138/0.182, allocations: 0.6386 MB / 347 MB, free: 4.738 MB / 298.7 MB Notification: Performance of sort global known variables: time 3e-08/0.182, allocations: 0 / 347 MB, free: 4.738 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.001037/0.1831, allocations: 435.9 kB / 347.4 MB, free: 4.312 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%), (2,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002669/0.1834, allocations: 183.1 kB / 347.6 MB, free: 4.133 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.001592/0.1849, allocations: 1.492 MB / 349.1 MB, free: 2.621 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.504e-06/0.1849, allocations: 0 / 349.1 MB, free: 2.621 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001073/0.186, allocations: 1.3 MB / 350.4 MB, free: 1.262 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009775/0.187, allocations: 374 kB / 350.7 MB, free: 0.9141 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004406/0.1914, allocations: 3.496 MB / 354.2 MB, free: 13.35 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004133/0.1918, allocations: 500 kB / 354.7 MB, free: 12.84 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0005289/0.1923, allocations: 255.8 kB / 355 MB, free: 12.58 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001891/0.1925, allocations: 95.86 kB / 355.1 MB, free: 12.49 MB / 314.7 MB Notification: Performance of SimCode: time 8.52e-07/0.1925, allocations: 0 / 355.1 MB, free: 12.49 MB / 314.7 MB Notification: Performance of Templates: time 0.0263/0.2188, allocations: 22.97 MB / 378 MB, free: 5.934 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.461442389059812]