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.00119/0.00119, allocations: 77.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001822/0.003012, allocations: 449.8 kB / 10.44 MB, free: 252 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.001228/0.001228, allocations: 165.1 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001625/0.002853, allocations: 479.5 kB / 11.83 MB, free: 2.344 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.9652/0.9652, allocations: 177.2 MB / 189.8 MB, free: 5.254 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09513/1.06, allocations: 53.66 MB / 243.4 MB, free: 15.51 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.453e-06/1.453e-06, allocations: 0 / 244.7 MB, free: 14.2 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.013e-05/2.158e-05, allocations: 2.312 kB / 244.7 MB, free: 14.19 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_withLosses): time 0.00838/0.008401, allocations: 9.521 MB / 254.3 MB, free: 4.621 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.00673/0.01513, allocations: 3.828 MB / 258.1 MB, free: 0.7812 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001459/0.01659, allocations: 59.62 kB / 258.2 MB, free: 0.7227 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001553/0.01814, allocations: 0.6868 MB / 258.8 MB, free: 32 kB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002309/0.02045, allocations: 0.9391 MB / 259.8 MB, free: 15.09 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009862/0.02144, allocations: 490.8 kB / 260.3 MB, free: 14.61 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.002907/0.02435, allocations: 2.762 MB / 263 MB, free: 11.83 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001259/0.0256, allocations: 1.109 MB / 264.1 MB, free: 10.65 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002957/0.02856, allocations: 2.195 MB / 266.3 MB, free: 8.434 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001812/0.03037, allocations: 1.333 MB / 267.7 MB, free: 7.098 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0006703/0.03104, allocations: 300 kB / 268 MB, free: 6.805 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001038/0.03208, allocations: 0.5462 MB / 268.5 MB, free: 6.258 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0006645/0.03275, allocations: 0.8728 MB / 269.4 MB, free: 5.383 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0008392/0.03358, allocations: 0.803 MB / 270.2 MB, free: 4.578 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002069/0.03565, allocations: 2.316 MB / 272.5 MB, free: 2.254 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 9.908e-06/0.03566, allocations: 0 / 272.5 MB, free: 2.254 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.233e-06/0.03566, allocations: 0 / 272.5 MB, free: 2.254 MB / 266.7 MB Notification: Performance of Transformations before backend: time 4.859e-05/0.03571, allocations: 0 / 272.5 MB, free: 2.254 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.1177/0.1535, allocations: 3.503 MB / 276 MB, free: 12.52 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.172e-05/0.1535, allocations: 10.98 kB / 276 MB, free: 12.52 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008421/0.1543, allocations: 499.8 kB / 276.5 MB, free: 12.43 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001733/0.1561, allocations: 1.201 MB / 277.7 MB, free: 11.96 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.053e-05/0.1562, allocations: 152.9 kB / 277.8 MB, free: 11.95 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002211/0.1564, allocations: 206.4 kB / 278 MB, free: 11.95 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002017/0.1584, allocations: 1.566 MB / 279.6 MB, free: 11.61 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.347e-05/0.1584, allocations: 12.02 kB / 279.6 MB, free: 11.61 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001127/0.1586, allocations: 86.73 kB / 279.7 MB, free: 11.61 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.602e-05/0.1587, allocations: 94.06 kB / 279.8 MB, free: 11.61 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001084/0.1597, allocations: 0.601 MB / 280.4 MB, free: 11.55 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00628/0.166, allocations: 4.894 MB / 285.3 MB, free: 9.871 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001145/0.1672, allocations: 0.7168 MB / 286 MB, free: 9.773 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000739/0.1679, allocations: 482.6 kB / 286.5 MB, free: 9.762 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001679/0.1681, allocations: 51.28 kB / 286.5 MB, free: 9.762 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.599e-05/0.1681, allocations: 49.56 kB / 286.6 MB, free: 9.719 MB / 266.7 MB Notification: Performance of pre-optimization done (n=116): time 2.966e-06/0.1681, allocations: 0 / 286.6 MB, free: 9.719 MB / 266.7 MB Notification: Performance of matching and sorting (n=132): time 0.005103/0.1732, allocations: 2.812 MB / 289.4 MB, free: 9.211 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.354e-05/0.1732, allocations: 68.14 kB / 289.5 MB, free: 9.148 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001113/0.1743, allocations: 1.409 MB / 290.9 MB, free: 8.949 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 6.779e-05/0.1744, allocations: 55.11 kB / 290.9 MB, free: 8.914 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002664/0.1747, allocations: 0.8489 MB / 291.8 MB, free: 8.395 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001833/0.1749, allocations: 478.8 kB / 292.2 MB, free: 8.043 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002173/0.1751, allocations: 226.8 kB / 292.5 MB, free: 7.953 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 5.225e-05/0.1751, allocations: 371.6 kB / 292.8 MB, free: 7.645 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002278/0.1754, allocations: 174.1 kB / 293 MB, free: 7.625 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002832/0.1756, allocations: 423.5 kB / 293.4 MB, free: 7.367 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006036/0.1762, allocations: 0.7293 MB / 294.1 MB, free: 7.09 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.819e-06/0.1763, allocations: 3.406 kB / 294.1 MB, free: 7.09 MB / 266.7 MB Notification: Performance of matching and sorting (n=172) (initialization): time 0.001356/0.1776, allocations: 1.053 MB / 295.2 MB, free: 6.926 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.87e-05/0.1776, allocations: 8.219 kB / 295.2 MB, free: 6.926 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.199e-05/0.1776, allocations: 10.41 kB / 295.2 MB, free: 6.922 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001022/0.1787, allocations: 0.5266 MB / 295.7 MB, free: 6.836 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006015/0.1793, allocations: 290.3 kB / 296 MB, free: 6.633 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003301/0.1826, allocations: 4.647 MB / 300.7 MB, free: 1.973 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007647/0.1833, allocations: 43.92 kB / 300.7 MB, free: 1.93 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.663e-05/0.1834, allocations: 41.48 kB / 300.7 MB, free: 1.891 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.0004877/0.1839, allocations: 185.2 kB / 300.9 MB, free: 1.711 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002744/0.1842, allocations: 154.5 kB / 301.1 MB, free: 1.562 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001182/0.1854, allocations: 1.003 MB / 302.1 MB, free: 0.5625 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.605e-05/0.1854, allocations: 12.12 kB / 302.1 MB, free: 0.5508 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.961e-06/0.1854, allocations: 12.77 kB / 302.1 MB, free: 0.5391 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.438e-06/0.1854, allocations: 7.969 kB / 302.1 MB, free: 0.5312 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003259/0.1886, allocations: 2.264 MB / 304.4 MB, free: 14.42 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.094e-06/0.1886, allocations: 4.156 kB / 304.4 MB, free: 14.41 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005523/0.1892, allocations: 226.4 kB / 304.6 MB, free: 14.2 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004571/0.1897, allocations: 235.3 kB / 304.8 MB, free: 13.97 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009892/0.1906, allocations: 476.9 kB / 305.3 MB, free: 13.5 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.025e-05/0.1907, allocations: 27.98 kB / 305.3 MB, free: 13.47 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003656/0.1944, allocations: 5.404 MB / 310.7 MB, free: 7.895 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.619e-06/0.1944, allocations: 0 / 310.7 MB, free: 7.895 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001844/0.1962, allocations: 1.357 MB / 312.1 MB, free: 6.535 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002272/0.1964, allocations: 39.31 kB / 312.1 MB, free: 6.5 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004241/0.1969, allocations: 43.98 kB / 312.2 MB, free: 6.457 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001972/0.1971, allocations: 108.5 kB / 312.3 MB, free: 6.352 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.534e-05/0.1971, allocations: 27.98 kB / 312.3 MB, free: 6.324 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0006309/0.1978, allocations: 0.6747 MB / 313 MB, free: 5.734 MB / 282.7 MB Notification: Performance of sort global known variables: time 2.21e-07/0.1978, allocations: 0 / 313 MB, free: 5.734 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.001355/0.1991, allocations: 0.5038 MB / 313.5 MB, free: 5.23 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.001341/0.2005, allocations: 0.5841 MB / 314.1 MB, free: 4.922 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.001596/0.202, allocations: 1.189 MB / 315.3 MB, free: 3.766 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 5.215e-05/0.2021, allocations: 35.06 kB / 315.3 MB, free: 3.73 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001058/0.2032, allocations: 0.9831 MB / 316.3 MB, free: 2.75 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002145/0.2053, allocations: 3.5 MB / 319.8 MB, free: 14.57 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01449/0.2198, allocations: 4.157 MB / 323.9 MB, free: 10.39 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005386/0.2203, allocations: 0.5824 MB / 324.5 MB, free: 9.773 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0006911/0.221, allocations: 209.6 kB / 324.7 MB, free: 9.562 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006319/0.2217, allocations: 389.1 kB / 325.1 MB, free: 9.18 MB / 298.7 MB Notification: Performance of SimCode: time 1.663e-06/0.2217, allocations: 4 kB / 325.1 MB, free: 9.176 MB / 298.7 MB Notification: Performance of Templates: time 0.03711/0.2588, allocations: 29.86 MB / 355 MB, free: 11.77 MB / 330.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,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.769697136245668]