Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Thermal.HeatTransfer.Examples.Motor.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001873/0.001873, allocations: 84.95 kB / 20.68 MB, free: 1.035 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002261/0.002261, allocations: 158.2 kB / 23.95 MB, free: 4.168 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.508/1.508, allocations: 177 MB / 204.1 MB, free: 9.168 MB / 190.1 MB " [Timeout remaining time 178] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(Modelica.Thermal.HeatTransfer.Examples.Motor,tolerance=1e-06,outputFormat="mat",numberOfIntervals=7200,variableFilter="time|core.T|winding.T",fileNamePrefix="Modelica_trunk_Modelica.Thermal.HeatTransfer.Examples.Motor") translateModel(Modelica.Thermal.HeatTransfer.Examples.Motor,tolerance=1e-06,outputFormat="mat",numberOfIntervals=7200,variableFilter="time|core.T|winding.T",fileNamePrefix="Modelica_trunk_Modelica.Thermal.HeatTransfer.Examples.Motor") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.114e-06/2.114e-06, allocations: 0.6562 kB / 325 MB, free: 0.5078 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.035e-05/2.246e-05, allocations: 3.406 kB / 325 MB, free: 0.5039 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.HeatTransfer.Examples.Motor): time 0.003464/0.003486, allocations: 2.151 MB / 327.1 MB, free: 15.04 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.002361/0.005847, allocations: 1.181 MB / 328.3 MB, free: 14.27 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001315/0.005978, allocations: 7.625 kB / 328.3 MB, free: 14.27 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004054/0.006384, allocations: 89.72 kB / 328.4 MB, free: 14.23 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004549/0.006839, allocations: 167.7 kB / 328.6 MB, free: 14.14 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002938/0.007132, allocations: 119.1 kB / 328.7 MB, free: 14.07 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004049/0.007537, allocations: 312 kB / 329 MB, free: 13.92 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002049/0.007742, allocations: 66.03 kB / 329.1 MB, free: 13.88 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002476/0.00799, allocations: 159 kB / 329.2 MB, free: 13.82 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002236/0.008213, allocations: 102.8 kB / 329.3 MB, free: 13.8 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 3.952e-05/0.008253, allocations: 19.03 kB / 329.3 MB, free: 13.8 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001444/0.008397, allocations: 58.36 kB / 329.4 MB, free: 13.78 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001008/0.008498, allocations: 62.39 kB / 329.5 MB, free: 13.74 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001163/0.008614, allocations: 77.73 kB / 329.5 MB, free: 13.71 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004416/0.009056, allocations: 295.6 kB / 329.8 MB, free: 13.6 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.276e-06/0.009059, allocations: 0 / 329.8 MB, free: 13.6 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.493e-06/0.009061, allocations: 4 kB / 329.8 MB, free: 13.6 MB / 302.1 MB Notification: Performance of Transformations before backend: time 5.49e-06/0.009066, allocations: 1.094 kB / 329.8 MB, free: 13.6 MB / 302.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.0008724/0.009939, allocations: 485.8 kB / 330.3 MB, free: 13.21 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.413e-05/0.009973, allocations: 12.55 kB / 330.3 MB, free: 13.2 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001569/0.01013, allocations: 33.66 kB / 330.3 MB, free: 13.19 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003467/0.01048, allocations: 197.4 kB / 330.5 MB, free: 13.01 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.666e-05/0.0105, allocations: 19.44 kB / 330.6 MB, free: 13 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.113e-05/0.01054, allocations: 20.88 kB / 330.6 MB, free: 12.99 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003471/0.01089, allocations: 161.1 kB / 330.7 MB, free: 12.89 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.608e-05/0.01091, allocations: 1.531 kB / 330.7 MB, free: 12.89 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.215e-05/0.01093, allocations: 5.844 kB / 330.7 MB, free: 12.89 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.247e-06/0.01094, allocations: 7.5 kB / 330.8 MB, free: 12.89 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002866/0.01123, allocations: 127.5 kB / 330.9 MB, free: 12.82 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000864/0.01209, allocations: 464.8 kB / 331.3 MB, free: 12.45 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003565/0.01245, allocations: 165.8 kB / 331.5 MB, free: 12.36 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001602/0.01261, allocations: 81.67 kB / 331.6 MB, free: 12.32 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.126e-05/0.01263, allocations: 2.5 kB / 331.6 MB, free: 12.32 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002318/0.01286, allocations: 122.9 kB / 331.7 MB, free: 12.22 MB / 302.1 MB Notification: Performance of pre-optimization done (n=20): time 1.704e-06/0.01286, allocations: 0 / 331.7 MB, free: 12.22 MB / 302.1 MB Notification: Performance of matching and sorting (n=20): time 0.0005323/0.01339, allocations: 237.8 kB / 331.9 MB, free: 12.1 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.635e-05/0.01344, allocations: 54.78 kB / 332 MB, free: 12.04 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002866/0.01373, allocations: 260.1 kB / 332.2 MB, free: 11.86 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.71e-05/0.01375, allocations: 35.05 kB / 332.3 MB, free: 11.82 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001121/0.01387, allocations: 144.1 kB / 332.4 MB, free: 11.69 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.323e-05/0.01393, allocations: 64.72 kB / 332.5 MB, free: 11.63 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.268e-05/0.014, allocations: 48.62 kB / 332.5 MB, free: 11.59 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001558/0.01416, allocations: 337.2 kB / 332.9 MB, free: 11.26 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001294/0.01429, allocations: 52.16 kB / 332.9 MB, free: 11.24 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000148/0.01443, allocations: 87.5 kB / 333 MB, free: 11.18 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002816/0.01472, allocations: 158.3 kB / 333.1 MB, free: 11.08 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.595e-06/0.01472, allocations: 0 / 333.1 MB, free: 11.08 MB / 302.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0003868/0.01511, allocations: 211.5 kB / 333.3 MB, free: 10.96 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.387e-05/0.01512, allocations: 5.781 kB / 333.4 MB, free: 10.96 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.143e-06/0.01513, allocations: 1.281 kB / 333.4 MB, free: 10.96 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.644e-05/0.01514, allocations: 2.5 kB / 333.4 MB, free: 10.96 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002372/0.01538, allocations: 48.92 kB / 333.4 MB, free: 10.95 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.632e-06/0.01539, allocations: 1.688 kB / 333.4 MB, free: 10.95 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.776e-05/0.01548, allocations: 13.17 kB / 333.4 MB, free: 10.94 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.869e-05/0.0155, allocations: 16.61 kB / 333.4 MB, free: 10.93 MB / 302.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.000145/0.01565, allocations: 147 kB / 333.6 MB, free: 10.79 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.016e-05/0.01569, allocations: 22.11 kB / 333.6 MB, free: 10.78 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004379/0.01613, allocations: 223.1 kB / 333.8 MB, free: 10.64 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.887e-06/0.01613, allocations: 3.438 kB / 333.8 MB, free: 10.64 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.566e-06/0.01613, allocations: 0 / 333.8 MB, free: 10.64 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.038e-06/0.01614, allocations: 0 / 333.8 MB, free: 10.64 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002552/0.01639, allocations: 211.2 kB / 334 MB, free: 10.46 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.274e-06/0.0164, allocations: 9.359 kB / 334 MB, free: 10.45 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001988/0.0166, allocations: 37.55 kB / 334.1 MB, free: 10.44 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.295e-06/0.0166, allocations: 5.156 kB / 334.1 MB, free: 10.44 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.836e-05/0.01662, allocations: 6.656 kB / 334.1 MB, free: 10.43 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.274e-06/0.01662, allocations: 5.094 kB / 334.1 MB, free: 10.43 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.72e-07/0.01662, allocations: 0 / 334.1 MB, free: 10.43 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005406/0.01716, allocations: 309 kB / 334.4 MB, free: 10.25 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.573e-05/0.0172, allocations: 22.3 kB / 334.4 MB, free: 10.23 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.903e-05/0.01724, allocations: 10.62 kB / 334.4 MB, free: 10.22 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.363e-05/0.01732, allocations: 1.594 kB / 334.4 MB, free: 10.22 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.655e-05/0.01737, allocations: 17.28 kB / 334.4 MB, free: 10.21 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.002e-05/0.01739, allocations: 5 kB / 334.4 MB, free: 10.21 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001868/0.01757, allocations: 201.8 kB / 334.6 MB, free: 10.08 MB / 302.1 MB Notification: Performance of sort global known variables: time 9e-08/0.01757, allocations: 0 / 334.6 MB, free: 10.08 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002824/0.01786, allocations: 57.55 kB / 334.7 MB, free: 10.07 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.001658/0.01952, allocations: 433.3 kB / 335.1 MB, free: 9.84 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0003329/0.01985, allocations: 143.7 kB / 335.3 MB, free: 9.781 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 1.964e-06/0.01985, allocations: 0 / 335.3 MB, free: 9.781 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001481/0.02, allocations: 72 kB / 335.3 MB, free: 9.754 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003359/0.02033, allocations: 62.12 kB / 335.4 MB, free: 9.719 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009479/0.02128, allocations: 0.4974 MB / 335.9 MB, free: 9.367 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001365/0.02142, allocations: 141.8 kB / 336 MB, free: 9.262 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 9.814e-05/0.02152, allocations: 25.45 kB / 336.1 MB, free: 9.25 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.369e-05/0.02158, allocations: 25.33 kB / 336.1 MB, free: 9.238 MB / 302.1 MB Notification: Performance of SimCode: time 3.5e-07/0.02158, allocations: 0 / 336.1 MB, free: 9.238 MB / 302.1 MB Notification: Performance of Templates: time 0.007074/0.02866, allocations: 2.651 MB / 338.7 MB, free: 7.238 MB / 302.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Thermal.HeatTransfer.Examples.Motor.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Thermal.HeatTransfer.Examples.Motor.pipe ; mkfifo Modelica_trunk_Modelica.Thermal.HeatTransfer.Examples.Motor.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Thermal.HeatTransfer.Examples.Motor.pipe >> ../files/Modelica_trunk_Modelica.Thermal.HeatTransfer.Examples.Motor.sim & ./Modelica_trunk_Modelica.Thermal.HeatTransfer.Examples.Motor -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Thermal.HeatTransfer.Examples.Motor.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_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_trunk_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: 7.437041640281677]