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.001435/0.001435, allocations: 88.31 kB / 21.44 MB, free: 272 kB / 14.72 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.001757/0.001757, allocations: 164.3 kB / 24.7 MB, free: 3.523 MB / 14.72 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.394/1.394, allocations: 158.6 MB / 186.5 MB, free: 6.391 MB / 174.1 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 2.234e-06/2.234e-06, allocations: 0 / 298.9 MB, free: 8.75 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.667e-05/3.89e-05, allocations: 2.281 kB / 298.9 MB, free: 8.746 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.HeatTransfer.Examples.Motor): time 0.00378/0.003818, allocations: 2.131 MB / 301.1 MB, free: 6.594 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001993/0.005812, allocations: 0.9206 MB / 302 MB, free: 5.664 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001857/0.005998, allocations: 3.938 kB / 302 MB, free: 5.66 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004823/0.00648, allocations: 99.44 kB / 302.1 MB, free: 5.562 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004916/0.006971, allocations: 119.2 kB / 302.2 MB, free: 5.445 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004659/0.007437, allocations: 139.5 kB / 302.3 MB, free: 5.309 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005082/0.007945, allocations: 294.6 kB / 302.6 MB, free: 5.02 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002186/0.008164, allocations: 64.77 kB / 302.7 MB, free: 4.961 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003273/0.008491, allocations: 159.7 kB / 302.8 MB, free: 4.805 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002471/0.008738, allocations: 95.77 kB / 302.9 MB, free: 4.711 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 5.345e-05/0.008792, allocations: 19.94 kB / 302.9 MB, free: 4.691 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002014/0.008993, allocations: 55.91 kB / 303 MB, free: 4.637 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001024/0.009096, allocations: 59.75 kB / 303.1 MB, free: 4.578 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001315/0.009227, allocations: 79.77 kB / 303.1 MB, free: 4.5 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004838/0.009711, allocations: 287 kB / 303.4 MB, free: 4.219 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.908e-06/0.009715, allocations: 4 kB / 303.4 MB, free: 4.215 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.102e-06/0.009716, allocations: 7.938 kB / 303.4 MB, free: 4.207 MB / 286.1 MB Notification: Performance of Transformations before backend: time 1.226e-05/0.009728, allocations: 0 / 303.4 MB, free: 4.207 MB / 286.1 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.001136/0.01086, allocations: 485.4 kB / 303.9 MB, free: 3.703 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.691e-05/0.01091, allocations: 11.98 kB / 303.9 MB, free: 3.691 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002001/0.01111, allocations: 28.8 kB / 303.9 MB, free: 3.664 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004452/0.01156, allocations: 206.2 kB / 304.1 MB, free: 3.434 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.962e-05/0.01158, allocations: 8.375 kB / 304.2 MB, free: 3.426 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.899e-05/0.01163, allocations: 16.38 kB / 304.2 MB, free: 3.41 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003986/0.01202, allocations: 169.7 kB / 304.3 MB, free: 3.238 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.832e-05/0.01204, allocations: 3.938 kB / 304.3 MB, free: 3.234 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.307e-05/0.01207, allocations: 4 kB / 304.3 MB, free: 3.23 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.225e-06/0.01207, allocations: 4 kB / 304.3 MB, free: 3.227 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002856/0.01236, allocations: 123.9 kB / 304.5 MB, free: 3.105 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001058/0.01342, allocations: 463.9 kB / 304.9 MB, free: 2.621 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003618/0.01378, allocations: 162.4 kB / 305.1 MB, free: 2.453 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001656/0.01394, allocations: 81.17 kB / 305.2 MB, free: 2.371 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.187e-05/0.01398, allocations: 8 kB / 305.2 MB, free: 2.363 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002539/0.01423, allocations: 123.2 kB / 305.3 MB, free: 2.23 MB / 286.1 MB Notification: Performance of pre-optimization done (n=20): time 2.084e-06/0.01423, allocations: 3.938 kB / 305.3 MB, free: 2.227 MB / 286.1 MB Notification: Performance of matching and sorting (n=20): time 0.0005893/0.01482, allocations: 237.4 kB / 305.5 MB, free: 1.988 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.307e-05/0.01487, allocations: 55.41 kB / 305.6 MB, free: 1.922 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003094/0.01518, allocations: 247.2 kB / 305.8 MB, free: 1.672 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 3.398e-05/0.01522, allocations: 29.7 kB / 305.8 MB, free: 1.637 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001329/0.01535, allocations: 152.3 kB / 306 MB, free: 1.484 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.929e-05/0.01544, allocations: 67.42 kB / 306.1 MB, free: 1.418 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.385e-05/0.01553, allocations: 45.7 kB / 306.1 MB, free: 1.367 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001777/0.01571, allocations: 326.8 kB / 306.4 MB, free: 1.039 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001335/0.01585, allocations: 55.97 kB / 306.5 MB, free: 0.9844 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001588/0.016, allocations: 83.34 kB / 306.6 MB, free: 0.8906 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002912/0.0163, allocations: 159.3 kB / 306.7 MB, free: 0.7227 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.034e-06/0.0163, allocations: 4 kB / 306.7 MB, free: 0.7188 MB / 286.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0004246/0.01672, allocations: 209.3 kB / 306.9 MB, free: 0.5078 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.441e-05/0.01674, allocations: 4 kB / 306.9 MB, free: 0.5039 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.1e-06/0.01674, allocations: 4 kB / 306.9 MB, free: 0.5 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.344e-05/0.01676, allocations: 0 / 306.9 MB, free: 0.5 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002333/0.017, allocations: 43.92 kB / 307 MB, free: 468 kB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.594e-06/0.01701, allocations: 7.938 kB / 307 MB, free: 460 kB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001076/0.01711, allocations: 23.97 kB / 307 MB, free: 436 kB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.824e-05/0.01713, allocations: 12 kB / 307 MB, free: 424 kB / 286.1 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.0001558/0.01729, allocations: 148.5 kB / 307.2 MB, free: 268 kB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.081e-05/0.01733, allocations: 19.86 kB / 307.2 MB, free: 248 kB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004394/0.01777, allocations: 211.4 kB / 307.4 MB, free: 28 kB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.531e-06/0.01777, allocations: 4 kB / 307.4 MB, free: 24 kB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.529e-06/0.01778, allocations: 0 / 307.4 MB, free: 24 kB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.49e-06/0.01778, allocations: 0 / 307.4 MB, free: 24 kB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002912/0.01807, allocations: 217 kB / 307.6 MB, free: 15.78 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.194e-06/0.01808, allocations: 0 / 307.6 MB, free: 15.78 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002011/0.01828, allocations: 43.92 kB / 307.6 MB, free: 15.74 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.025e-06/0.01828, allocations: 0 / 307.6 MB, free: 15.74 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.231e-05/0.0183, allocations: 8 kB / 307.7 MB, free: 15.73 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.354e-06/0.01831, allocations: 0 / 307.7 MB, free: 15.73 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.91e-07/0.01831, allocations: 0 / 307.7 MB, free: 15.73 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006103/0.01892, allocations: 309.1 kB / 308 MB, free: 15.41 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.215e-05/0.01896, allocations: 23.83 kB / 308 MB, free: 15.39 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.795e-05/0.019, allocations: 11.94 kB / 308 MB, free: 15.38 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002111/0.01921, allocations: 4 kB / 308 MB, free: 15.37 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.814e-05/0.01927, allocations: 15.97 kB / 308 MB, free: 15.36 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.675e-05/0.01929, allocations: 12.06 kB / 308 MB, free: 15.34 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001852/0.01948, allocations: 184.6 kB / 308.2 MB, free: 15.16 MB / 302.1 MB Notification: Performance of sort global known variables: time 6e-08/0.01948, allocations: 0 / 308.2 MB, free: 15.16 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0003063/0.01978, allocations: 59.88 kB / 308.3 MB, free: 15.11 MB / 302.1 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.001712/0.0215, allocations: 436.1 kB / 308.7 MB, free: 14.68 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0003493/0.02185, allocations: 151.9 kB / 308.8 MB, free: 14.53 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 1.743e-06/0.02185, allocations: 0 / 308.8 MB, free: 14.53 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001516/0.022, allocations: 72.09 kB / 308.9 MB, free: 14.46 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003455/0.02234, allocations: 55.78 kB / 309 MB, free: 14.4 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001036/0.02338, allocations: 494.6 kB / 309.4 MB, free: 13.89 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000176/0.02356, allocations: 148.7 kB / 309.6 MB, free: 13.73 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 9.296e-05/0.02365, allocations: 21.62 kB / 309.6 MB, free: 13.71 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.411e-05/0.02371, allocations: 24.5 kB / 309.6 MB, free: 13.68 MB / 302.1 MB Notification: Performance of SimCode: time 2.81e-07/0.02371, allocations: 0 / 309.6 MB, free: 13.68 MB / 302.1 MB Notification: Performance of Templates: time 0.007329/0.03104, allocations: 2.619 MB / 312.3 MB, free: 11.07 MB / 302.1 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=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Thermal.HeatTransfer.Examples.Motor.pipe 2>&1) [Timeout 480] 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: 8.963002495467663]