Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Thermal.HeatTransfer.Examples.Motor.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.001132/0.001132, allocations: 87.62 kB / 21.44 MB, free: 3.129 MB / 18.57 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.00598/0.00598, allocations: 160 kB / 24.7 MB, free: 8.895 MB / 18.57 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.8801/0.8801, allocations: 177.1 MB / 205 MB, free: 5.727 MB / 186.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.Thermal.HeatTransfer.Examples.Motor,tolerance=1e-06,outputFormat="mat",numberOfIntervals=720000,variableFilter="time|core.T|winding.T",fileNamePrefix="Modelica_4.1.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.1.0_Modelica.Thermal.HeatTransfer.Examples.Motor") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.723e-06/1.723e-06, allocations: 0 / 325.8 MB, free: 15.31 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.907e-05/3.08e-05, allocations: 2.281 kB / 325.8 MB, free: 15.3 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.HeatTransfer.Examples.Motor): time 0.002604/0.002635, allocations: 2.159 MB / 328 MB, free: 13.13 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001552/0.004186, allocations: 1.18 MB / 329.2 MB, free: 11.95 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001211/0.004308, allocations: 4 kB / 329.2 MB, free: 11.94 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000331/0.004639, allocations: 95.44 kB / 329.2 MB, free: 11.85 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004239/0.005063, allocations: 170.9 kB / 329.4 MB, free: 11.68 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000266/0.005329, allocations: 111.5 kB / 329.5 MB, free: 11.57 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002796/0.005608, allocations: 302.6 kB / 329.8 MB, free: 11.27 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001555/0.005764, allocations: 64.56 kB / 329.9 MB, free: 11.21 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001691/0.005933, allocations: 171.6 kB / 330.1 MB, free: 11.04 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001436/0.006076, allocations: 103.7 kB / 330.2 MB, free: 10.94 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.622e-05/0.006103, allocations: 20 kB / 330.2 MB, free: 10.92 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001062/0.006209, allocations: 51.92 kB / 330.2 MB, free: 10.87 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 7.356e-05/0.006282, allocations: 55.83 kB / 330.3 MB, free: 10.82 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 7.392e-05/0.006356, allocations: 79.77 kB / 330.4 MB, free: 10.74 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003683/0.006724, allocations: 299 kB / 330.6 MB, free: 10.45 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.028e-06/0.006729, allocations: 0 / 330.6 MB, free: 10.45 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.553e-06/0.00673, allocations: 0 / 330.6 MB, free: 10.45 MB / 298.7 MB Notification: Performance of Transformations before backend: time 5.14e-06/0.006735, allocations: 0 / 330.6 MB, free: 10.45 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: 41 * Number of variables: 41 Notification: Performance of Generate backend data structure: time 0.0006478/0.007383, allocations: 0.4885 MB / 331.1 MB, free: 9.93 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.757e-05/0.007421, allocations: 8.031 kB / 331.1 MB, free: 9.922 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001192/0.00754, allocations: 32.75 kB / 331.2 MB, free: 9.891 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002808/0.007821, allocations: 205.2 kB / 331.4 MB, free: 9.664 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.673e-05/0.007837, allocations: 8.375 kB / 331.4 MB, free: 9.656 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.955e-05/0.007867, allocations: 16.38 kB / 331.4 MB, free: 9.641 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002264/0.008093, allocations: 166.2 kB / 331.6 MB, free: 9.473 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.426e-05/0.008107, allocations: 7.938 kB / 331.6 MB, free: 9.465 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.392e-05/0.008121, allocations: 7.938 kB / 331.6 MB, free: 9.457 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.651e-06/0.008127, allocations: 4 kB / 331.6 MB, free: 9.453 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001742/0.008301, allocations: 123.7 kB / 331.7 MB, free: 9.332 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005775/0.008879, allocations: 463.9 kB / 332.2 MB, free: 8.848 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002274/0.009106, allocations: 166.4 kB / 332.3 MB, free: 8.676 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.13e-05/0.009197, allocations: 84.75 kB / 332.4 MB, free: 8.59 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.745e-05/0.009215, allocations: 4 kB / 332.4 MB, free: 8.586 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001552/0.00937, allocations: 123.6 kB / 332.5 MB, free: 8.453 MB / 298.7 MB Notification: Performance of pre-optimization done (n=20): time 1.523e-06/0.009372, allocations: 0 / 332.5 MB, free: 8.453 MB / 298.7 MB Notification: Performance of matching and sorting (n=20): time 0.0003433/0.009715, allocations: 229.5 kB / 332.7 MB, free: 8.223 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.435e-05/0.009749, allocations: 59.39 kB / 332.8 MB, free: 8.152 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001759/0.009925, allocations: 256.1 kB / 333.1 MB, free: 7.887 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.736e-05/0.009943, allocations: 33.7 kB / 333.1 MB, free: 7.848 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.093e-05/0.01001, allocations: 140.4 kB / 333.2 MB, free: 7.707 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.135e-05/0.01005, allocations: 83.41 kB / 333.3 MB, free: 7.625 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.755e-05/0.0101, allocations: 37.67 kB / 333.3 MB, free: 7.582 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 8.489e-05/0.01019, allocations: 338.8 kB / 333.7 MB, free: 7.242 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.346e-05/0.01026, allocations: 55.91 kB / 333.7 MB, free: 7.188 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.759e-05/0.01036, allocations: 83.41 kB / 333.8 MB, free: 7.094 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001752/0.01053, allocations: 155.3 kB / 334 MB, free: 6.93 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.194e-06/0.01054, allocations: 0 / 334 MB, free: 6.93 MB / 298.7 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0002281/0.01076, allocations: 216.4 kB / 334.2 MB, free: 6.715 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.668e-05/0.01078, allocations: 4 kB / 334.2 MB, free: 6.711 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.641e-06/0.01079, allocations: 0 / 334.2 MB, free: 6.711 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.511e-05/0.0108, allocations: 4 kB / 334.2 MB, free: 6.707 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001385/0.01094, allocations: 43.92 kB / 334.2 MB, free: 6.664 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.741e-06/0.01095, allocations: 4 kB / 334.2 MB, free: 6.66 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.263e-05/0.011, allocations: 19.88 kB / 334.2 MB, free: 6.641 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.186e-05/0.01101, allocations: 8 kB / 334.3 MB, free: 6.633 MB / 298.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 0.0001025/0.01111, allocations: 157.7 kB / 334.4 MB, free: 6.469 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.211e-05/0.01114, allocations: 27.84 kB / 334.4 MB, free: 6.441 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000261/0.01141, allocations: 211.4 kB / 334.6 MB, free: 6.227 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.068e-06/0.01141, allocations: 4 kB / 334.6 MB, free: 6.223 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.248e-06/0.01141, allocations: 0 / 334.6 MB, free: 6.223 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.296e-06/0.01142, allocations: 0 / 334.6 MB, free: 6.223 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001607/0.01158, allocations: 209.1 kB / 334.9 MB, free: 5.988 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.312e-06/0.01158, allocations: 4 kB / 334.9 MB, free: 5.984 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001091/0.01169, allocations: 35.92 kB / 334.9 MB, free: 5.949 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.476e-06/0.01169, allocations: 4 kB / 334.9 MB, free: 5.945 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.228e-05/0.0117, allocations: 4 kB / 334.9 MB, free: 5.941 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.635e-06/0.01171, allocations: 7.984 kB / 334.9 MB, free: 5.934 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.01171, allocations: 0 / 334.9 MB, free: 5.934 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003283/0.01204, allocations: 310.6 kB / 335.2 MB, free: 5.617 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.224e-05/0.01206, allocations: 19.83 kB / 335.2 MB, free: 5.598 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.285e-05/0.01208, allocations: 8 kB / 335.2 MB, free: 5.59 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.805e-05/0.01212, allocations: 4 kB / 335.2 MB, free: 5.586 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.804e-05/0.01216, allocations: 19.91 kB / 335.3 MB, free: 5.566 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.718e-05/0.01217, allocations: 11.94 kB / 335.3 MB, free: 5.555 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001135/0.01229, allocations: 193.6 kB / 335.5 MB, free: 5.367 MB / 298.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01229, allocations: 64 / 335.5 MB, free: 5.367 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001983/0.01249, allocations: 67.89 kB / 335.5 MB, free: 5.301 MB / 298.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.0006776/0.01316, allocations: 438.7 kB / 336 MB, free: 5.047 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0002213/0.01339, allocations: 143.8 kB / 336.1 MB, free: 4.906 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.374e-06/0.01339, allocations: 0 / 336.1 MB, free: 4.906 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 8.446e-05/0.01347, allocations: 75.84 kB / 336.2 MB, free: 4.832 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002357/0.01371, allocations: 63.05 kB / 336.2 MB, free: 4.777 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006859/0.01439, allocations: 0.5198 MB / 336.8 MB, free: 4.227 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.307e-05/0.01449, allocations: 145.8 kB / 336.9 MB, free: 4.066 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.058e-05/0.01455, allocations: 32.48 kB / 336.9 MB, free: 4.035 MB / 298.7 MB Notification: Performance of SimCode: time 1.603e-06/0.01455, allocations: 0 / 336.9 MB, free: 4.035 MB / 298.7 MB Notification: Performance of Templates: time 0.003826/0.01838, allocations: 3.258 MB / 340.2 MB, free: 0.7812 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Thermal.HeatTransfer.Examples.Motor.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Thermal.HeatTransfer.Examples.Motor.pipe ; mkfifo Modelica_4.1.0_Modelica.Thermal.HeatTransfer.Examples.Motor.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Thermal.HeatTransfer.Examples.Motor.pipe >> ../files/Modelica_4.1.0_Modelica.Thermal.HeatTransfer.Examples.Motor.sim & ./Modelica_4.1.0_Modelica.Thermal.HeatTransfer.Examples.Motor -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Thermal.HeatTransfer.Examples.Motor.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Thermal.HeatTransfer.Examples.Motor_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Thermal/HeatTransfer/Examples/Motor/Motor.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Thermal.HeatTransfer.Examples.Motor.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 659] Reference file matches [Calling sys.exit(0), Time elapsed: 7.2651008274406195]