Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_withLosses.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.001135/0.001135, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001653/0.002788, allocations: 449.7 kB / 10.37 MB, free: 328 kB / 10.45 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.001048/0.001048, allocations: 169.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001354/0.002402, allocations: 455.6 kB / 11.71 MB, free: 2.461 MB / 13.93 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.8963/0.8963, allocations: 177.2 MB / 189.6 MB, free: 5.324 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.07866/0.975, allocations: 53.66 MB / 243.3 MB, free: 15.59 MB / 250.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_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_4.1.0_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_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_withLosses") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.162e-06/1.162e-06, allocations: 0 / 244.6 MB, free: 14.3 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.057e-05/1.173e-05, allocations: 6.25 kB / 244.6 MB, free: 14.3 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_withLosses): time 0.00716/0.007171, allocations: 9.521 MB / 254.1 MB, free: 4.727 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.003993/0.01116, allocations: 3.824 MB / 257.9 MB, free: 0.8867 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004241/0.01159, allocations: 59.62 kB / 258 MB, free: 0.8281 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000913/0.0125, allocations: 0.683 MB / 258.6 MB, free: 144 kB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001076/0.01358, allocations: 0.9431 MB / 259.6 MB, free: 15.19 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004925/0.01407, allocations: 486.9 kB / 260.1 MB, free: 14.71 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.001847/0.01592, allocations: 2.762 MB / 262.8 MB, free: 11.94 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008566/0.01678, allocations: 1.105 MB / 263.9 MB, free: 10.76 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001648/0.01842, allocations: 2.191 MB / 266.1 MB, free: 8.551 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009864/0.01941, allocations: 1.34 MB / 267.5 MB, free: 7.207 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002357/0.01965, allocations: 299.9 kB / 267.8 MB, free: 6.914 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005616/0.02021, allocations: 0.5424 MB / 268.3 MB, free: 6.371 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000526/0.02073, allocations: 0.8844 MB / 269.2 MB, free: 5.484 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0008469/0.02158, allocations: 0.7991 MB / 270 MB, free: 4.684 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001586/0.02317, allocations: 2.312 MB / 272.3 MB, free: 2.363 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.141e-05/0.02318, allocations: 0 / 272.3 MB, free: 2.363 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.082e-06/0.02318, allocations: 4 kB / 272.3 MB, free: 2.359 MB / 266.7 MB Notification: Performance of Transformations before backend: time 3.063e-05/0.02321, allocations: 0 / 272.3 MB, free: 2.359 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.1022/0.1254, allocations: 3.5 MB / 275.8 MB, free: 19.13 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.552e-05/0.1254, allocations: 10.7 kB / 275.8 MB, free: 19.13 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009207/0.1264, allocations: 496.8 kB / 276.3 MB, free: 19.04 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001751/0.1281, allocations: 1.201 MB / 277.5 MB, free: 18.59 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.32e-05/0.1282, allocations: 157.2 kB / 277.6 MB, free: 18.58 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002207/0.1284, allocations: 208.7 kB / 277.8 MB, free: 18.58 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001912/0.1303, allocations: 1.564 MB / 279.4 MB, free: 18.24 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.617e-05/0.1304, allocations: 10.22 kB / 279.4 MB, free: 18.24 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001078/0.1305, allocations: 80.59 kB / 279.5 MB, free: 18.24 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.739e-05/0.1306, allocations: 95.78 kB / 279.6 MB, free: 18.23 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009998/0.1316, allocations: 0.5975 MB / 280.2 MB, free: 18.18 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005552/0.1371, allocations: 4.899 MB / 285.1 MB, free: 16.44 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009807/0.1381, allocations: 0.7113 MB / 285.8 MB, free: 16.22 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007037/0.1388, allocations: 484.5 kB / 286.3 MB, free: 16.17 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001419/0.139, allocations: 48.64 kB / 286.3 MB, free: 16.16 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.654e-05/0.139, allocations: 45.16 kB / 286.4 MB, free: 16.11 MB / 266.7 MB Notification: Performance of pre-optimization done (n=116): time 2.926e-06/0.139, allocations: 0 / 286.4 MB, free: 16.11 MB / 266.7 MB Notification: Performance of matching and sorting (n=132): time 0.004389/0.1434, allocations: 2.783 MB / 289.2 MB, free: 15.42 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.382e-05/0.1434, allocations: 74.44 kB / 289.2 MB, free: 15.35 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008591/0.1443, allocations: 1.41 MB / 290.6 MB, free: 15.06 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 5.607e-05/0.1443, allocations: 51.7 kB / 290.7 MB, free: 15.01 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002475/0.1446, allocations: 0.8511 MB / 291.5 MB, free: 14.49 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001697/0.1447, allocations: 480.7 kB / 292 MB, free: 14.14 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002193/0.145, allocations: 230.7 kB / 292.2 MB, free: 14.05 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 4.935e-05/0.145, allocations: 361 kB / 292.6 MB, free: 13.74 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002249/0.1452, allocations: 172.1 kB / 292.8 MB, free: 13.72 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002657/0.1455, allocations: 418.6 kB / 293.2 MB, free: 13.47 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005636/0.1461, allocations: 0.7178 MB / 293.9 MB, free: 13.12 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.348e-06/0.1461, allocations: 4 kB / 293.9 MB, free: 13.12 MB / 266.7 MB Notification: Performance of matching and sorting (n=172) (initialization): time 0.001235/0.1473, allocations: 1.057 MB / 294.9 MB, free: 12.25 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.686e-05/0.1473, allocations: 8 kB / 294.9 MB, free: 12.25 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.217e-06/0.1473, allocations: 4 kB / 295 MB, free: 12.24 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009488/0.1483, allocations: 0.522 MB / 295.5 MB, free: 11.73 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005791/0.1489, allocations: 286.9 kB / 295.8 MB, free: 11.46 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003187/0.152, allocations: 4.649 MB / 300.4 MB, free: 6.73 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004287/0.1525, allocations: 46.83 kB / 300.4 MB, free: 6.688 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.022e-05/0.1525, allocations: 43.98 kB / 300.5 MB, free: 6.645 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.0002896/0.1528, allocations: 182.7 kB / 300.7 MB, free: 6.469 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001875/0.153, allocations: 151.8 kB / 300.8 MB, free: 6.32 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001087/0.1541, allocations: 1.006 MB / 301.8 MB, free: 5.316 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.436e-05/0.1541, allocations: 19.98 kB / 301.8 MB, free: 5.297 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.13e-06/0.1541, allocations: 4 kB / 301.8 MB, free: 5.293 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.898e-06/0.1541, allocations: 7.984 kB / 301.9 MB, free: 5.285 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002481/0.1566, allocations: 2.267 MB / 304.1 MB, free: 3.172 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.908e-06/0.1566, allocations: 0 / 304.1 MB, free: 3.172 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005103/0.1571, allocations: 225.6 kB / 304.3 MB, free: 2.961 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002879/0.1574, allocations: 238.5 kB / 304.6 MB, free: 2.73 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008179/0.1582, allocations: 476.3 kB / 305 MB, free: 2.262 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.578e-05/0.1583, allocations: 27.98 kB / 305.1 MB, free: 2.234 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003268/0.1616, allocations: 5.409 MB / 310.5 MB, free: 12.65 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.505e-06/0.1616, allocations: 0 / 310.5 MB, free: 12.65 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001488/0.163, allocations: 1.336 MB / 311.8 MB, free: 11.31 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001262/0.1632, allocations: 35.92 kB / 311.8 MB, free: 11.28 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003328/0.1635, allocations: 39.98 kB / 311.9 MB, free: 11.24 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001602/0.1637, allocations: 108.4 kB / 312 MB, free: 11.13 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.121e-05/0.1637, allocations: 35.98 kB / 312 MB, free: 11.1 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0004827/0.1642, allocations: 0.67 MB / 312.7 MB, free: 10.51 MB / 282.7 MB Notification: Performance of sort global known variables: time 4e-08/0.1642, allocations: 0 / 312.7 MB, free: 10.51 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0009384/0.1651, allocations: 0.5078 MB / 313.2 MB, free: 10 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.00117/0.1663, allocations: 0.5791 MB / 313.8 MB, free: 9.688 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.001257/0.1676, allocations: 1.172 MB / 315 MB, free: 8.52 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 3.814e-05/0.1676, allocations: 31.11 kB / 315 MB, free: 8.488 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008437/0.1684, allocations: 0.9135 MB / 315.9 MB, free: 7.555 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009404/0.1694, allocations: 0.5051 MB / 316.4 MB, free: 7.055 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01356/0.1829, allocations: 4.179 MB / 320.6 MB, free: 2.836 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004764/0.1834, allocations: 0.5823 MB / 321.2 MB, free: 2.223 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0004833/0.1839, allocations: 213.3 kB / 321.4 MB, free: 2.008 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005819/0.1845, allocations: 381.1 kB / 321.7 MB, free: 1.637 MB / 282.7 MB Notification: Performance of SimCode: time 8.91e-07/0.1845, allocations: 0 / 321.7 MB, free: 1.637 MB / 282.7 MB Notification: Performance of Templates: time 0.0341/0.2186, allocations: 29.56 MB / 351.3 MB, free: 4.504 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_withLosses.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_withLosses.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_withLosses.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_withLosses.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_withLosses.sim & ./Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_withLosses -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_withLosses.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_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.7307242890819907]