Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_withLosses.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.001134/0.001134, allocations: 80.11 kB / 9.934 MB, free: 0.75 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001504/0.002637, allocations: 449.7 kB / 10.37 MB, free: 320 kB / 10.45 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.0007277/0.0007277, allocations: 165.1 kB / 11.26 MB, free: 2.906 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009351/0.001663, allocations: 463.6 kB / 11.72 MB, free: 2.449 MB / 13.93 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.9214/0.9214, allocations: 177.4 MB / 189.9 MB, free: 4.828 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08056/1.002, allocations: 53.85 MB / 243.7 MB, free: 14.91 MB / 250.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_withLosses,tolerance=1e-06,outputFormat="mat",numberOfIntervals=50000,variableFilter="time|PI.x|aimc.is.[0-9,]+.|aimc.idq_rr.[0-9,]+.|aimc.idq_sr.[0-9,]+.|loadInertia.w|powerSensor.flange_a.phi",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_withLosses") translateModel(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_withLosses,tolerance=1e-06,outputFormat="mat",numberOfIntervals=50000,variableFilter="time|PI.x|aimc.is.[0-9,]+.|aimc.idq_rr.[0-9,]+.|aimc.idq_sr.[0-9,]+.|loadInertia.w|powerSensor.flange_a.phi",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_withLosses") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.052e-06/1.052e-06, allocations: 0 / 245.1 MB, free: 13.61 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.867e-05/1.972e-05, allocations: 2.312 kB / 245.1 MB, free: 13.61 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_withLosses): time 0.00738/0.0074, allocations: 9.525 MB / 254.6 MB, free: 4.031 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.004879/0.01228, allocations: 3.82 MB / 258.4 MB, free: 204 kB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005658/0.01284, allocations: 63.56 kB / 258.5 MB, free: 140 kB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0009875/0.01383, allocations: 0.6791 MB / 259.1 MB, free: 15.45 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001204/0.01504, allocations: 0.9548 MB / 260.1 MB, free: 14.49 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005655/0.0156, allocations: 478.9 kB / 260.6 MB, free: 14.02 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.001733/0.01733, allocations: 2.77 MB / 263.3 MB, free: 11.24 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009332/0.01827, allocations: 1.113 MB / 264.4 MB, free: 10.05 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001785/0.02005, allocations: 2.183 MB / 266.6 MB, free: 7.848 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009478/0.021, allocations: 1.344 MB / 268 MB, free: 6.5 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002298/0.02123, allocations: 296 kB / 268.3 MB, free: 6.211 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005742/0.0218, allocations: 0.5424 MB / 268.8 MB, free: 5.668 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0007474/0.02255, allocations: 0.8728 MB / 269.7 MB, free: 4.793 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0005977/0.02315, allocations: 0.8108 MB / 270.5 MB, free: 3.98 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00162/0.02477, allocations: 2.312 MB / 272.8 MB, free: 1.66 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.003e-05/0.02478, allocations: 0 / 272.8 MB, free: 1.66 MB / 266.7 MB Notification: Performance of FrontEnd: time 8.82e-07/0.02478, allocations: 0 / 272.8 MB, free: 1.66 MB / 266.7 MB Notification: Performance of Transformations before backend: time 2.37e-05/0.02481, allocations: 0 / 272.8 MB, free: 1.66 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: 524 * Number of variables: 524 Notification: Performance of Generate backend data structure: time 0.107/0.1318, allocations: 3.516 MB / 276.3 MB, free: 18.27 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.091e-05/0.1318, allocations: 8 kB / 276.3 MB, free: 18.27 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007982/0.1326, allocations: 494.6 kB / 276.8 MB, free: 18.18 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001419/0.1341, allocations: 1.208 MB / 278 MB, free: 17.81 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.512e-05/0.1341, allocations: 156.6 kB / 278.2 MB, free: 17.8 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001962/0.1343, allocations: 209.5 kB / 278.4 MB, free: 17.8 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00171/0.136, allocations: 1.561 MB / 279.9 MB, free: 17.47 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.907e-05/0.1361, allocations: 11.33 kB / 279.9 MB, free: 17.46 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001046/0.1362, allocations: 83.28 kB / 280 MB, free: 17.46 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.2e-05/0.1363, allocations: 101.4 kB / 280.1 MB, free: 17.46 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009/0.1372, allocations: 0.5969 MB / 280.7 MB, free: 17.41 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004852/0.142, allocations: 4.898 MB / 285.6 MB, free: 15.7 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008543/0.1429, allocations: 0.7111 MB / 286.3 MB, free: 15.47 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005545/0.1434, allocations: 486.9 kB / 286.8 MB, free: 15.42 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001172/0.1436, allocations: 48.09 kB / 286.9 MB, free: 15.41 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.078e-05/0.1436, allocations: 48.88 kB / 286.9 MB, free: 15.36 MB / 266.7 MB Notification: Performance of pre-optimization done (n=116): time 2.424e-06/0.1436, allocations: 4 kB / 286.9 MB, free: 15.36 MB / 266.7 MB Notification: Performance of matching and sorting (n=132): time 0.00379/0.1474, allocations: 2.773 MB / 289.7 MB, free: 14.71 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.986e-05/0.1474, allocations: 71.81 kB / 289.7 MB, free: 14.64 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007282/0.1481, allocations: 1.419 MB / 291.2 MB, free: 14.35 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 5.155e-05/0.1482, allocations: 47.33 kB / 291.2 MB, free: 14.3 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002214/0.1484, allocations: 0.8533 MB / 292.1 MB, free: 13.79 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001399/0.1485, allocations: 472.5 kB / 292.5 MB, free: 13.44 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000196/0.1487, allocations: 234.5 kB / 292.8 MB, free: 13.34 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 4.143e-05/0.1488, allocations: 365 kB / 293.1 MB, free: 13.04 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000201/0.149, allocations: 175.3 kB / 293.3 MB, free: 13.02 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002349/0.1492, allocations: 418.6 kB / 293.7 MB, free: 12.65 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004828/0.1497, allocations: 0.7119 MB / 294.4 MB, free: 11.91 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.377e-06/0.1497, allocations: 4 kB / 294.4 MB, free: 11.91 MB / 266.7 MB Notification: Performance of matching and sorting (n=172) (initialization): time 0.001104/0.1508, allocations: 1.06 MB / 295.5 MB, free: 10.9 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.424e-05/0.1508, allocations: 8 kB / 295.5 MB, free: 10.89 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.594e-06/0.1508, allocations: 4 kB / 295.5 MB, free: 10.89 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008813/0.1517, allocations: 0.5234 MB / 296 MB, free: 10.38 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005461/0.1522, allocations: 289.2 kB / 296.3 MB, free: 10.11 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002951/0.1552, allocations: 4.64 MB / 300.9 MB, free: 5.391 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003472/0.1555, allocations: 43.97 kB / 301 MB, free: 5.348 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.071e-05/0.1556, allocations: 43.98 kB / 301 MB, free: 5.305 MB / 266.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 29 * 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 (126): * Single equations (assignments): 122 * Array equations: 2 * 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,6,100.0%), (5,34,92.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002594/0.1559, allocations: 188.9 kB / 301.2 MB, free: 5.125 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001748/0.156, allocations: 158.5 kB / 301.4 MB, free: 4.973 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001005/0.157, allocations: 0.9979 MB / 302.4 MB, free: 3.973 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.278e-05/0.1571, allocations: 16 kB / 302.4 MB, free: 3.957 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.168e-06/0.1571, allocations: 4 kB / 302.4 MB, free: 3.953 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.066e-06/0.1571, allocations: 11.97 kB / 302.4 MB, free: 3.941 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002249/0.1593, allocations: 2.268 MB / 304.7 MB, free: 1.828 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.217e-06/0.1593, allocations: 0 / 304.7 MB, free: 1.828 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004741/0.1598, allocations: 219.2 kB / 304.9 MB, free: 1.625 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002578/0.16, allocations: 240.8 kB / 305.1 MB, free: 1.391 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007433/0.1608, allocations: 471.3 kB / 305.6 MB, free: 0.9219 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.241e-05/0.1608, allocations: 35.8 kB / 305.6 MB, free: 0.8906 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0032/0.164, allocations: 5.405 MB / 311 MB, free: 11.31 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.314e-06/0.164, allocations: 0 / 311 MB, free: 11.31 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001441/0.1655, allocations: 1.349 MB / 312.4 MB, free: 9.938 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000125/0.1656, allocations: 28 kB / 312.4 MB, free: 9.91 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003345/0.1659, allocations: 48.03 kB / 312.4 MB, free: 9.863 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001532/0.1661, allocations: 108.8 kB / 312.5 MB, free: 9.754 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.176e-05/0.1662, allocations: 39.69 kB / 312.6 MB, free: 9.719 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0004778/0.1666, allocations: 0.6774 MB / 313.2 MB, free: 9.125 MB / 282.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.1666, allocations: 0 / 313.2 MB, free: 9.125 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0008771/0.1675, allocations: 0.5078 MB / 313.8 MB, free: 8.617 MB / 282.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 8 (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,PI.x) * 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 (97): * Single equations (assignments): 91 * Array equations: 2 * 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,6,100.0%), (2,13,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001118/0.1686, allocations: 0.5534 MB / 314.3 MB, free: 8.316 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.001206/0.1698, allocations: 1.177 MB / 315.5 MB, free: 7.145 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 3.665e-05/0.1699, allocations: 35.11 kB / 315.5 MB, free: 7.109 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008393/0.1707, allocations: 0.9088 MB / 316.4 MB, free: 6.18 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008913/0.1716, allocations: 0.5144 MB / 316.9 MB, free: 5.672 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0155/0.1871, allocations: 4.174 MB / 321.1 MB, free: 1.457 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005938/0.1877, allocations: 0.5785 MB / 321.7 MB, free: 0.8477 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0006857/0.1884, allocations: 213.4 kB / 321.9 MB, free: 0.6328 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006003/0.189, allocations: 381.1 kB / 322.3 MB, free: 268 kB / 282.7 MB Notification: Performance of SimCode: time 2.094e-06/0.189, allocations: 0 / 322.3 MB, free: 268 kB / 282.7 MB Notification: Performance of Templates: time 0.03619/0.2252, allocations: 29.56 MB / 351.8 MB, free: 3.09 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_withLosses.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_withLosses.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_withLosses.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_withLosses.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_withLosses.sim & ./Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_withLosses -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_withLosses.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_withLosses_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Machines/Examples/InductionMachines/IMC_withLosses/IMC_withLosses.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.6339081479236484]