Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Thermal.HeatTransfer.Examples.Motor.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009937/0.0009937, allocations: 80.72 kB / 22.21 MB, free: 2.293 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001685/0.001685, allocations: 140.4 kB / 25.59 MB, free: 8.906 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.003/1.003, allocations: 173.4 MB / 202.3 MB, free: 8.293 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Thermal.HeatTransfer.Examples.Motor,tolerance=1e-06,outputFormat="mat",numberOfIntervals=720000,variableFilter="time|core.T|winding.T",fileNamePrefix="Modelica_4.0.0_Modelica.Thermal.HeatTransfer.Examples.Motor") translateModel(Modelica.Thermal.HeatTransfer.Examples.Motor,tolerance=1e-06,outputFormat="mat",numberOfIntervals=720000,variableFilter="time|core.T|winding.T",fileNamePrefix="Modelica_4.0.0_Modelica.Thermal.HeatTransfer.Examples.Motor") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.092e-06/1.092e-06, allocations: 0 / 269.2 MB, free: 9.797 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.792e-05/1.902e-05, allocations: 2.312 kB / 269.2 MB, free: 9.793 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.HeatTransfer.Examples.Motor): time 0.002477/0.002496, allocations: 2.258 MB / 271.4 MB, free: 7.539 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001191/0.003687, allocations: 1.04 MB / 272.5 MB, free: 6.496 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.239e-05/0.00378, allocations: 5.344 kB / 272.5 MB, free: 6.492 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003181/0.004098, allocations: 91.44 kB / 272.6 MB, free: 6.402 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002414/0.004339, allocations: 132.3 kB / 272.7 MB, free: 6.273 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002464/0.004585, allocations: 152.5 kB / 272.9 MB, free: 6.125 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002376/0.004823, allocations: 290.7 kB / 273.1 MB, free: 5.84 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001371/0.00496, allocations: 65.22 kB / 273.2 MB, free: 5.77 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001369/0.005097, allocations: 161 kB / 273.4 MB, free: 5.613 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001365/0.005234, allocations: 99.75 kB / 273.5 MB, free: 5.516 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 2.638e-05/0.00526, allocations: 25.44 kB / 273.5 MB, free: 5.492 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.717e-05/0.005347, allocations: 47.98 kB / 273.5 MB, free: 5.445 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 5.951e-05/0.005407, allocations: 63.81 kB / 273.6 MB, free: 5.383 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 6.332e-05/0.00547, allocations: 75.77 kB / 273.7 MB, free: 5.309 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002273/0.005697, allocations: 223.8 kB / 273.9 MB, free: 5.09 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.763e-06/0.005699, allocations: 0 / 273.9 MB, free: 5.09 MB / 250.7 MB Notification: Performance of FrontEnd: time 7.51e-07/0.0057, allocations: 0.875 kB / 273.9 MB, free: 5.09 MB / 250.7 MB Notification: Performance of Transformations before backend: time 3.877e-06/0.005704, allocations: 0 / 273.9 MB, free: 5.09 MB / 250.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 41 * Number of variables: 41 Notification: Performance of Generate backend data structure: time 0.0005117/0.006215, allocations: 0.5714 MB / 274.5 MB, free: 4.484 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.828e-05/0.006244, allocations: 8.031 kB / 274.5 MB, free: 4.477 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001224/0.006366, allocations: 56.62 kB / 274.5 MB, free: 4.422 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001704/0.006536, allocations: 197.1 kB / 274.7 MB, free: 4.199 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.768e-05/0.006554, allocations: 16.16 kB / 274.7 MB, free: 4.184 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.945e-05/0.006584, allocations: 20.38 kB / 274.7 MB, free: 4.164 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000154/0.006738, allocations: 126.6 kB / 274.9 MB, free: 4.031 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.075e-05/0.006748, allocations: 3.938 kB / 274.9 MB, free: 4.027 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.373e-05/0.006762, allocations: 12 kB / 274.9 MB, free: 4.016 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.091e-06/0.006768, allocations: 4 kB / 274.9 MB, free: 4.012 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.746e-05/0.006856, allocations: 59.72 kB / 274.9 MB, free: 3.953 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000601/0.007457, allocations: 471.7 kB / 275.4 MB, free: 3.465 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001484/0.007605, allocations: 118.8 kB / 275.5 MB, free: 3.336 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.18e-05/0.007657, allocations: 47.64 kB / 275.6 MB, free: 3.285 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.412e-05/0.007671, allocations: 7.938 kB / 275.6 MB, free: 3.277 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001161/0.007787, allocations: 105.2 kB / 275.7 MB, free: 3.16 MB / 250.7 MB Notification: Performance of pre-optimization done (n=20): time 1.513e-06/0.007789, allocations: 4 kB / 275.7 MB, free: 3.156 MB / 250.7 MB Notification: Performance of matching and sorting (n=20): time 0.000228/0.008017, allocations: 160.6 kB / 275.8 MB, free: 2.996 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.762e-05/0.008044, allocations: 55.41 kB / 275.9 MB, free: 2.93 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001305/0.008175, allocations: 269.6 kB / 276.2 MB, free: 2.648 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 1.572e-05/0.00819, allocations: 29.7 kB / 276.2 MB, free: 2.613 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.718e-05/0.008267, allocations: 195 kB / 276.4 MB, free: 2.418 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.965e-05/0.008307, allocations: 71.38 kB / 276.4 MB, free: 2.348 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.657e-05/0.008354, allocations: 51.34 kB / 276.5 MB, free: 2.289 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001094/0.008463, allocations: 0.5079 MB / 277 MB, free: 1.77 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.34e-05/0.008496, allocations: 19.98 kB / 277 MB, free: 1.75 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.326e-05/0.00856, allocations: 76.61 kB / 277.1 MB, free: 1.66 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.722e-05/0.008657, allocations: 104.7 kB / 277.2 MB, free: 1.543 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.465e-06/0.008659, allocations: 0 / 277.2 MB, free: 1.543 MB / 250.7 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0001621/0.008822, allocations: 159.6 kB / 277.4 MB, free: 1.383 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.238e-05/0.008834, allocations: 8 kB / 277.4 MB, free: 1.375 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.288e-06/0.008838, allocations: 0 / 277.4 MB, free: 1.375 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.576e-06/0.008847, allocations: 4 kB / 277.4 MB, free: 1.371 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001227/0.00897, allocations: 48.02 kB / 277.4 MB, free: 1.324 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.747e-06/0.008973, allocations: 3.984 kB / 277.4 MB, free: 1.32 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.751e-05/0.009021, allocations: 15.89 kB / 277.4 MB, free: 1.305 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.298e-06/0.00903, allocations: 8 kB / 277.4 MB, free: 1.297 MB / 250.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 5 ($PRE.lossTable.nextTimeEvent,$whenCondition1,lossTable.nextTimeEventScaled,$PRE.lossTable.nextTimeEventScaled,lossTable.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (26): * Single equations (assignments): 26 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.17e-05/0.009112, allocations: 178.5 kB / 277.6 MB, free: 1.113 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.563e-05/0.009137, allocations: 27.86 kB / 277.6 MB, free: 1.086 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001787/0.009316, allocations: 159.4 kB / 277.8 MB, free: 0.9219 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.763e-06/0.009318, allocations: 0 / 277.8 MB, free: 0.9219 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.334e-06/0.00932, allocations: 8 kB / 277.8 MB, free: 0.9141 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.136e-06/0.009323, allocations: 0 / 277.8 MB, free: 0.9141 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001355/0.009459, allocations: 181 kB / 278 MB, free: 0.7109 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.795e-06/0.009462, allocations: 0 / 278 MB, free: 0.7109 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001075/0.009569, allocations: 43.86 kB / 278 MB, free: 0.668 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.774e-06/0.009571, allocations: 0 / 278 MB, free: 0.668 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.177e-05/0.009583, allocations: 11.94 kB / 278 MB, free: 0.6562 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.072e-06/0.009584, allocations: 0 / 278 MB, free: 0.6562 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.71e-07/0.009585, allocations: 0 / 278 MB, free: 0.6562 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002166/0.009801, allocations: 230.5 kB / 278.3 MB, free: 420 kB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.071e-05/0.009822, allocations: 19.84 kB / 278.3 MB, free: 400 kB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.962e-05/0.009842, allocations: 7.984 kB / 278.3 MB, free: 392 kB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.757e-05/0.009879, allocations: 8.031 kB / 278.3 MB, free: 384 kB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.801e-05/0.009907, allocations: 15.97 kB / 278.3 MB, free: 368 kB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.496e-05/0.009922, allocations: 8 kB / 278.3 MB, free: 360 kB / 250.7 MB Notification: Performance of sorting global known variables: time 7.241e-05/0.009995, allocations: 184.5 kB / 278.5 MB, free: 176 kB / 250.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.009995, allocations: 0 / 278.5 MB, free: 176 kB / 250.7 MB Notification: Performance of remove unused functions: time 0.0001808/0.01018, allocations: 59.89 kB / 278.6 MB, free: 116 kB / 250.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (winding.T,core.T) * Number of discrete variables: 3 ($whenCondition1,lossTable.nextTimeEvent,lossTable.nextTimeEventScaled) * Number of discrete states: 2 (lossTable.nextTimeEvent,lossTable.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (22): * Single equations (assignments): 20 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001036/0.01121, allocations: 382.8 kB / 278.9 MB, free: 15.87 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0001379/0.01135, allocations: 95.45 kB / 279 MB, free: 15.77 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.242e-06/0.01135, allocations: 0 / 279 MB, free: 15.77 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 6.212e-05/0.01141, allocations: 70.7 kB / 279.1 MB, free: 15.7 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002052/0.01162, allocations: 48.14 kB / 279.1 MB, free: 15.66 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006681/0.01229, allocations: 482.4 kB / 279.6 MB, free: 15.15 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.213e-05/0.01233, allocations: 87.91 kB / 279.7 MB, free: 15.05 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 5.894e-05/0.01239, allocations: 25.62 kB / 279.7 MB, free: 15.02 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001079/0.01249, allocations: 114.2 kB / 279.8 MB, free: 14.91 MB / 266.7 MB Notification: Performance of SimCode: time 7.31e-07/0.0125, allocations: 0 / 279.8 MB, free: 14.91 MB / 266.7 MB Notification: Performance of Templates: time 0.004603/0.0171, allocations: 2.935 MB / 282.8 MB, free: 12.04 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Thermal.HeatTransfer.Examples.Motor.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Thermal.HeatTransfer.Examples.Motor.pipe ; mkfifo Modelica_4.0.0_Modelica.Thermal.HeatTransfer.Examples.Motor.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Thermal.HeatTransfer.Examples.Motor.pipe >> ../files/Modelica_4.0.0_Modelica.Thermal.HeatTransfer.Examples.Motor.sim & ./Modelica_4.0.0_Modelica.Thermal.HeatTransfer.Examples.Motor -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Thermal.HeatTransfer.Examples.Motor.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.0.0_Modelica.Thermal.HeatTransfer.Examples.Motor_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Thermal/HeatTransfer/Examples/Motor/Motor.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 658] Reference file matches [Calling sys.exit(0), Time elapsed: 6.170029568020254]