Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Thermal.HeatTransfer.Examples.Motor.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009019/0.0009019, allocations: 88.73 kB / 21.5 MB, free: 2.984 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001392/0.001392, allocations: 164.2 kB / 24.91 MB, free: 8.762 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.9806/0.9806, allocations: 177 MB / 205.2 MB, free: 5.051 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(Modelica.Thermal.HeatTransfer.Examples.Motor,tolerance=1e-06,outputFormat="mat",numberOfIntervals=7200,variableFilter="time|core.T|winding.T",fileNamePrefix="Modelica_trunk_Modelica.Thermal.HeatTransfer.Examples.Motor") translateModel(Modelica.Thermal.HeatTransfer.Examples.Motor,tolerance=1e-06,outputFormat="mat",numberOfIntervals=7200,variableFilter="time|core.T|winding.T",fileNamePrefix="Modelica_trunk_Modelica.Thermal.HeatTransfer.Examples.Motor") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.332e-06/1.332e-06, allocations: 0 / 273.4 MB, free: 1.105 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.512e-05/1.645e-05, allocations: 2.312 kB / 273.4 MB, free: 1.102 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.HeatTransfer.Examples.Motor): time 0.003443/0.00346, allocations: 2.276 MB / 275.6 MB, free: 14.81 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001893/0.005353, allocations: 1.219 MB / 276.9 MB, free: 13.58 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001123/0.005465, allocations: 7.938 kB / 276.9 MB, free: 13.57 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003499/0.005815, allocations: 83.52 kB / 276.9 MB, free: 13.49 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004301/0.006245, allocations: 178.9 kB / 277.1 MB, free: 13.32 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002822/0.006527, allocations: 119.5 kB / 277.2 MB, free: 13.2 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005661/0.007093, allocations: 306.5 kB / 277.5 MB, free: 12.9 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001357/0.007229, allocations: 70.72 kB / 277.6 MB, free: 12.83 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001415/0.007371, allocations: 155.7 kB / 277.8 MB, free: 12.68 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001488/0.007519, allocations: 95.77 kB / 277.8 MB, free: 12.59 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 2.619e-05/0.007546, allocations: 19.98 kB / 277.9 MB, free: 12.57 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.347e-05/0.007639, allocations: 51.92 kB / 277.9 MB, free: 12.52 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 6.851e-05/0.007707, allocations: 75.69 kB / 278 MB, free: 12.44 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 6.736e-05/0.007775, allocations: 75.77 kB / 278.1 MB, free: 12.37 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002239/0.007999, allocations: 219.2 kB / 278.3 MB, free: 12.15 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.513e-06/0.008, allocations: 0 / 278.3 MB, free: 12.15 MB / 266.7 MB Notification: Performance of FrontEnd: time 6.61e-07/0.008001, allocations: 0 / 278.3 MB, free: 12.15 MB / 266.7 MB Notification: Performance of Transformations before backend: time 3.496e-06/0.008004, allocations: 0 / 278.3 MB, free: 12.15 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.00047/0.008474, allocations: 464 kB / 278.7 MB, free: 11.68 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.899e-05/0.008503, allocations: 19.98 kB / 278.8 MB, free: 11.66 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001235/0.008627, allocations: 40.83 kB / 278.8 MB, free: 11.62 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002313/0.008858, allocations: 173.3 kB / 279 MB, free: 11.42 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.093e-05/0.008879, allocations: 12.38 kB / 279 MB, free: 11.41 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.162e-05/0.008911, allocations: 20.38 kB / 279 MB, free: 11.39 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000179/0.00909, allocations: 137.5 kB / 279.1 MB, free: 11.25 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.909e-06/0.0091, allocations: 192 / 279.1 MB, free: 11.25 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.267e-05/0.009112, allocations: 4.375 kB / 279.1 MB, free: 11.24 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.644e-06/0.00912, allocations: 7.938 kB / 279.1 MB, free: 11.23 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.751e-05/0.009208, allocations: 51.75 kB / 279.2 MB, free: 11.18 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004852/0.009693, allocations: 361.2 kB / 279.5 MB, free: 10.81 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001449/0.009838, allocations: 153.2 kB / 279.7 MB, free: 10.65 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.829e-05/0.009886, allocations: 52.7 kB / 279.7 MB, free: 10.6 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.574e-05/0.009902, allocations: 4 kB / 279.7 MB, free: 10.59 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.925e-05/0.01, allocations: 90.16 kB / 279.8 MB, free: 10.49 MB / 266.7 MB Notification: Performance of pre-optimization done (n=20): time 1.392e-06/0.01, allocations: 0 / 279.8 MB, free: 10.49 MB / 266.7 MB Notification: Performance of matching and sorting (n=20): time 0.0001649/0.01017, allocations: 133.1 kB / 280 MB, free: 10.36 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.716e-05/0.01019, allocations: 55.34 kB / 280 MB, free: 10.29 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001193/0.01031, allocations: 213.1 kB / 280.2 MB, free: 10.07 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.638e-05/0.01033, allocations: 29.7 kB / 280.3 MB, free: 10.03 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.95e-05/0.01038, allocations: 136.8 kB / 280.4 MB, free: 9.891 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.907e-05/0.01042, allocations: 75.41 kB / 280.5 MB, free: 9.816 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.326e-05/0.01046, allocations: 41.67 kB / 280.5 MB, free: 9.77 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 7.502e-05/0.01054, allocations: 330.8 kB / 280.8 MB, free: 9.438 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.463e-05/0.01057, allocations: 22.81 kB / 280.9 MB, free: 9.414 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.391e-05/0.01062, allocations: 55.33 kB / 280.9 MB, free: 9.348 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.738e-05/0.0107, allocations: 110 kB / 281 MB, free: 9.227 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.913e-06/0.0107, allocations: 0 / 281 MB, free: 9.227 MB / 266.7 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0001224/0.01083, allocations: 128 kB / 281.1 MB, free: 9.098 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.077e-05/0.01084, allocations: 4 kB / 281.1 MB, free: 9.094 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.547e-06/0.01084, allocations: 0 / 281.1 MB, free: 9.094 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.134e-05/0.01085, allocations: 7.938 kB / 281.1 MB, free: 9.086 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001223/0.01097, allocations: 47.91 kB / 281.2 MB, free: 9.039 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.066e-06/0.01098, allocations: 4.094 kB / 281.2 MB, free: 9.035 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.707e-05/0.01103, allocations: 19.84 kB / 281.2 MB, free: 9.016 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.126e-06/0.01103, allocations: 4 kB / 281.2 MB, free: 9.012 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 7.358e-05/0.01111, allocations: 132.6 kB / 281.4 MB, free: 8.871 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.995e-05/0.01113, allocations: 19.98 kB / 281.4 MB, free: 8.852 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001374/0.01126, allocations: 123.4 kB / 281.5 MB, free: 8.727 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.964e-06/0.01127, allocations: 0 / 281.5 MB, free: 8.727 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.232e-06/0.01127, allocations: 3.938 kB / 281.5 MB, free: 8.723 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.507e-06/0.01127, allocations: 0 / 281.5 MB, free: 8.723 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001224/0.01139, allocations: 145.6 kB / 281.6 MB, free: 8.562 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.252e-06/0.01139, allocations: 4 kB / 281.6 MB, free: 8.559 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000102/0.0115, allocations: 43.97 kB / 281.7 MB, free: 8.516 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.74e-06/0.0115, allocations: 0 / 281.7 MB, free: 8.516 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.191e-05/0.01151, allocations: 8 kB / 281.7 MB, free: 8.508 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.573e-06/0.01152, allocations: 0 / 281.7 MB, free: 8.508 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.91e-07/0.01152, allocations: 3.938 kB / 281.7 MB, free: 8.504 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001691/0.01169, allocations: 174.6 kB / 281.9 MB, free: 8.312 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.167e-05/0.01171, allocations: 23.8 kB / 281.9 MB, free: 8.289 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.904e-05/0.01173, allocations: 7.984 kB / 281.9 MB, free: 8.281 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.608e-05/0.01176, allocations: 8 kB / 281.9 MB, free: 8.273 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.559e-05/0.01179, allocations: 16 kB / 281.9 MB, free: 8.258 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.206e-05/0.0118, allocations: 8 kB / 281.9 MB, free: 8.25 MB / 266.7 MB Notification: Performance of sorting global known variables: time 5.558e-05/0.01186, allocations: 77.98 kB / 282 MB, free: 8.172 MB / 266.7 MB Notification: Performance of sort global known variables: time 8e-08/0.01186, allocations: 0 / 282 MB, free: 8.172 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001485/0.012, allocations: 63.88 kB / 282.1 MB, free: 8.109 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.001019/0.01302, allocations: 0.4945 MB / 282.6 MB, free: 7.797 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0001181/0.01314, allocations: 87.7 kB / 282.6 MB, free: 7.711 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 4.108e-06/0.01315, allocations: 8.188 kB / 282.7 MB, free: 7.703 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 5.365e-05/0.0132, allocations: 56.75 kB / 282.7 MB, free: 7.645 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001486/0.01335, allocations: 48.64 kB / 282.8 MB, free: 7.598 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006589/0.01401, allocations: 470.3 kB / 283.2 MB, free: 7.105 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.374e-05/0.01405, allocations: 83.97 kB / 283.3 MB, free: 7.004 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 5.662e-05/0.01411, allocations: 21.95 kB / 283.3 MB, free: 6.98 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.263e-05/0.0142, allocations: 83.36 kB / 283.4 MB, free: 6.898 MB / 266.7 MB Notification: Performance of SimCode: time 8.02e-07/0.0142, allocations: 0 / 283.4 MB, free: 6.898 MB / 266.7 MB Notification: Performance of Templates: time 0.004325/0.01853, allocations: 2.918 MB / 286.3 MB, free: 4.027 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Thermal.HeatTransfer.Examples.Motor.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Thermal.HeatTransfer.Examples.Motor.pipe ; mkfifo Modelica_trunk_Modelica.Thermal.HeatTransfer.Examples.Motor.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Thermal.HeatTransfer.Examples.Motor.pipe >> ../files/Modelica_trunk_Modelica.Thermal.HeatTransfer.Examples.Motor.sim & ./Modelica_trunk_Modelica.Thermal.HeatTransfer.Examples.Motor -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Thermal.HeatTransfer.Examples.Motor.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_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 659] Reference file matches [Calling sys.exit(0), Time elapsed: 4.740806743968278]