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.001903/0.001903, allocations: 103.6 kB / 21.18 MB, free: 0.6445 MB / 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.002188/0.002188, allocations: 211.5 kB / 24.48 MB, free: 3.938 MB / 14.72 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 1.483/1.483, allocations: 230.6 MB / 258.3 MB, free: 7.738 MB / 206.1 MB " [Timeout remaining time 178] 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 0.001644/0.001644, allocations: 51.91 kB / 379 MB, free: 2.461 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2477/0.2494, allocations: 53.36 MB / 432.3 MB, free: 6.566 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.HeatTransfer.Examples.Motor): time 0.003879/0.2533, allocations: 2.158 MB / 434.5 MB, free: 4.398 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002349/0.2556, allocations: 1.169 MB / 435.6 MB, free: 3.223 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001327/0.2558, allocations: 0 / 435.6 MB, free: 3.223 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003554/0.2561, allocations: 99.48 kB / 435.7 MB, free: 3.125 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004534/0.2566, allocations: 163.1 kB / 435.9 MB, free: 2.965 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002961/0.2569, allocations: 115.6 kB / 436 MB, free: 2.852 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003795/0.2572, allocations: 298.8 kB / 436.3 MB, free: 2.559 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001887/0.2574, allocations: 68.42 kB / 436.4 MB, free: 2.492 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001709/0.2576, allocations: 119.5 kB / 436.5 MB, free: 2.375 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002077/0.2578, allocations: 119.5 kB / 436.6 MB, free: 2.258 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.978e-05/0.2578, allocations: 20 kB / 436.6 MB, free: 2.238 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001426/0.258, allocations: 47.98 kB / 436.7 MB, free: 2.191 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 8.886e-05/0.2581, allocations: 59.77 kB / 436.7 MB, free: 2.133 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001286/0.2582, allocations: 103.5 kB / 436.8 MB, free: 2.031 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004143/0.2586, allocations: 289.8 kB / 437.1 MB, free: 1.75 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.747e-06/0.2586, allocations: 4 kB / 437.1 MB, free: 1.746 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.593e-06/0.2586, allocations: 0 / 437.1 MB, free: 1.746 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.492e-06/0.2586, allocations: 0 / 437.1 MB, free: 1.746 MB / 334.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.0008793/0.2595, allocations: 497.2 kB / 437.6 MB, free: 1.23 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.234e-05/0.2595, allocations: 8.031 kB / 437.6 MB, free: 1.223 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001437/0.2597, allocations: 32.75 kB / 437.6 MB, free: 1.191 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003869/0.2601, allocations: 213.9 kB / 437.9 MB, free: 0.957 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.491e-05/0.2601, allocations: 12.36 kB / 437.9 MB, free: 0.9453 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.307e-05/0.2601, allocations: 20.12 kB / 437.9 MB, free: 0.9258 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003352/0.2605, allocations: 165.5 kB / 438 MB, free: 0.7578 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.76e-05/0.2605, allocations: 4 kB / 438 MB, free: 0.7539 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.965e-05/0.2605, allocations: 4 kB / 438.1 MB, free: 0.75 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.684e-06/0.2605, allocations: 4 kB / 438.1 MB, free: 0.7461 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002802/0.2608, allocations: 119.7 kB / 438.2 MB, free: 0.6289 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009088/0.2617, allocations: 475.8 kB / 438.6 MB, free: 136 kB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003805/0.2621, allocations: 162.5 kB / 438.8 MB, free: 15.96 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001603/0.2623, allocations: 76.83 kB / 438.9 MB, free: 15.89 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.349e-05/0.2623, allocations: 4 kB / 438.9 MB, free: 15.88 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000257/0.2625, allocations: 119.6 kB / 439 MB, free: 15.75 MB / 350.1 MB Notification: Performance of pre-optimization done (n=20): time 2.214e-06/0.2625, allocations: 0 / 439 MB, free: 15.75 MB / 350.1 MB Notification: Performance of matching and sorting (n=20): time 0.0005345/0.2631, allocations: 236.2 kB / 439.2 MB, free: 15.52 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.823e-05/0.2631, allocations: 55.41 kB / 439.3 MB, free: 15.45 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000291/0.2634, allocations: 268.1 kB / 439.5 MB, free: 15.18 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.753e-05/0.2634, allocations: 29.7 kB / 439.6 MB, free: 15.14 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001239/0.2636, allocations: 152.3 kB / 439.7 MB, free: 14.99 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.74e-05/0.2636, allocations: 67.39 kB / 439.8 MB, free: 14.93 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.054e-05/0.2637, allocations: 45.64 kB / 439.8 MB, free: 14.88 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001638/0.2639, allocations: 338.8 kB / 440.2 MB, free: 14.54 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001207/0.264, allocations: 55.91 kB / 440.2 MB, free: 14.48 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001544/0.2641, allocations: 83.41 kB / 440.3 MB, free: 14.39 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002757/0.2644, allocations: 155.3 kB / 440.4 MB, free: 14.22 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.063e-06/0.2644, allocations: 0 / 440.4 MB, free: 14.22 MB / 350.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0003796/0.2648, allocations: 212.1 kB / 440.7 MB, free: 14.01 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.51e-05/0.2648, allocations: 4 kB / 440.7 MB, free: 14.01 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.494e-06/0.2648, allocations: 3.984 kB / 440.7 MB, free: 14 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.353e-05/0.2648, allocations: 4 kB / 440.7 MB, free: 14 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002174/0.2651, allocations: 39.98 kB / 440.7 MB, free: 13.96 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.741e-05/0.2651, allocations: 7.938 kB / 440.7 MB, free: 13.95 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001053/0.2652, allocations: 23.92 kB / 440.7 MB, free: 13.93 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.644e-05/0.2652, allocations: 8 kB / 440.7 MB, free: 13.92 MB / 350.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.0001442/0.2653, allocations: 141.8 kB / 440.9 MB, free: 13.77 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.363e-05/0.2654, allocations: 23.86 kB / 440.9 MB, free: 13.75 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004372/0.2658, allocations: 219.3 kB / 441.1 MB, free: 13.53 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.011e-06/0.2658, allocations: 4 kB / 441.1 MB, free: 13.52 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.008e-06/0.2658, allocations: 0 / 441.1 MB, free: 13.52 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.456e-06/0.2658, allocations: 0 / 441.1 MB, free: 13.52 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002732/0.2661, allocations: 221 kB / 441.3 MB, free: 13.28 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.543e-06/0.2661, allocations: 0 / 441.3 MB, free: 13.28 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002/0.2663, allocations: 39.98 kB / 441.4 MB, free: 13.24 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.019e-06/0.2663, allocations: 4 kB / 441.4 MB, free: 13.23 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.49e-05/0.2663, allocations: 3.938 kB / 441.4 MB, free: 13.23 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.663e-06/0.2663, allocations: 0 / 441.4 MB, free: 13.23 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.286e-06/0.2663, allocations: 4 kB / 441.4 MB, free: 13.23 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000549/0.2669, allocations: 310.3 kB / 441.7 MB, free: 12.91 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.194e-05/0.2669, allocations: 23.81 kB / 441.7 MB, free: 12.88 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.532e-05/0.267, allocations: 8 kB / 441.7 MB, free: 12.88 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.113e-05/0.267, allocations: 4 kB / 441.7 MB, free: 12.87 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.982e-05/0.2671, allocations: 19.91 kB / 441.7 MB, free: 12.85 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.925e-05/0.2671, allocations: 8.062 kB / 441.8 MB, free: 12.84 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002006/0.2673, allocations: 197.6 kB / 441.9 MB, free: 12.65 MB / 350.1 MB Notification: Performance of sort global known variables: time 7e-08/0.2673, allocations: 0 / 441.9 MB, free: 12.65 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002884/0.2676, allocations: 59.89 kB / 442 MB, free: 12.59 MB / 350.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.001673/0.2693, allocations: 444.1 kB / 442.4 MB, free: 12.34 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.000347/0.2696, allocations: 142.3 kB / 442.6 MB, free: 12.2 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.754e-06/0.2696, allocations: 0 / 442.6 MB, free: 12.2 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001545/0.2698, allocations: 80.03 kB / 442.7 MB, free: 12.12 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000341/0.2701, allocations: 47.86 kB / 442.7 MB, free: 12.08 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001098/0.2712, allocations: 0.5931 MB / 443.3 MB, free: 11.45 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001547/0.2714, allocations: 149.6 kB / 443.4 MB, free: 11.29 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.608e-05/0.2714, allocations: 19.44 kB / 443.5 MB, free: 11.27 MB / 350.1 MB Notification: Performance of SimCode: time 5.81e-07/0.2714, allocations: 0 / 443.5 MB, free: 11.27 MB / 350.1 MB Notification: Performance of Templates: time 0.006043/0.2775, allocations: 3.249 MB / 446.7 MB, free: 8.023 MB / 350.1 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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Thermal/HeatTransfer/Examples/Motor/Motor.csv","/var/lib/jenkins1/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 658] Reference file matches [Calling sys.exit(0), Time elapsed: 14.15953302429989]