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/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) 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) Running command: translateModel(Modelica.Thermal.HeatTransfer.Examples.Motor,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1440000,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=1440000,variableFilter="time|core.T|winding.T",fileNamePrefix="Modelica_4.0.0_Modelica.Thermal.HeatTransfer.Examples.Motor") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0015/0.0015, allocations: 180.2 kB / 16.38 MB, free: 5.766 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.317/1.317, allocations: 223.2 MB / 240.3 MB, free: 11.87 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008801/0.0008801, allocations: 92.2 kB / 291.5 MB, free: 10.9 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002333/0.0002333, allocations: 4 kB / 351.1 MB, free: 15.31 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2259/0.2262, allocations: 50.4 MB / 401.5 MB, free: 32.6 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.09701/0.3232, allocations: 80.75 MB / 482.2 MB, free: 15.74 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002421/0.3235, allocations: 79.95 kB / 482.3 MB, free: 15.66 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01524/0.3388, allocations: 5.862 MB / 488.2 MB, free: 9.801 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.194e-06/0.3388, allocations: 0 / 488.2 MB, free: 9.801 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.687e-05/0.3388, allocations: 4 kB / 488.2 MB, free: 9.797 MB / 362.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.0007222/0.3396, allocations: 0.5305 MB / 488.7 MB, free: 9.215 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.96e-05/0.3396, allocations: 8.031 kB / 488.7 MB, free: 9.207 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001295/0.3397, allocations: 27.72 kB / 488.7 MB, free: 9.18 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003425/0.3401, allocations: 259.5 kB / 489 MB, free: 8.883 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.282e-05/0.3401, allocations: 8 kB / 489 MB, free: 8.875 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.337e-05/0.3402, allocations: 16 kB / 489 MB, free: 8.859 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003053/0.3405, allocations: 161.4 kB / 489.2 MB, free: 8.695 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.388e-05/0.3405, allocations: 4 kB / 489.2 MB, free: 8.691 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.136e-05/0.3405, allocations: 8 kB / 489.2 MB, free: 8.684 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.376e-06/0.3405, allocations: 7.953 kB / 489.2 MB, free: 8.676 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000246/0.3408, allocations: 123.9 kB / 489.3 MB, free: 8.555 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008981/0.3417, allocations: 0.5704 MB / 489.9 MB, free: 7.93 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002945/0.342, allocations: 170.2 kB / 490.1 MB, free: 7.758 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.972e-05/0.342, allocations: 352 / 490.1 MB, free: 7.758 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002117/0.3423, allocations: 122.2 kB / 490.2 MB, free: 7.629 MB / 362.7 MB Notification: Performance of pre-optimization done (n=20): time 1.442e-06/0.3423, allocations: 4 kB / 490.2 MB, free: 7.625 MB / 362.7 MB Notification: Performance of matching and sorting (n=20): time 0.0004583/0.3427, allocations: 237.3 kB / 490.4 MB, free: 7.387 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.576e-05/0.3428, allocations: 59.39 kB / 490.5 MB, free: 7.316 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000219/0.343, allocations: 228.2 kB / 490.7 MB, free: 7.086 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.002e-05/0.343, allocations: 29.7 kB / 490.7 MB, free: 7.051 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.588e-05/0.3431, allocations: 144.3 kB / 490.9 MB, free: 6.902 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.741e-05/0.3432, allocations: 71.02 kB / 490.9 MB, free: 6.832 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.799e-06/0.3432, allocations: 7.938 kB / 490.9 MB, free: 6.824 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001251/0.3434, allocations: 342.8 kB / 491.3 MB, free: 6.48 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001062/0.3435, allocations: 55.92 kB / 491.3 MB, free: 6.426 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001197/0.3436, allocations: 83.58 kB / 491.4 MB, free: 6.332 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001235/0.3437, allocations: 71.86 kB / 491.5 MB, free: 6.266 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.235e-06/0.3437, allocations: 0 / 491.5 MB, free: 6.266 MB / 362.7 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0003124/0.3441, allocations: 211.9 kB / 491.7 MB, free: 6.055 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.459e-05/0.3441, allocations: 4 kB / 491.7 MB, free: 6.051 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.334e-06/0.3441, allocations: 4 kB / 491.7 MB, free: 6.047 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.004e-05/0.3441, allocations: 7.984 kB / 491.7 MB, free: 6.039 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000207/0.3443, allocations: 47.91 kB / 491.8 MB, free: 5.992 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.273e-06/0.3443, allocations: 0 / 491.8 MB, free: 5.992 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001124/0.3445, allocations: 23.84 kB / 491.8 MB, free: 5.969 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.338e-05/0.3445, allocations: 8.094 kB / 491.8 MB, free: 5.961 MB / 362.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.0001286/0.3446, allocations: 156.3 kB / 491.9 MB, free: 5.801 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.279e-05/0.3447, allocations: 23.72 kB / 492 MB, free: 5.777 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003766/0.345, allocations: 219.7 kB / 492.2 MB, free: 5.555 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.886e-06/0.345, allocations: 0 / 492.2 MB, free: 5.555 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.797e-06/0.3451, allocations: 0 / 492.2 MB, free: 5.555 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.948e-06/0.3451, allocations: 0 / 492.2 MB, free: 5.555 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002788/0.3454, allocations: 301.3 kB / 492.5 MB, free: 5.211 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.473e-06/0.3454, allocations: 8 kB / 492.5 MB, free: 5.203 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001813/0.3456, allocations: 31.98 kB / 492.5 MB, free: 5.172 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.673e-06/0.3456, allocations: 7.984 kB / 492.5 MB, free: 5.164 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.715e-05/0.3456, allocations: 4 kB / 492.5 MB, free: 5.16 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.453e-06/0.3456, allocations: 0 / 492.5 MB, free: 5.16 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.31e-07/0.3456, allocations: 0 / 492.5 MB, free: 5.16 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000482/0.3461, allocations: 303.3 kB / 492.8 MB, free: 4.848 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.541e-05/0.3462, allocations: 112.8 kB / 492.9 MB, free: 4.719 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.447e-05/0.3462, allocations: 8.062 kB / 492.9 MB, free: 4.711 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.094e-05/0.3463, allocations: 4 kB / 492.9 MB, free: 4.707 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.192e-05/0.3464, allocations: 19.97 kB / 493 MB, free: 4.688 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.296e-05/0.3464, allocations: 4 kB / 493 MB, free: 4.684 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001659/0.3466, allocations: 192.5 kB / 493.1 MB, free: 4.496 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3466, allocations: 0 / 493.1 MB, free: 4.496 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002719/0.3469, allocations: 71.78 kB / 493.2 MB, free: 4.426 MB / 362.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.0008702/0.3477, allocations: 432.1 kB / 493.6 MB, free: 4.156 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0002832/0.348, allocations: 145.6 kB / 493.8 MB, free: 4.016 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.964e-06/0.348, allocations: 0 / 493.8 MB, free: 4.016 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001339/0.3482, allocations: 87.83 kB / 493.9 MB, free: 3.93 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002791/0.3485, allocations: 40.62 kB / 493.9 MB, free: 3.887 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009345/0.3494, allocations: 0.6588 MB / 494.6 MB, free: 3.195 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002746/0.3497, allocations: 0.756 MB / 495.3 MB, free: 2.414 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001014/0.3498, allocations: 25.94 kB / 495.3 MB, free: 2.391 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.988e-05/0.3499, allocations: 35.38 kB / 495.4 MB, free: 2.355 MB / 362.7 MB Notification: Performance of SimCode: time 2.6e-07/0.3499, allocations: 0 / 495.4 MB, free: 2.355 MB / 362.7 MB Notification: Performance of Templates: time 0.005488/0.3554, allocations: 2.619 MB / 498 MB, free: 15.77 MB / 378.7 MB make -j1 -f Modelica_4.0.0_Modelica.Thermal.HeatTransfer.Examples.Motor.makefile (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=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Thermal.HeatTransfer.Examples.Motor.pipe 2>&1) 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","../files/Modelica_4.0.0_Modelica.Thermal.HeatTransfer.Examples.Motor.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches