Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Thermal.HeatTransfer.Examples.Motor.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001528/0.001528, allocations: 85.05 kB / 21.5 MB, free: 2.992 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009792/0.0009792, allocations: 148.8 kB / 24.89 MB, free: 8.797 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 0.9827/0.9827, allocations: 173.3 MB / 201.5 MB, free: 9.191 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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.0.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.0.0_Modelica.Thermal.HeatTransfer.Examples.Motor") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.704e-06/1.704e-06, allocations: 0 / 268.5 MB, free: 6.176 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.789e-05/2.96e-05, allocations: 6.312 kB / 268.5 MB, free: 6.168 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.HeatTransfer.Examples.Motor): time 0.003159/0.003189, allocations: 2.301 MB / 270.8 MB, free: 3.852 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.00151/0.004699, allocations: 1.075 MB / 271.9 MB, free: 2.77 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001107/0.004809, allocations: 4 kB / 271.9 MB, free: 2.766 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003414/0.005151, allocations: 91.44 kB / 272 MB, free: 2.676 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002822/0.005433, allocations: 127.1 kB / 272.1 MB, free: 2.551 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003467/0.00578, allocations: 155.5 kB / 272.2 MB, free: 2.398 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003085/0.006088, allocations: 290.7 kB / 272.5 MB, free: 2.113 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001547/0.006243, allocations: 70.67 kB / 272.6 MB, free: 2.039 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001806/0.006423, allocations: 159.6 kB / 272.7 MB, free: 1.883 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001585/0.006582, allocations: 99.69 kB / 272.8 MB, free: 1.785 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 3.038e-05/0.006612, allocations: 16 kB / 272.9 MB, free: 1.77 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001385/0.006751, allocations: 51.98 kB / 272.9 MB, free: 1.719 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 6.847e-05/0.006819, allocations: 51.83 kB / 273 MB, free: 1.668 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 7.805e-05/0.006897, allocations: 83.77 kB / 273 MB, free: 1.586 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003105/0.007208, allocations: 223.1 kB / 273.3 MB, free: 1.367 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.388e-06/0.007212, allocations: 0 / 273.3 MB, free: 1.367 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.032e-06/0.007213, allocations: 0 / 273.3 MB, free: 1.367 MB / 250.7 MB Notification: Performance of Transformations before backend: time 6.492e-06/0.00722, allocations: 0 / 273.3 MB, free: 1.367 MB / 250.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.0005208/0.00774, allocations: 452.1 kB / 273.7 MB, free: 0.9023 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.509e-05/0.007775, allocations: 8.922 kB / 273.7 MB, free: 0.8945 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001461/0.007922, allocations: 52.78 kB / 273.8 MB, free: 0.8438 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002047/0.008126, allocations: 178.4 kB / 273.9 MB, free: 0.6406 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.796e-05/0.008144, allocations: 8.375 kB / 273.9 MB, free: 0.6328 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.424e-05/0.008169, allocations: 16.38 kB / 274 MB, free: 0.6172 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000168/0.008336, allocations: 145.2 kB / 274.1 MB, free: 476 kB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.145e-05/0.008348, allocations: 3.938 kB / 274.1 MB, free: 472 kB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.159e-05/0.00836, allocations: 8 kB / 274.1 MB, free: 464 kB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.562e-06/0.008366, allocations: 4 kB / 274.1 MB, free: 460 kB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.345e-05/0.00845, allocations: 51.75 kB / 274.2 MB, free: 408 kB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004549/0.008904, allocations: 365.2 kB / 274.5 MB, free: 24 kB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001649/0.009069, allocations: 157 kB / 274.7 MB, free: 15.86 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.771e-05/0.009117, allocations: 40.84 kB / 274.7 MB, free: 15.82 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.721e-05/0.009134, allocations: 4 kB / 274.7 MB, free: 15.81 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001288/0.009263, allocations: 102 kB / 274.8 MB, free: 15.7 MB / 266.7 MB Notification: Performance of pre-optimization done (n=20): time 2.915e-06/0.009266, allocations: 0 / 274.8 MB, free: 15.7 MB / 266.7 MB Notification: Performance of matching and sorting (n=20): time 0.0001938/0.00946, allocations: 120.9 kB / 274.9 MB, free: 15.58 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.202e-05/0.009492, allocations: 51.41 kB / 275 MB, free: 15.52 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001421/0.009634, allocations: 220.1 kB / 275.2 MB, free: 15.29 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.257e-05/0.009656, allocations: 29.7 kB / 275.2 MB, free: 15.25 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.151e-05/0.009718, allocations: 128.3 kB / 275.4 MB, free: 15.12 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.786e-05/0.009766, allocations: 75.41 kB / 275.4 MB, free: 15.05 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.35e-05/0.009819, allocations: 41.69 kB / 275.5 MB, free: 15 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 9.694e-05/0.009916, allocations: 334.8 kB / 275.8 MB, free: 14.66 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.844e-05/0.009955, allocations: 26.81 kB / 275.8 MB, free: 14.64 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.142e-05/0.01001, allocations: 55.34 kB / 275.9 MB, free: 14.57 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.997e-05/0.01011, allocations: 104 kB / 276 MB, free: 14.46 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.525e-06/0.01011, allocations: 0 / 276 MB, free: 14.46 MB / 266.7 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0001356/0.01024, allocations: 120.3 kB / 276.1 MB, free: 14.33 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.755e-05/0.01026, allocations: 11.94 kB / 276.1 MB, free: 14.32 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.001e-06/0.01027, allocations: 0 / 276.1 MB, free: 14.32 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.4e-05/0.01028, allocations: 0 / 276.1 MB, free: 14.32 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001873/0.01047, allocations: 59.91 kB / 276.2 MB, free: 14.26 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.376e-06/0.01047, allocations: 0 / 276.2 MB, free: 14.26 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.583e-05/0.01052, allocations: 11.98 kB / 276.2 MB, free: 14.25 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.388e-06/0.01053, allocations: 12 kB / 276.2 MB, free: 14.24 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.175e-05/0.01062, allocations: 131.4 kB / 276.3 MB, free: 14.1 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.388e-05/0.01064, allocations: 23.92 kB / 276.3 MB, free: 14.08 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001767/0.01082, allocations: 122.4 kB / 276.5 MB, free: 13.95 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.667e-06/0.01082, allocations: 4 kB / 276.5 MB, free: 13.95 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.687e-06/0.01083, allocations: 3.938 kB / 276.5 MB, free: 13.94 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.802e-06/0.01083, allocations: 3.984 kB / 276.5 MB, free: 13.94 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001426/0.01098, allocations: 137.8 kB / 276.6 MB, free: 13.79 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.834e-06/0.01098, allocations: 3.938 kB / 276.6 MB, free: 13.78 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000136/0.01111, allocations: 51.91 kB / 276.7 MB, free: 13.73 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.755e-06/0.01112, allocations: 0 / 276.7 MB, free: 13.73 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.085e-05/0.01113, allocations: 4 kB / 276.7 MB, free: 13.73 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.326e-06/0.01113, allocations: 4 kB / 276.7 MB, free: 13.72 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.01113, allocations: 0 / 276.7 MB, free: 13.72 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001983/0.01133, allocations: 182.5 kB / 276.8 MB, free: 13.52 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.242e-05/0.01135, allocations: 19.84 kB / 276.9 MB, free: 13.5 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.005e-05/0.01137, allocations: 4 kB / 276.9 MB, free: 13.5 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.951e-05/0.01141, allocations: 8 kB / 276.9 MB, free: 13.49 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.64e-05/0.01145, allocations: 11.97 kB / 276.9 MB, free: 13.48 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.404e-05/0.01146, allocations: 11.97 kB / 276.9 MB, free: 13.47 MB / 266.7 MB Notification: Performance of sorting global known variables: time 6.646e-05/0.01153, allocations: 77 kB / 277 MB, free: 13.39 MB / 266.7 MB Notification: Performance of sort global known variables: time 8e-08/0.01153, allocations: 0 / 277 MB, free: 13.39 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001872/0.01172, allocations: 63.83 kB / 277 MB, free: 13.33 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.001075/0.01279, allocations: 0.4961 MB / 277.5 MB, free: 13.06 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0001615/0.01295, allocations: 95.92 kB / 277.6 MB, free: 12.97 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 6.262e-06/0.01296, allocations: 4 kB / 277.6 MB, free: 12.96 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 5.516e-05/0.01302, allocations: 52.91 kB / 277.7 MB, free: 12.91 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001849/0.0132, allocations: 51.84 kB / 277.7 MB, free: 12.86 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007405/0.01394, allocations: 454.5 kB / 278.2 MB, free: 12.38 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.741e-05/0.01399, allocations: 91.91 kB / 278.3 MB, free: 12.27 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 6.664e-05/0.01405, allocations: 25.94 kB / 278.3 MB, free: 12.24 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001006/0.01416, allocations: 87.36 kB / 278.4 MB, free: 12.16 MB / 266.7 MB Notification: Performance of SimCode: time 9.92e-07/0.01416, allocations: 0 / 278.4 MB, free: 12.16 MB / 266.7 MB Notification: Performance of Templates: time 0.004789/0.01895, allocations: 2.964 MB / 281.3 MB, free: 9.258 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Thermal.HeatTransfer.Examples.Motor.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Thermal.HeatTransfer.Examples.Motor.pipe ; mkfifo Modelica_4.0.0_Modelica.Thermal.HeatTransfer.Examples.Motor.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Thermal.HeatTransfer.Examples.Motor.pipe >> ../files/Modelica_4.0.0_Modelica.Thermal.HeatTransfer.Examples.Motor.sim & ./Modelica_4.0.0_Modelica.Thermal.HeatTransfer.Examples.Motor -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Thermal.HeatTransfer.Examples.Motor.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.0.0_Modelica.Thermal.HeatTransfer.Examples.Motor_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Thermal/HeatTransfer/Examples/Motor/Motor.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 659] Reference file matches [Calling sys.exit(0), Time elapsed: 5.967207032255828]