Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.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.0009228/0.0009228, allocations: 81.05 kB / 10.02 MB, free: 0.6719 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001101/0.002024, allocations: 453.8 kB / 10.46 MB, free: 236 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.0007333/0.0007333, allocations: 165.1 kB / 11.36 MB, free: 2.812 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001028/0.001761, allocations: 483.5 kB / 11.83 MB, free: 2.336 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.094/1.094, allocations: 158.6 MB / 171.2 MB, free: 2.508 MB / 170.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.2492/1.343, allocations: 49.5 MB / 220.7 MB, free: 1.352 MB / 218.7 MB " [Timeout remaining time 179] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses,tolerance=1e-06,outputFormat="mat",numberOfIntervals=100000,variableFilter="time|PIQS.x|imcQS.rotorCage.port_p.reference.gamma|loadInertiaQS.w|powerSensorQS.flange_a.phi",fileNamePrefix="Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses") translateModel(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses,tolerance=1e-06,outputFormat="mat",numberOfIntervals=100000,variableFilter="time|PIQS.x|imcQS.rotorCage.port_p.reference.gamma|loadInertiaQS.w|powerSensorQS.flange_a.phi",fileNamePrefix="Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.525e-06/2.525e-06, allocations: 0 / 222 MB, free: 8 kB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 4.168e-05/4.42e-05, allocations: 2.312 kB / 222 MB, free: 4 kB / 218.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses): time 0.0325/0.03254, allocations: 23.67 MB / 245.7 MB, free: 8.219 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0221/0.05464, allocations: 8.06 MB / 253.8 MB, free: 136 kB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.007164/0.0618, allocations: 183.2 kB / 254 MB, free: 15.95 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.01181/0.07361, allocations: 8.881 MB / 262.8 MB, free: 7.031 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.009759/0.08337, allocations: 3.146 MB / 266 MB, free: 3.867 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003888/0.08726, allocations: 1.804 MB / 267.8 MB, free: 2.059 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.01438/0.1016, allocations: 11.75 MB / 279.5 MB, free: 6.273 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.2267/0.3283, allocations: 14.6 MB / 294.1 MB, free: 5.129 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01462/0.3429, allocations: 9.451 MB / 303.6 MB, free: 5.043 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.009017/0.3519, allocations: 6.576 MB / 310.2 MB, free: 5.043 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.003757/0.3557, allocations: 1.721 MB / 311.9 MB, free: 5.043 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004525/0.3602, allocations: 2.147 MB / 314 MB, free: 5.043 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002153/0.3624, allocations: 2.878 MB / 316.9 MB, free: 5.043 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.004269/0.3666, allocations: 3.621 MB / 320.5 MB, free: 3.191 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01164/0.3783, allocations: 10.36 MB / 330.9 MB, free: 11.35 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.541e-05/0.3783, allocations: 0.625 kB / 330.9 MB, free: 11.35 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.784e-06/0.3783, allocations: 0 / 330.9 MB, free: 11.35 MB / 298.7 MB Notification: Performance of Transformations before backend: time 0.0007226/0.379, allocations: 4.938 kB / 330.9 MB, free: 11.34 MB / 298.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2742 * Number of variables: 2742 Notification: Performance of Generate backend data structure: time 0.03178/0.4108, allocations: 14.79 MB / 345.7 MB, free: 13.98 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.583e-05/0.4109, allocations: 8.031 kB / 345.7 MB, free: 13.97 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02226/0.4331, allocations: 7.221 MB / 352.9 MB, free: 7.02 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01031/0.4434, allocations: 3.34 MB / 356.2 MB, free: 3.895 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005583/0.444, allocations: 0.7394 MB / 357 MB, free: 3.164 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002104/0.4461, allocations: 0.9643 MB / 357.9 MB, free: 2.215 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01389/0.46, allocations: 8.131 MB / 366.1 MB, free: 10.43 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001536/0.4601, allocations: 10.45 kB / 366.1 MB, free: 10.42 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007536/0.4609, allocations: 409 kB / 366.5 MB, free: 10.03 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004621/0.4613, allocations: 0.5674 MB / 367.1 MB, free: 9.461 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007064/0.4684, allocations: 4.252 MB / 371.3 MB, free: 5.18 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05073/0.5191, allocations: 31.88 MB / 403.2 MB, free: 6.316 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007171/0.5263, allocations: 5.252 MB / 408.4 MB, free: 1.18 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001779/0.5281, allocations: 1.224 MB / 409.7 MB, free: 15.98 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.009735/0.5378, allocations: 4.958 MB / 414.6 MB, free: 11.21 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.331e-05/0.5379, allocations: 69.36 kB / 414.7 MB, free: 11.14 MB / 378.7 MB Notification: Performance of pre-optimization done (n=357): time 6.212e-06/0.5379, allocations: 4 kB / 414.7 MB, free: 11.13 MB / 378.7 MB Notification: Performance of matching and sorting (n=362): time 0.0186/0.5565, allocations: 8.775 MB / 423.5 MB, free: 2.426 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.584e-05/0.5566, allocations: 94.25 kB / 423.6 MB, free: 2.32 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.2037/0.7603, allocations: 3.488 MB / 427 MB, free: 86.2 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0009736/0.7613, allocations: 85.08 kB / 427.1 MB, free: 86.17 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002629/0.7639, allocations: 4.17 MB / 431.3 MB, free: 84.2 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001158/0.7651, allocations: 1.299 MB / 432.6 MB, free: 83.36 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001593/0.7667, allocations: 1.092 MB / 433.7 MB, free: 83.26 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 4.436e-05/0.7667, allocations: 302.1 kB / 434 MB, free: 82.96 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001467/0.7682, allocations: 0.8162 MB / 434.8 MB, free: 82.94 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002143/0.7703, allocations: 3.008 MB / 437.8 MB, free: 80.04 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00447/0.7748, allocations: 4.708 MB / 442.5 MB, free: 77.15 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.989e-05/0.7748, allocations: 22.94 kB / 442.5 MB, free: 77.15 MB / 378.7 MB Notification: Performance of matching and sorting (n=763) (initialization): time 0.005897/0.7807, allocations: 4.207 MB / 446.7 MB, free: 76.93 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.702e-05/0.7808, allocations: 39.44 kB / 446.8 MB, free: 76.93 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.438e-05/0.7809, allocations: 79.34 kB / 446.9 MB, free: 76.93 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002307/0.7832, allocations: 1.209 MB / 448.1 MB, free: 76.86 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002677/0.7859, allocations: 1.371 MB / 449.4 MB, free: 76.85 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006379/0.7922, allocations: 6.427 MB / 455.9 MB, free: 74.1 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003239/0.7955, allocations: 239.4 kB / 456.1 MB, free: 74.07 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000373/0.7959, allocations: 248.9 kB / 456.3 MB, free: 74.07 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 355 * 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 (689): * Single equations (assignments): 686 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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%), (14,54,45.4%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.003019/0.7989, allocations: 0.5075 MB / 456.9 MB, free: 73.91 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006865/0.7996, allocations: 363.3 kB / 457.2 MB, free: 73.91 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004263/0.8038, allocations: 2.832 MB / 460 MB, free: 73.62 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.002436/0.8063, allocations: 1.777 MB / 461.8 MB, free: 73.46 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.483e-05/0.8063, allocations: 13.59 kB / 461.8 MB, free: 73.46 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.418e-05/0.8063, allocations: 31.34 kB / 461.9 MB, free: 73.45 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01065/0.8169, allocations: 6.707 MB / 468.6 MB, free: 72.79 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.032e-05/0.8169, allocations: 3.844 kB / 468.6 MB, free: 72.79 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001494/0.8184, allocations: 0.6395 MB / 469.2 MB, free: 72.79 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001013/0.8195, allocations: 0.5243 MB / 469.7 MB, free: 72.54 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001895/0.8214, allocations: 1.083 MB / 470.8 MB, free: 72.46 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001613/0.8215, allocations: 79.27 kB / 470.9 MB, free: 72.46 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005758/0.8273, allocations: 6.05 MB / 476.9 MB, free: 69.75 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.231e-06/0.8273, allocations: 7.406 kB / 477 MB, free: 69.75 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004468/0.8317, allocations: 3.397 MB / 480.4 MB, free: 69.13 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000525/0.8323, allocations: 78.73 kB / 480.4 MB, free: 69.13 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009228/0.8332, allocations: 96.2 kB / 480.5 MB, free: 69.13 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000422/0.8336, allocations: 282.4 kB / 480.8 MB, free: 69.12 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001583/0.8338, allocations: 78.11 kB / 480.9 MB, free: 69.12 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.001779/0.8356, allocations: 1.658 MB / 482.5 MB, free: 68.98 MB / 378.7 MB Notification: Performance of sort global known variables: time 8e-08/0.8356, allocations: 6.406 kB / 482.5 MB, free: 68.97 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.00505/0.8406, allocations: 1.677 MB / 484.2 MB, free: 68.08 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 20 * Number of states: 4 (imcQS.inertiaRotor.w,imcQS.rotorCage.port_p.reference.gamma,loadInertiaQS.phi,PIQS.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 (333): * Single equations (assignments): 330 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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%), (14,54,43.9%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001484/0.8421, allocations: 0.6176 MB / 484.8 MB, free: 67.63 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.006194/0.8483, allocations: 3.589 MB / 488.4 MB, free: 65 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 0.0002017/0.8485, allocations: 114 kB / 488.5 MB, free: 64.88 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002993/0.8515, allocations: 2.356 MB / 490.9 MB, free: 63.23 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004044/0.8555, allocations: 7.454 MB / 498.3 MB, free: 55.16 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06155/0.9171, allocations: 15.15 MB / 0.5015 GB, free: 40.25 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002133/0.9192, allocations: 1.989 MB / 0.5034 GB, free: 38.23 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.002805/0.922, allocations: 0.7109 MB / 0.5041 GB, free: 37.52 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001599/0.9236, allocations: 0.8779 MB / 0.505 GB, free: 36.63 MB / 378.7 MB Notification: Performance of SimCode: time 2.956e-06/0.9236, allocations: 0 / 0.505 GB, free: 36.63 MB / 378.7 MB Notification: Performance of Templates: time 0.258/1.182, allocations: 70.17 MB / 0.5735 GB, free: 86.75 MB / 394.7 MB " [Timeout remaining time 659] make -j1 -f Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.pipe ; mkfifo Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.pipe >> ../files/Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.sim & ./Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Magnetic/QuasiStatic/FundamentalWave/Examples/BasicMachines/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: 6.136316180229187]