Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_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.002028/0.002028, allocations: 99.53 kB / 21.73 MB, free: 2.688 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.001928/0.001928, allocations: 168.6 kB / 25.03 MB, free: 8.41 MB / 18.57 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.575/1.575, allocations: 158.6 MB / 186.8 MB, free: 2.918 MB / 170.7 MB " [Timeout remaining time 178] 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.Thermal.HeatTransfer.Examples.Motor,tolerance=1e-06,outputFormat="mat",numberOfIntervals=720000,variableFilter="time|core.T|winding.T",fileNamePrefix="Modelica_3.2.3_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_3.2.3_Modelica.Thermal.HeatTransfer.Examples.Motor") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.904e-06/1.904e-06, allocations: 0 / 250.3 MB, free: 7.949 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.632e-05/3.822e-05, allocations: 10.25 kB / 250.4 MB, free: 7.938 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.HeatTransfer.Examples.Motor): time 0.005208/0.005246, allocations: 2.218 MB / 252.6 MB, free: 5.703 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.002326/0.007571, allocations: 0.9439 MB / 253.5 MB, free: 4.75 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002322/0.007804, allocations: 0 / 253.5 MB, free: 4.75 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004978/0.008301, allocations: 95.5 kB / 253.6 MB, free: 4.656 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005773/0.008879, allocations: 131.1 kB / 253.7 MB, free: 4.527 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004858/0.009364, allocations: 131.6 kB / 253.9 MB, free: 4.398 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005389/0.009903, allocations: 298.6 kB / 254.2 MB, free: 4.105 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002084/0.01011, allocations: 60.78 kB / 254.2 MB, free: 4.047 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003922/0.0105, allocations: 163.6 kB / 254.4 MB, free: 3.887 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002944/0.0108, allocations: 99.75 kB / 254.5 MB, free: 3.789 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 6.682e-05/0.01087, allocations: 20 kB / 254.5 MB, free: 3.77 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002046/0.01107, allocations: 51.92 kB / 254.5 MB, free: 3.719 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001196/0.01119, allocations: 63.75 kB / 254.6 MB, free: 3.656 MB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001453/0.01133, allocations: 71.83 kB / 254.7 MB, free: 3.586 MB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005774/0.01191, allocations: 298.9 kB / 255 MB, free: 3.289 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.18e-06/0.01192, allocations: 0 / 255 MB, free: 3.289 MB / 234.7 MB Notification: Performance of FrontEnd: time 1.072e-06/0.01192, allocations: 4 kB / 255 MB, free: 3.285 MB / 234.7 MB Notification: Performance of Transformations before backend: time 1.141e-05/0.01193, allocations: 0 / 255 MB, free: 3.285 MB / 234.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.001145/0.01308, allocations: 0.5854 MB / 255.6 MB, free: 2.664 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.452e-05/0.01312, allocations: 11.98 kB / 255.6 MB, free: 2.652 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002678/0.01339, allocations: 52.67 kB / 255.6 MB, free: 2.602 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003964/0.01378, allocations: 193.2 kB / 255.8 MB, free: 2.383 MB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.812e-05/0.01381, allocations: 12.38 kB / 255.8 MB, free: 2.371 MB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.159e-05/0.01386, allocations: 24.31 kB / 255.8 MB, free: 2.348 MB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003836/0.01425, allocations: 161.7 kB / 256 MB, free: 2.184 MB / 234.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.147e-05/0.01427, allocations: 3.938 kB / 256 MB, free: 2.18 MB / 234.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.958e-05/0.0143, allocations: 4 kB / 256 MB, free: 2.176 MB / 234.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.032e-05/0.01431, allocations: 7.984 kB / 256 MB, free: 2.168 MB / 234.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003059/0.01461, allocations: 107.9 kB / 256.1 MB, free: 2.062 MB / 234.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001161/0.01578, allocations: 0.5421 MB / 256.7 MB, free: 1.484 MB / 234.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003729/0.01615, allocations: 162.9 kB / 256.8 MB, free: 1.312 MB / 234.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001821/0.01633, allocations: 87.03 kB / 256.9 MB, free: 1.227 MB / 234.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.136e-05/0.01636, allocations: 4 kB / 256.9 MB, free: 1.223 MB / 234.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002581/0.01662, allocations: 120.9 kB / 257 MB, free: 1.09 MB / 234.7 MB Notification: Performance of pre-optimization done (n=20): time 1.863e-06/0.01662, allocations: 0 / 257 MB, free: 1.09 MB / 234.7 MB Notification: Performance of matching and sorting (n=20): time 0.0005948/0.01722, allocations: 225.8 kB / 257.3 MB, free: 0.8633 MB / 234.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.812e-05/0.01727, allocations: 55.41 kB / 257.3 MB, free: 0.7969 MB / 234.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003483/0.01762, allocations: 285.8 kB / 257.6 MB, free: 0.5 MB / 234.7 MB Notification: Performance of collectPreVariables (initialization): time 3.826e-05/0.01766, allocations: 33.7 kB / 257.6 MB, free: 472 kB / 234.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001989/0.01786, allocations: 203 kB / 257.8 MB, free: 264 kB / 234.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001052/0.01797, allocations: 83.41 kB / 257.9 MB, free: 180 kB / 234.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001102/0.01808, allocations: 51.36 kB / 257.9 MB, free: 120 kB / 234.7 MB Notification: Performance of setup shared object (initialization): time 0.0003362/0.01841, allocations: 0.5118 MB / 258.5 MB, free: 15.59 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001292/0.01854, allocations: 51.91 kB / 258.5 MB, free: 15.54 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001722/0.01871, allocations: 98.66 kB / 258.6 MB, free: 15.43 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002947/0.01901, allocations: 170.5 kB / 258.8 MB, free: 15.25 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.876e-06/0.01901, allocations: 0 / 258.8 MB, free: 15.25 MB / 250.7 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0004277/0.01944, allocations: 197.4 kB / 259 MB, free: 15.05 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.395e-05/0.01946, allocations: 11.98 kB / 259 MB, free: 15.04 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.192e-06/0.01947, allocations: 0 / 259 MB, free: 15.04 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.859e-05/0.01949, allocations: 4 kB / 259 MB, free: 15.03 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002343/0.01972, allocations: 47.92 kB / 259 MB, free: 14.98 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.807e-06/0.01973, allocations: 0 / 259 MB, free: 14.98 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001113/0.01984, allocations: 11.89 kB / 259 MB, free: 14.97 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.818e-05/0.01986, allocations: 12 kB / 259.1 MB, free: 14.96 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 0.0001869/0.02005, allocations: 184.4 kB / 259.2 MB, free: 14.77 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.962e-05/0.02013, allocations: 31.86 kB / 259.3 MB, free: 14.74 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000461/0.02059, allocations: 199.5 kB / 259.5 MB, free: 14.54 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.142e-06/0.02059, allocations: 4 kB / 259.5 MB, free: 14.53 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.208e-06/0.0206, allocations: 0 / 259.5 MB, free: 14.53 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.787e-06/0.02061, allocations: 3.984 kB / 259.5 MB, free: 14.53 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003508/0.02096, allocations: 244.4 kB / 259.7 MB, free: 14.25 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.994e-06/0.02096, allocations: 0 / 259.7 MB, free: 14.25 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002163/0.02118, allocations: 35.92 kB / 259.7 MB, free: 14.22 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.029e-06/0.02118, allocations: 4 kB / 259.7 MB, free: 14.21 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.256e-05/0.0212, allocations: 7.984 kB / 259.7 MB, free: 14.21 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.17e-06/0.02121, allocations: 4 kB / 259.8 MB, free: 14.2 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.282e-06/0.02121, allocations: 4 kB / 259.8 MB, free: 14.2 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005941/0.0218, allocations: 303.9 kB / 260.1 MB, free: 13.88 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.043e-05/0.02185, allocations: 23.8 kB / 260.1 MB, free: 13.86 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.974e-05/0.02189, allocations: 8 kB / 260.1 MB, free: 13.85 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.728e-05/0.02198, allocations: 4 kB / 260.1 MB, free: 13.84 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.028e-05/0.02204, allocations: 11.97 kB / 260.1 MB, free: 13.83 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.749e-05/0.02207, allocations: 8 kB / 260.1 MB, free: 13.82 MB / 250.7 MB Notification: Performance of sorting global known variables: time 0.0002173/0.02229, allocations: 204.5 kB / 260.3 MB, free: 13.62 MB / 250.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.02229, allocations: 4 kB / 260.3 MB, free: 13.62 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0003212/0.02261, allocations: 59.89 kB / 260.4 MB, free: 13.56 MB / 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.002999/0.02561, allocations: 454.4 kB / 260.8 MB, free: 13.17 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0004628/0.02607, allocations: 159.9 kB / 261 MB, free: 13.01 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 3.637e-06/0.02607, allocations: 0 / 261 MB, free: 13.01 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001778/0.02625, allocations: 79.59 kB / 261 MB, free: 12.93 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004137/0.02666, allocations: 51.84 kB / 261.1 MB, free: 12.88 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001199/0.02786, allocations: 489.8 kB / 261.6 MB, free: 12.37 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001711/0.02803, allocations: 140.8 kB / 261.7 MB, free: 12.21 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 0.0001218/0.02816, allocations: 29.62 kB / 261.7 MB, free: 12.18 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.159e-05/0.02823, allocations: 24.48 kB / 261.8 MB, free: 12.15 MB / 250.7 MB Notification: Performance of SimCode: time 1.623e-06/0.02823, allocations: 0 / 261.8 MB, free: 12.15 MB / 250.7 MB Notification: Performance of Templates: time 0.00841/0.03664, allocations: 2.611 MB / 264.4 MB, free: 9.543 MB / 250.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Thermal.HeatTransfer.Examples.Motor.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Thermal.HeatTransfer.Examples.Motor.pipe ; mkfifo Modelica_3.2.3_Modelica.Thermal.HeatTransfer.Examples.Motor.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Thermal.HeatTransfer.Examples.Motor.pipe >> ../files/Modelica_3.2.3_Modelica.Thermal.HeatTransfer.Examples.Motor.sim & ./Modelica_3.2.3_Modelica.Thermal.HeatTransfer.Examples.Motor -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Thermal.HeatTransfer.Examples.Motor.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_3.2.3_Modelica.Thermal.HeatTransfer.Examples.Motor_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Thermal/HeatTransfer/Examples/Motor/Motor.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Thermal.HeatTransfer.Examples.Motor.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 658] Reference file matches [Calling sys.exit(0), Time elapsed: 9.215077629080042]