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.001009/0.001009, allocations: 78.28 kB / 21.42 MB, free: 3.078 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.000881/0.000881, allocations: 150.3 kB / 24.81 MB, free: 9.285 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 1.013/1.013, allocations: 173.3 MB / 201.4 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.513e-06/1.513e-06, allocations: 0 / 268.4 MB, free: 6.199 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.902e-05/2.053e-05, allocations: 2.312 kB / 268.4 MB, free: 6.195 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.HeatTransfer.Examples.Motor): time 0.002545/0.002566, allocations: 2.24 MB / 270.6 MB, free: 3.941 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001297/0.003862, allocations: 1.067 MB / 271.7 MB, free: 2.867 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001104/0.003973, allocations: 4 kB / 271.7 MB, free: 2.863 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003373/0.00431, allocations: 95.44 kB / 271.8 MB, free: 2.77 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000254/0.004564, allocations: 131.1 kB / 271.9 MB, free: 2.641 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002495/0.004814, allocations: 143.5 kB / 272.1 MB, free: 2.5 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002328/0.005046, allocations: 302.6 kB / 272.4 MB, free: 2.203 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001362/0.005183, allocations: 60.72 kB / 272.4 MB, free: 2.137 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001601/0.005343, allocations: 159.6 kB / 272.6 MB, free: 1.98 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001309/0.005474, allocations: 103.7 kB / 272.7 MB, free: 1.879 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 2.479e-05/0.005498, allocations: 16 kB / 272.7 MB, free: 1.863 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.329e-05/0.005592, allocations: 51.94 kB / 272.7 MB, free: 1.812 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 5.977e-05/0.005651, allocations: 59.81 kB / 272.8 MB, free: 1.754 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 6.823e-05/0.00572, allocations: 83.77 kB / 272.9 MB, free: 1.672 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002648/0.005984, allocations: 215.1 kB / 273.1 MB, free: 1.461 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.154e-06/0.005987, allocations: 0 / 273.1 MB, free: 1.461 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.072e-06/0.005988, allocations: 0 / 273.1 MB, free: 1.461 MB / 250.7 MB Notification: Performance of Transformations before backend: time 6.272e-06/0.005994, allocations: 4 kB / 273.1 MB, free: 1.457 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.0006571/0.006651, allocations: 0.5701 MB / 273.7 MB, free: 0.8516 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.016e-05/0.006691, allocations: 16.92 kB / 273.7 MB, free: 0.8359 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001164/0.006808, allocations: 48.69 kB / 273.7 MB, free: 0.7891 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001686/0.006976, allocations: 197.1 kB / 273.9 MB, free: 0.5664 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.917e-05/0.006995, allocations: 16.16 kB / 273.9 MB, free: 0.5508 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.172e-05/0.007017, allocations: 12.38 kB / 273.9 MB, free: 0.5391 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001571/0.007174, allocations: 134.6 kB / 274.1 MB, free: 408 kB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.191e-05/0.007186, allocations: 3.938 kB / 274.1 MB, free: 404 kB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.139e-05/0.007198, allocations: 4 kB / 274.1 MB, free: 400 kB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.234e-05/0.00721, allocations: 4 kB / 274.1 MB, free: 396 kB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.848e-05/0.007298, allocations: 63.66 kB / 274.2 MB, free: 332 kB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004894/0.007788, allocations: 471.8 kB / 274.6 MB, free: 15.84 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001421/0.00793, allocations: 122.7 kB / 274.7 MB, free: 15.7 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.19e-05/0.007982, allocations: 51.64 kB / 274.8 MB, free: 15.65 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.875e-05/0.008001, allocations: 7.938 kB / 274.8 MB, free: 15.64 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001142/0.008115, allocations: 93.3 kB / 274.9 MB, free: 15.54 MB / 266.7 MB Notification: Performance of pre-optimization done (n=20): time 1.463e-06/0.008116, allocations: 0 / 274.9 MB, free: 15.54 MB / 266.7 MB Notification: Performance of matching and sorting (n=20): time 0.000247/0.008363, allocations: 172.5 kB / 275 MB, free: 15.36 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.026e-05/0.008393, allocations: 55.41 kB / 275.1 MB, free: 15.3 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001399/0.008533, allocations: 265.7 kB / 275.4 MB, free: 15.02 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.891e-05/0.008552, allocations: 33.7 kB / 275.4 MB, free: 14.98 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.008e-05/0.008632, allocations: 195 kB / 275.6 MB, free: 14.79 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.109e-05/0.008673, allocations: 71.38 kB / 275.7 MB, free: 14.71 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.725e-05/0.008721, allocations: 47.34 kB / 275.7 MB, free: 14.66 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001184/0.008839, allocations: 0.5079 MB / 276.2 MB, free: 14.14 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.959e-05/0.008869, allocations: 19.98 kB / 276.2 MB, free: 14.12 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.174e-05/0.00892, allocations: 66.7 kB / 276.3 MB, free: 14.04 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.511e-05/0.009016, allocations: 113.6 kB / 276.4 MB, free: 13.91 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.024e-06/0.009018, allocations: 4 kB / 276.4 MB, free: 13.91 MB / 266.7 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0001506/0.009168, allocations: 157.3 kB / 276.6 MB, free: 13.75 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.161e-05/0.00918, allocations: 6.969 kB / 276.6 MB, free: 13.75 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.51e-06/0.009185, allocations: 4 kB / 276.6 MB, free: 13.74 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.959e-06/0.009195, allocations: 0 / 276.6 MB, free: 13.74 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001205/0.009316, allocations: 48 kB / 276.6 MB, free: 13.7 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.31e-06/0.009321, allocations: 12 kB / 276.6 MB, free: 13.68 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.87e-05/0.00937, allocations: 19.88 kB / 276.7 MB, free: 13.66 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.805e-06/0.009378, allocations: 4 kB / 276.7 MB, free: 13.66 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.569e-05/0.009463, allocations: 168.5 kB / 276.8 MB, free: 13.48 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.547e-05/0.009489, allocations: 31.8 kB / 276.9 MB, free: 13.45 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001806/0.009669, allocations: 166.3 kB / 277 MB, free: 13.29 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.675e-06/0.009672, allocations: 4 kB / 277 MB, free: 13.28 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.242e-06/0.009673, allocations: 0 / 277 MB, free: 13.28 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.497e-06/0.009677, allocations: 0 / 277 MB, free: 13.28 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001343/0.009811, allocations: 177.1 kB / 277.2 MB, free: 13.08 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.012e-06/0.009812, allocations: 4 kB / 277.2 MB, free: 13.08 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.859e-05/0.009911, allocations: 39.86 kB / 277.2 MB, free: 13.04 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.895e-06/0.009913, allocations: 4 kB / 277.2 MB, free: 13.04 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.135e-05/0.009925, allocations: 7.984 kB / 277.2 MB, free: 13.03 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.72e-07/0.009926, allocations: 3.938 kB / 277.2 MB, free: 13.02 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.92e-07/0.009927, allocations: 0 / 277.2 MB, free: 13.02 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002197/0.01015, allocations: 220.1 kB / 277.5 MB, free: 12.79 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.007e-05/0.01017, allocations: 23.83 kB / 277.5 MB, free: 12.76 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.726e-05/0.01018, allocations: 4 kB / 277.5 MB, free: 12.76 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.025e-05/0.01022, allocations: 12.03 kB / 277.5 MB, free: 12.75 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.673e-05/0.01025, allocations: 11.97 kB / 277.5 MB, free: 12.73 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.171e-05/0.01026, allocations: 4 kB / 277.5 MB, free: 12.73 MB / 266.7 MB Notification: Performance of sorting global known variables: time 7.13e-05/0.01033, allocations: 184.5 kB / 277.7 MB, free: 12.55 MB / 266.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01033, allocations: 0 / 277.7 MB, free: 12.55 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001741/0.01051, allocations: 67.88 kB / 277.8 MB, free: 12.48 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.0008091/0.01132, allocations: 383.5 kB / 278.1 MB, free: 12.24 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0001362/0.01145, allocations: 102.7 kB / 278.2 MB, free: 12.14 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.072e-06/0.01145, allocations: 0 / 278.2 MB, free: 12.14 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 5.906e-05/0.01151, allocations: 63.56 kB / 278.3 MB, free: 12.07 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001994/0.01171, allocations: 59.55 kB / 278.4 MB, free: 12.02 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006561/0.01237, allocations: 470.4 kB / 278.8 MB, free: 11.52 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.468e-05/0.01241, allocations: 91.97 kB / 278.9 MB, free: 11.41 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 5.657e-05/0.01247, allocations: 25.62 kB / 278.9 MB, free: 11.39 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.623e-05/0.01257, allocations: 106.2 kB / 279 MB, free: 11.29 MB / 266.7 MB Notification: Performance of SimCode: time 5.01e-07/0.01257, allocations: 0 / 279 MB, free: 11.29 MB / 266.7 MB Notification: Performance of Templates: time 0.004253/0.01682, allocations: 2.893 MB / 281.9 MB, free: 8.441 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 -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: 6.12703455472365]