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.001324/0.001324, allocations: 71.77 kB / 21.69 MB, free: 2.855 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.001466/0.001466, allocations: 163.6 kB / 24.99 MB, free: 8.746 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 1.012/1.012, allocations: 177.1 MB / 205.3 MB, free: 5.629 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.643e-06/1.643e-06, allocations: 0 / 273 MB, free: 1.863 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.122e-05/2.286e-05, allocations: 2.312 kB / 273 MB, free: 1.859 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.HeatTransfer.Examples.Motor): time 0.002755/0.002778, allocations: 2.281 MB / 275.3 MB, free: 15.57 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001446/0.004224, allocations: 1.196 MB / 276.5 MB, free: 14.36 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001112/0.004335, allocations: 4 kB / 276.5 MB, free: 14.36 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003208/0.004656, allocations: 91.44 kB / 276.6 MB, free: 14.27 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003699/0.005026, allocations: 174.9 kB / 276.8 MB, free: 14.1 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002419/0.005268, allocations: 123.5 kB / 276.9 MB, free: 13.98 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.000274/0.005542, allocations: 302.6 kB / 277.2 MB, free: 13.68 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001519/0.005694, allocations: 64.77 kB / 277.3 MB, free: 13.62 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001464/0.00584, allocations: 159.7 kB / 277.4 MB, free: 13.46 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001428/0.005983, allocations: 107.7 kB / 277.5 MB, free: 13.36 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 2.553e-05/0.006009, allocations: 16 kB / 277.5 MB, free: 13.34 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001058/0.006114, allocations: 59.91 kB / 277.6 MB, free: 13.28 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 6.707e-05/0.006181, allocations: 59.77 kB / 277.6 MB, free: 13.22 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 7.563e-05/0.006257, allocations: 79.83 kB / 277.7 MB, free: 13.14 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002721/0.006529, allocations: 219.2 kB / 277.9 MB, free: 12.93 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.174e-06/0.006531, allocations: 0 / 277.9 MB, free: 12.93 MB / 266.7 MB Notification: Performance of FrontEnd: time 7.71e-07/0.006532, allocations: 0 / 277.9 MB, free: 12.93 MB / 266.7 MB Notification: Performance of Transformations before backend: time 5.289e-06/0.006537, allocations: 0 / 277.9 MB, free: 12.93 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.0005989/0.007136, allocations: 0.5817 MB / 278.5 MB, free: 12.31 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.515e-05/0.007171, allocations: 16.03 kB / 278.5 MB, free: 12.3 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001518/0.007323, allocations: 52.62 kB / 278.6 MB, free: 12.25 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002238/0.007547, allocations: 200.1 kB / 278.8 MB, free: 12.02 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.987e-05/0.007567, allocations: 12.38 kB / 278.8 MB, free: 12.01 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.89e-05/0.007596, allocations: 20.38 kB / 278.8 MB, free: 11.99 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002053/0.007801, allocations: 134.7 kB / 278.9 MB, free: 11.85 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.196e-05/0.007813, allocations: 7.938 kB / 279 MB, free: 11.84 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.596e-05/0.007829, allocations: 7.984 kB / 279 MB, free: 11.84 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.426e-06/0.007837, allocations: 4 kB / 279 MB, free: 11.83 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001333/0.007971, allocations: 71.72 kB / 279 MB, free: 11.76 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005927/0.008563, allocations: 0.503 MB / 279.5 MB, free: 11.22 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001871/0.008751, allocations: 126.9 kB / 279.7 MB, free: 11.09 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.558e-05/0.008826, allocations: 63.59 kB / 279.7 MB, free: 11.02 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.508e-05/0.008841, allocations: 4.344 kB / 279.7 MB, free: 11.02 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001356/0.008977, allocations: 108.2 kB / 279.8 MB, free: 10.9 MB / 266.7 MB Notification: Performance of pre-optimization done (n=20): time 1.974e-06/0.008979, allocations: 0 / 279.8 MB, free: 10.9 MB / 266.7 MB Notification: Performance of matching and sorting (n=20): time 0.0002982/0.009277, allocations: 185.5 kB / 280 MB, free: 10.71 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.041e-05/0.009307, allocations: 59.34 kB / 280.1 MB, free: 10.64 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003091/0.009616, allocations: 274.7 kB / 280.3 MB, free: 10.35 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.912e-05/0.009636, allocations: 29.7 kB / 280.4 MB, free: 10.32 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.67e-05/0.009722, allocations: 199 kB / 280.6 MB, free: 10.11 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.134e-05/0.009764, allocations: 71.42 kB / 280.6 MB, free: 10.04 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.877e-05/0.009812, allocations: 51.3 kB / 280.7 MB, free: 9.984 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001099/0.009922, allocations: 0.5079 MB / 281.2 MB, free: 9.465 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.262e-05/0.009975, allocations: 31.98 kB / 281.2 MB, free: 9.434 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.292e-05/0.01005, allocations: 75.38 kB / 281.3 MB, free: 9.344 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000127/0.01017, allocations: 125.6 kB / 281.4 MB, free: 9.207 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/0.01018, allocations: 0 / 281.4 MB, free: 9.207 MB / 266.7 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0001941/0.01037, allocations: 165.4 kB / 281.6 MB, free: 9.039 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.335e-05/0.01038, allocations: 8 kB / 281.6 MB, free: 9.031 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.39e-06/0.01039, allocations: 0 / 281.6 MB, free: 9.031 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.291e-05/0.0104, allocations: 7.984 kB / 281.6 MB, free: 9.023 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001431/0.01055, allocations: 43.92 kB / 281.6 MB, free: 8.98 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.921e-06/0.01055, allocations: 4.094 kB / 281.6 MB, free: 8.977 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.037e-05/0.0106, allocations: 19.89 kB / 281.7 MB, free: 8.957 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.686e-06/0.01061, allocations: 4 kB / 281.7 MB, free: 8.953 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 9.31e-05/0.0107, allocations: 178.9 kB / 281.8 MB, free: 8.77 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.809e-05/0.01073, allocations: 31.86 kB / 281.9 MB, free: 8.738 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002255/0.01096, allocations: 174.4 kB / 282 MB, free: 8.566 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.347e-06/0.01096, allocations: 4 kB / 282 MB, free: 8.562 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.576e-06/0.01096, allocations: 3.938 kB / 282.1 MB, free: 8.559 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.047e-06/0.01097, allocations: 0 / 282.1 MB, free: 8.559 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000158/0.01113, allocations: 216.4 kB / 282.3 MB, free: 8.312 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.553e-06/0.01113, allocations: 4 kB / 282.3 MB, free: 8.309 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001101/0.01124, allocations: 35.98 kB / 282.3 MB, free: 8.273 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.214e-06/0.01124, allocations: 0 / 282.3 MB, free: 8.273 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.497e-05/0.01126, allocations: 11.98 kB / 282.3 MB, free: 8.262 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.573e-06/0.01126, allocations: 0 / 282.3 MB, free: 8.262 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.213e-06/0.01126, allocations: 0 / 282.3 MB, free: 8.262 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002731/0.01153, allocations: 248.1 kB / 282.6 MB, free: 7.996 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.965e-05/0.01155, allocations: 19.84 kB / 282.6 MB, free: 7.977 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.303e-05/0.01157, allocations: 8 kB / 282.6 MB, free: 7.969 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.777e-05/0.01161, allocations: 0 / 282.6 MB, free: 7.969 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.937e-05/0.01165, allocations: 24 kB / 282.6 MB, free: 7.945 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.388e-05/0.01166, allocations: 4 kB / 282.6 MB, free: 7.941 MB / 266.7 MB Notification: Performance of sorting global known variables: time 9.682e-05/0.01176, allocations: 201.5 kB / 282.8 MB, free: 7.746 MB / 266.7 MB Notification: Performance of sort global known variables: time 5.1e-08/0.01176, allocations: 0 / 282.8 MB, free: 7.746 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001831/0.01194, allocations: 63.83 kB / 282.9 MB, free: 7.684 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.0008131/0.01276, allocations: 389.6 kB / 283.3 MB, free: 7.438 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0001806/0.01294, allocations: 121.5 kB / 283.4 MB, free: 7.316 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.01294, allocations: 4 kB / 283.4 MB, free: 7.312 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 7.878e-05/0.01302, allocations: 66.78 kB / 283.4 MB, free: 7.246 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002268/0.01325, allocations: 56.05 kB / 283.5 MB, free: 7.195 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008076/0.01405, allocations: 478.6 kB / 284 MB, free: 6.691 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.671e-05/0.0141, allocations: 87.97 kB / 284 MB, free: 6.586 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 6.217e-05/0.01416, allocations: 25.94 kB / 284.1 MB, free: 6.562 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.791e-05/0.01421, allocations: 24.5 kB / 284.1 MB, free: 6.539 MB / 266.7 MB Notification: Performance of SimCode: time 8.62e-07/0.01421, allocations: 0 / 284.1 MB, free: 6.539 MB / 266.7 MB Notification: Performance of Templates: time 0.004563/0.01877, allocations: 2.689 MB / 286.8 MB, free: 3.891 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: 6.142697166884318]