Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Thermal.HeatTransfer.Examples.Motor.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(Modelica.Thermal.HeatTransfer.Examples.Motor,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1440000,variableFilter="time|core.T|winding.T",fileNamePrefix="Modelica_3.2.3_Modelica.Thermal.HeatTransfer.Examples.Motor") translateModel(Modelica.Thermal.HeatTransfer.Examples.Motor,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1440000,variableFilter="time|core.T|winding.T",fileNamePrefix="Modelica_3.2.3_Modelica.Thermal.HeatTransfer.Examples.Motor") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001064/0.001064, allocations: 181.1 kB / 17.01 MB, free: 5.121 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.512/1.512, allocations: 205.4 MB / 223.1 MB, free: 9.125 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.000873/0.000873, allocations: 96.97 kB / 271.5 MB, free: 8.363 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000255/0.0002551, allocations: 8 kB / 328.2 MB, free: 15.54 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.279/0.2793, allocations: 47.57 MB / 375.8 MB, free: 45.62 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1054/0.3848, allocations: 79.48 MB / 455.3 MB, free: 1.176 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002594/0.3851, allocations: 75.95 kB / 455.4 MB, free: 1.102 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01623/0.4013, allocations: 5.804 MB / 461.2 MB, free: 11.3 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.593e-06/0.4014, allocations: 0 / 461.2 MB, free: 11.3 MB / 346.7 MB Notification: Performance of Transformations before backend: time 2.065e-05/0.4014, allocations: 4 kB / 461.2 MB, free: 11.29 MB / 346.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.0008841/0.4023, allocations: 0.5188 MB / 461.7 MB, free: 10.72 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.726e-05/0.4023, allocations: 12.03 kB / 461.7 MB, free: 10.71 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001805/0.4025, allocations: 39.58 kB / 461.7 MB, free: 10.67 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004488/0.403, allocations: 251.5 kB / 462 MB, free: 10.38 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.477e-05/0.403, allocations: 12 kB / 462 MB, free: 10.37 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.495e-05/0.4031, allocations: 23.94 kB / 462 MB, free: 10.35 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003367/0.4034, allocations: 157.4 kB / 462.2 MB, free: 10.19 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.798e-05/0.4035, allocations: 4 kB / 462.2 MB, free: 10.18 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.233e-05/0.4035, allocations: 11.92 kB / 462.2 MB, free: 10.17 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.622e-06/0.4035, allocations: 4 kB / 462.2 MB, free: 10.17 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002519/0.4038, allocations: 123.7 kB / 462.3 MB, free: 10.05 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009606/0.4047, allocations: 0.5821 MB / 462.9 MB, free: 9.41 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003142/0.4051, allocations: 164.7 kB / 463.1 MB, free: 9.242 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.14e-05/0.4051, allocations: 0 / 463.1 MB, free: 9.242 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002473/0.4053, allocations: 127.8 kB / 463.2 MB, free: 9.105 MB / 346.7 MB Notification: Performance of pre-optimization done (n=20): time 2.074e-06/0.4054, allocations: 0 / 463.2 MB, free: 9.105 MB / 346.7 MB Notification: Performance of matching and sorting (n=20): time 0.000529/0.4059, allocations: 237.4 kB / 463.4 MB, free: 8.871 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.385e-05/0.406, allocations: 63.36 kB / 463.5 MB, free: 8.797 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002594/0.4062, allocations: 236.2 kB / 463.7 MB, free: 8.559 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.232e-05/0.4063, allocations: 25.7 kB / 463.7 MB, free: 8.527 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001015/0.4064, allocations: 144.3 kB / 463.9 MB, free: 8.383 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.122e-05/0.4064, allocations: 71.08 kB / 463.9 MB, free: 8.312 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.008e-05/0.4065, allocations: 4 kB / 463.9 MB, free: 8.309 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001472/0.4066, allocations: 330.8 kB / 464.3 MB, free: 7.977 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001262/0.4067, allocations: 55.91 kB / 464.3 MB, free: 7.922 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001407/0.4069, allocations: 97.48 kB / 464.4 MB, free: 7.816 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001353/0.407, allocations: 61.06 kB / 464.5 MB, free: 7.762 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.307e-06/0.407, allocations: 0 / 464.5 MB, free: 7.762 MB / 346.7 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0003781/0.4074, allocations: 211.9 kB / 464.7 MB, free: 7.551 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.797e-05/0.4075, allocations: 8.094 kB / 464.7 MB, free: 7.543 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.821e-06/0.4075, allocations: 0 / 464.7 MB, free: 7.543 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.684e-05/0.4075, allocations: 4 kB / 464.7 MB, free: 7.539 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002303/0.4077, allocations: 47.92 kB / 464.7 MB, free: 7.492 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.448e-06/0.4077, allocations: 4 kB / 464.8 MB, free: 7.488 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001354/0.4079, allocations: 31.62 kB / 464.8 MB, free: 7.457 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.684e-05/0.4079, allocations: 8 kB / 464.8 MB, free: 7.449 MB / 346.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 ($whenCondition1,$PRE.lossTable.nextTimeEvent,lossTable.nextTimeEvent,$PRE.lossTable.nextTimeEventScaled,lossTable.nextTimeEventScaled) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001379/0.4081, allocations: 145.8 kB / 464.9 MB, free: 7.297 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.607e-05/0.4081, allocations: 19.81 kB / 465 MB, free: 7.277 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004952/0.4086, allocations: 227.6 kB / 465.2 MB, free: 7.051 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.757e-06/0.4086, allocations: 0 / 465.2 MB, free: 7.051 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.37e-06/0.4086, allocations: 4 kB / 465.2 MB, free: 7.047 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.972e-06/0.4087, allocations: 3.984 kB / 465.2 MB, free: 7.043 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003523/0.409, allocations: 297.3 kB / 465.5 MB, free: 6.703 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.957e-06/0.409, allocations: 4 kB / 465.5 MB, free: 6.699 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002024/0.4092, allocations: 39.92 kB / 465.5 MB, free: 6.66 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.422e-06/0.4093, allocations: 8 kB / 465.5 MB, free: 6.652 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.925e-05/0.4093, allocations: 0 / 465.5 MB, free: 6.652 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.386e-06/0.4093, allocations: 4 kB / 465.5 MB, free: 6.648 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.655e-06/0.4093, allocations: 3.984 kB / 465.5 MB, free: 6.645 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005573/0.4099, allocations: 307.4 kB / 465.8 MB, free: 6.328 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000113/0.41, allocations: 100.8 kB / 465.9 MB, free: 6.211 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.195e-05/0.41, allocations: 7.984 kB / 465.9 MB, free: 6.203 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001033/0.4102, allocations: 16.06 kB / 466 MB, free: 6.188 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.661e-05/0.4102, allocations: 7.984 kB / 466 MB, free: 6.18 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.736e-05/0.4102, allocations: 8 kB / 466 MB, free: 6.172 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0002196/0.4105, allocations: 192.5 kB / 466.2 MB, free: 5.984 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.41e-07/0.4105, allocations: 0 / 466.2 MB, free: 5.984 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0003165/0.4108, allocations: 67.83 kB / 466.2 MB, free: 5.918 MB / 346.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001093/0.4119, allocations: 420.8 kB / 466.6 MB, free: 5.527 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0003496/0.4123, allocations: 152 kB / 466.8 MB, free: 5.379 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.4123, allocations: 4 kB / 466.8 MB, free: 5.375 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001852/0.4125, allocations: 79.84 kB / 466.9 MB, free: 5.297 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003565/0.4128, allocations: 44.59 kB / 466.9 MB, free: 5.25 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001314/0.4142, allocations: 0.6593 MB / 467.6 MB, free: 4.562 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003886/0.4146, allocations: 0.756 MB / 468.3 MB, free: 3.781 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0001338/0.4147, allocations: 29.92 kB / 468.4 MB, free: 3.754 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.716e-05/0.4148, allocations: 23.44 kB / 468.4 MB, free: 3.73 MB / 346.7 MB Notification: Performance of SimCode: time 5.01e-07/0.4148, allocations: 0 / 468.4 MB, free: 3.73 MB / 346.7 MB Notification: Performance of Templates: time 0.007223/0.422, allocations: 2.62 MB / 471 MB, free: 1.109 MB / 346.7 MB make -j1 -f Modelica_3.2.3_Modelica.Thermal.HeatTransfer.Examples.Motor.makefile (rm -f Modelica_3.2.3_Modelica.Thermal.HeatTransfer.Examples.Motor.pipe ; mkfifo Modelica_3.2.3_Modelica.Thermal.HeatTransfer.Examples.Motor.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Thermal.HeatTransfer.Examples.Motor.pipe >> ../files/Modelica_3.2.3_Modelica.Thermal.HeatTransfer.Examples.Motor.sim & ./Modelica_3.2.3_Modelica.Thermal.HeatTransfer.Examples.Motor -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Thermal.HeatTransfer.Examples.Motor.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Thermal.HeatTransfer.Examples.Motor_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Thermal/HeatTransfer/Examples/Motor/Motor.csv","../files/Modelica_3.2.3_Modelica.Thermal.HeatTransfer.Examples.Motor.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches