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.001026/0.001026, allocations: 80.41 kB / 22.21 MB, free: 2.289 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.0009765/0.0009765, allocations: 165.7 kB / 25.61 MB, free: 8.492 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.9425/0.9425, allocations: 177.1 MB / 206.1 MB, free: 4.508 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.703e-06/1.703e-06, allocations: 0 / 274.2 MB, free: 4.434 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.319e-05/1.49e-05, allocations: 5.266 kB / 274.2 MB, free: 4.43 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.HeatTransfer.Examples.Motor): time 0.002462/0.002476, allocations: 2.269 MB / 276.4 MB, free: 2.16 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001433/0.00391, allocations: 1.188 MB / 277.6 MB, free: 0.9688 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.721e-05/0.004007, allocations: 6 kB / 277.6 MB, free: 0.9648 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002891/0.004296, allocations: 91.44 kB / 277.7 MB, free: 0.875 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000308/0.004604, allocations: 168.9 kB / 277.9 MB, free: 0.7109 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002003/0.004804, allocations: 123.5 kB / 278 MB, free: 0.5898 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002427/0.005047, allocations: 302.6 kB / 278.3 MB, free: 300 kB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001426/0.00519, allocations: 60.78 kB / 278.4 MB, free: 236 kB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001374/0.005327, allocations: 167.6 kB / 278.5 MB, free: 68 kB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001469/0.005474, allocations: 100.3 kB / 278.6 MB, free: 15.97 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 2.427e-05/0.005498, allocations: 24 kB / 278.6 MB, free: 15.95 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.251e-05/0.005591, allocations: 55.92 kB / 278.7 MB, free: 15.89 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 5.815e-05/0.005649, allocations: 59.8 kB / 278.8 MB, free: 15.83 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 6.34e-05/0.005712, allocations: 79.78 kB / 278.8 MB, free: 15.75 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002212/0.005934, allocations: 219.2 kB / 279 MB, free: 15.54 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.643e-06/0.005935, allocations: 0 / 279 MB, free: 15.54 MB / 266.7 MB Notification: Performance of FrontEnd: time 6.02e-07/0.005936, allocations: 0 / 279 MB, free: 15.54 MB / 266.7 MB Notification: Performance of Transformations before backend: time 3.928e-06/0.00594, allocations: 0 / 279 MB, free: 15.54 MB / 266.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.0005348/0.006475, allocations: 0.5817 MB / 279.6 MB, free: 14.92 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.048e-05/0.006505, allocations: 12.03 kB / 279.6 MB, free: 14.91 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001175/0.006623, allocations: 56.67 kB / 279.7 MB, free: 14.86 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001745/0.006797, allocations: 192.1 kB / 279.9 MB, free: 14.64 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.765e-05/0.006815, allocations: 12.38 kB / 279.9 MB, free: 14.63 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.53e-05/0.00684, allocations: 28.25 kB / 279.9 MB, free: 14.6 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001531/0.006993, allocations: 130.6 kB / 280 MB, free: 14.46 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.49e-05/0.007008, allocations: 3.938 kB / 280.1 MB, free: 14.46 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.183e-05/0.00702, allocations: 4 kB / 280.1 MB, free: 14.46 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.963e-06/0.007027, allocations: 11.98 kB / 280.1 MB, free: 14.45 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.846e-05/0.007115, allocations: 59.72 kB / 280.1 MB, free: 14.39 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004705/0.007586, allocations: 475.7 kB / 280.6 MB, free: 13.89 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001348/0.007721, allocations: 111 kB / 280.7 MB, free: 13.77 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.639e-05/0.007777, allocations: 51.64 kB / 280.8 MB, free: 13.72 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.356e-05/0.007791, allocations: 7.938 kB / 280.8 MB, free: 13.71 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001095/0.0079, allocations: 105.2 kB / 280.9 MB, free: 13.59 MB / 266.7 MB Notification: Performance of pre-optimization done (n=20): time 1.313e-06/0.007901, allocations: 4 kB / 280.9 MB, free: 13.59 MB / 266.7 MB Notification: Performance of matching and sorting (n=20): time 0.0002283/0.00813, allocations: 164.7 kB / 281 MB, free: 13.43 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.878e-05/0.008159, allocations: 55.41 kB / 281.1 MB, free: 13.36 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001374/0.008296, allocations: 266.6 kB / 281.3 MB, free: 13.08 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.047e-05/0.008316, allocations: 29.7 kB / 281.4 MB, free: 13.04 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.008e-05/0.008396, allocations: 199 kB / 281.6 MB, free: 12.84 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.46e-05/0.008441, allocations: 75.36 kB / 281.6 MB, free: 12.77 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.723e-05/0.008488, allocations: 55.28 kB / 281.7 MB, free: 12.71 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001172/0.008605, allocations: 0.5079 MB / 282.2 MB, free: 12.19 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.058e-05/0.008636, allocations: 23.98 kB / 282.2 MB, free: 12.16 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.585e-05/0.008692, allocations: 66.7 kB / 282.3 MB, free: 12.08 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.49e-05/0.008787, allocations: 104.7 kB / 282.4 MB, free: 11.96 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.903e-06/0.008789, allocations: 0 / 282.4 MB, free: 11.96 MB / 266.7 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0001586/0.008947, allocations: 157.4 kB / 282.5 MB, free: 11.8 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.038e-05/0.008958, allocations: 8 kB / 282.6 MB, free: 11.8 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.32e-06/0.008963, allocations: 4 kB / 282.6 MB, free: 11.79 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.008e-05/0.008973, allocations: 8.094 kB / 282.6 MB, free: 11.79 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001222/0.009095, allocations: 47.91 kB / 282.6 MB, free: 11.74 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.675e-06/0.009098, allocations: 3.938 kB / 282.6 MB, free: 11.73 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.822e-05/0.009146, allocations: 19.89 kB / 282.6 MB, free: 11.71 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.857e-06/0.009155, allocations: 4 kB / 282.6 MB, free: 11.71 MB / 266.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.316e-05/0.009238, allocations: 172.5 kB / 282.8 MB, free: 11.53 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.539e-05/0.009264, allocations: 27.86 kB / 282.8 MB, free: 11.5 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001776/0.009441, allocations: 162.5 kB / 283 MB, free: 11.34 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.484e-06/0.009444, allocations: 4 kB / 283 MB, free: 11.34 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.583e-06/0.009445, allocations: 4 kB / 283 MB, free: 11.34 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.357e-06/0.009449, allocations: 0 / 283 MB, free: 11.34 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001435/0.009592, allocations: 177 kB / 283.2 MB, free: 11.14 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.402e-06/0.009593, allocations: 4 kB / 283.2 MB, free: 11.13 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001024/0.009696, allocations: 39.86 kB / 283.2 MB, free: 11.09 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.685e-06/0.009699, allocations: 4 kB / 283.2 MB, free: 11.09 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.188e-05/0.00971, allocations: 7.984 kB / 283.2 MB, free: 11.08 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.613e-06/0.009712, allocations: 3.984 kB / 283.2 MB, free: 11.08 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.81e-07/0.009713, allocations: 0 / 283.2 MB, free: 11.08 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002166/0.009929, allocations: 224 kB / 283.4 MB, free: 10.84 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.089e-05/0.00995, allocations: 23.84 kB / 283.5 MB, free: 10.81 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.885e-05/0.009969, allocations: 8.031 kB / 283.5 MB, free: 10.8 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.774e-05/0.01001, allocations: 8 kB / 283.5 MB, free: 10.8 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.794e-05/0.01003, allocations: 11.97 kB / 283.5 MB, free: 10.79 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.294e-05/0.01005, allocations: 8 kB / 283.5 MB, free: 10.78 MB / 266.7 MB Notification: Performance of sorting global known variables: time 8.657e-05/0.01013, allocations: 193.5 kB / 283.7 MB, free: 10.59 MB / 266.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01013, allocations: 0 / 283.7 MB, free: 10.59 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001803/0.01031, allocations: 67.83 kB / 283.8 MB, free: 10.52 MB / 266.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.0008508/0.01117, allocations: 384 kB / 284.1 MB, free: 10.29 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0001446/0.01131, allocations: 111.3 kB / 284.2 MB, free: 10.18 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.062e-06/0.01131, allocations: 0 / 284.2 MB, free: 10.18 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 6.157e-05/0.01137, allocations: 63.58 kB / 284.3 MB, free: 10.11 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001996/0.01157, allocations: 48.89 kB / 284.4 MB, free: 10.06 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006456/0.01222, allocations: 477.8 kB / 284.8 MB, free: 9.559 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.957e-05/0.01227, allocations: 87.88 kB / 284.9 MB, free: 9.453 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 5.908e-05/0.01233, allocations: 29.94 kB / 284.9 MB, free: 9.426 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.315e-05/0.01242, allocations: 110.2 kB / 285 MB, free: 9.316 MB / 266.7 MB Notification: Performance of SimCode: time 4.11e-07/0.01242, allocations: 0 / 285 MB, free: 9.316 MB / 266.7 MB Notification: Performance of Templates: time 0.004372/0.01679, allocations: 2.96 MB / 288 MB, free: 6.414 MB / 266.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=240 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Thermal.HeatTransfer.Examples.Motor.pipe 2>&1) [Timeout 240] 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 658] Reference file matches [Calling sys.exit(0), Time elapsed: 5.847273337189108]