Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_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_cpp_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_cpp_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.001422/0.001422, allocations: 181.2 kB / 8.366 MB, free: 0.7109 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.021/2.021, allocations: 205.3 MB / 214.1 MB, free: 14.14 MB / 187.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001068/0.001068, allocations: 92.12 kB / 262.1 MB, free: 13.86 MB / 219.1 MB Notification: Performance of FrontEnd - loaded program: time 2.214e-05/2.228e-05, allocations: 8 kB / 314.8 MB, free: 9.145 MB / 267.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3461/0.3462, allocations: 47.56 MB / 362.3 MB, free: 45.83 MB / 299.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1581/0.5043, allocations: 78.73 MB / 441.1 MB, free: 7.574 MB / 331.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003149/0.5047, allocations: 74.94 kB / 441.1 MB, free: 7.504 MB / 331.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.0258/0.5305, allocations: 5.748 MB / 446.9 MB, free: 1.812 MB / 331.1 MB Notification: Performance of FrontEnd: time 2.174e-06/0.5306, allocations: 0 / 446.9 MB, free: 1.812 MB / 331.1 MB Notification: Performance of Transformations before backend: time 2.614e-05/0.5306, allocations: 4 kB / 446.9 MB, free: 1.809 MB / 331.1 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.0009983/0.5316, allocations: 0.4972 MB / 447.4 MB, free: 1.27 MB / 331.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.175e-05/0.5317, allocations: 12.03 kB / 447.4 MB, free: 1.258 MB / 331.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000206/0.5319, allocations: 27.72 kB / 447.4 MB, free: 1.23 MB / 331.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005476/0.5325, allocations: 259.5 kB / 447.7 MB, free: 0.9336 MB / 331.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.885e-05/0.5326, allocations: 8.781 kB / 447.7 MB, free: 0.9297 MB / 331.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.499e-05/0.5326, allocations: 11.95 kB / 447.7 MB, free: 0.918 MB / 331.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003899/0.533, allocations: 112 kB / 447.8 MB, free: 0.8086 MB / 331.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003715/0.5334, allocations: 129.6 kB / 447.9 MB, free: 0.6758 MB / 331.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.792e-05/0.5335, allocations: 0 / 447.9 MB, free: 0.6758 MB / 331.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.426e-05/0.5335, allocations: 4.219 kB / 447.9 MB, free: 0.6719 MB / 331.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.233e-05/0.5335, allocations: 4 kB / 447.9 MB, free: 0.668 MB / 331.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001315/0.5348, allocations: 0.5356 MB / 448.5 MB, free: 92 kB / 331.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000425/0.5353, allocations: 158.5 kB / 448.6 MB, free: 15.93 MB / 347.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002087/0.5355, allocations: 81.34 kB / 448.7 MB, free: 15.84 MB / 347.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.66e-05/0.5356, allocations: 0 / 448.7 MB, free: 15.84 MB / 347.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002836/0.5359, allocations: 111.3 kB / 448.8 MB, free: 15.72 MB / 347.1 MB Notification: Performance of pre-optimization done (n=20): time 2.104e-06/0.5359, allocations: 0 / 448.8 MB, free: 15.72 MB / 347.1 MB Notification: Performance of matching and sorting (n=20): time 0.0005175/0.5364, allocations: 166.2 kB / 449 MB, free: 15.56 MB / 347.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.631e-05/0.5365, allocations: 59.41 kB / 449 MB, free: 15.49 MB / 347.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003691/0.5369, allocations: 217 kB / 449.3 MB, free: 15.27 MB / 347.1 MB Notification: Performance of collectPreVariables (initialization): time 3.09e-05/0.5369, allocations: 25.7 kB / 449.3 MB, free: 15.24 MB / 347.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001622/0.5371, allocations: 202.7 kB / 449.5 MB, free: 15.04 MB / 347.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.384e-05/0.5372, allocations: 63.05 kB / 449.5 MB, free: 14.98 MB / 347.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.173e-05/0.5372, allocations: 0 / 449.5 MB, free: 14.98 MB / 347.1 MB Notification: Performance of setup shared object (initialization): time 0.0001649/0.5374, allocations: 322.8 kB / 449.9 MB, free: 14.65 MB / 347.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001504/0.5375, allocations: 48.66 kB / 449.9 MB, free: 14.61 MB / 347.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000181/0.5377, allocations: 84.03 kB / 450 MB, free: 14.51 MB / 347.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001806/0.5379, allocations: 56.86 kB / 450 MB, free: 14.46 MB / 347.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.236e-06/0.5379, allocations: 0 / 450 MB, free: 14.46 MB / 347.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0004513/0.5384, allocations: 172.1 kB / 450.2 MB, free: 14.29 MB / 347.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.076e-05/0.5384, allocations: 4 kB / 450.2 MB, free: 14.28 MB / 347.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.918e-06/0.5384, allocations: 4.094 kB / 450.2 MB, free: 14.28 MB / 347.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.991e-05/0.5385, allocations: 7.984 kB / 450.2 MB, free: 14.27 MB / 347.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000388/0.5389, allocations: 49.42 kB / 450.3 MB, free: 14.22 MB / 347.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.101e-05/0.5389, allocations: 7.281 kB / 450.3 MB, free: 14.22 MB / 347.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002123/0.5391, allocations: 19.83 kB / 450.3 MB, free: 14.2 MB / 347.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.214e-05/0.5392, allocations: 4 kB / 450.3 MB, free: 14.2 MB / 347.1 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 () * 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.0001229/0.5393, allocations: 111.6 kB / 450.4 MB, free: 14.08 MB / 347.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.732e-05/0.5394, allocations: 19.72 kB / 450.4 MB, free: 14.06 MB / 347.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005601/0.5399, allocations: 209.7 kB / 450.6 MB, free: 13.85 MB / 347.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.849e-06/0.54, allocations: 0 / 450.6 MB, free: 13.85 MB / 347.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.135e-06/0.54, allocations: 0 / 450.6 MB, free: 13.85 MB / 347.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.56e-06/0.54, allocations: 7.938 kB / 450.6 MB, free: 13.84 MB / 347.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004121/0.5404, allocations: 254 kB / 450.9 MB, free: 13.56 MB / 347.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.815e-06/0.5404, allocations: 0 / 450.9 MB, free: 13.56 MB / 347.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003856/0.5408, allocations: 43.91 kB / 450.9 MB, free: 13.52 MB / 347.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.44e-06/0.5409, allocations: 4 kB / 450.9 MB, free: 13.51 MB / 347.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.154e-05/0.5409, allocations: 0 / 450.9 MB, free: 13.51 MB / 347.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.916e-06/0.5409, allocations: 0 / 450.9 MB, free: 13.51 MB / 347.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.595e-06/0.5409, allocations: 13.03 kB / 450.9 MB, free: 13.5 MB / 347.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006855/0.5416, allocations: 268.7 kB / 451.2 MB, free: 13.22 MB / 347.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001247/0.5418, allocations: 108.8 kB / 451.3 MB, free: 13.09 MB / 347.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.787e-05/0.5418, allocations: 0 / 451.3 MB, free: 13.09 MB / 347.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001649/0.542, allocations: 11.98 kB / 451.3 MB, free: 13.08 MB / 347.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.31e-05/0.5421, allocations: 15.98 kB / 451.3 MB, free: 13.07 MB / 347.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.213e-05/0.5421, allocations: 4.062 kB / 451.3 MB, free: 13.06 MB / 347.1 MB Notification: Performance of sorting global known variables: time 0.0002519/0.5424, allocations: 171.2 kB / 451.5 MB, free: 12.89 MB / 347.1 MB Notification: Performance of sort global known variables: time 4.91e-07/0.5424, allocations: 0 / 451.5 MB, free: 12.89 MB / 347.1 MB Notification: Performance of remove unused functions: time 0.0004479/0.5428, allocations: 67.78 kB / 451.6 MB, free: 12.83 MB / 347.1 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) * 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.001091/0.5439, allocations: 346.2 kB / 451.9 MB, free: 12.54 MB / 347.1 MB Notification: Performance of simCode: created initialization part: time 0.0004299/0.5444, allocations: 138 kB / 452.1 MB, free: 12.4 MB / 347.1 MB Notification: Performance of simCode: created event and clocks part: time 3.256e-06/0.5444, allocations: 0 / 452.1 MB, free: 12.4 MB / 347.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002049/0.5446, allocations: 75.92 kB / 452.1 MB, free: 12.33 MB / 347.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004769/0.5451, allocations: 39.91 kB / 452.2 MB, free: 12.29 MB / 347.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001289/0.5464, allocations: 454.9 kB / 452.6 MB, free: 11.81 MB / 347.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005063/0.5469, allocations: 0.7594 MB / 453.4 MB, free: 11.03 MB / 347.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001209/0.5471, allocations: 31.3 kB / 453.4 MB, free: 11 MB / 347.1 MB Notification: Performance of SimCode: time 9.21e-07/0.5471, allocations: 0 / 453.4 MB, free: 11 MB / 347.1 MB Notification: Performance of Templates: time 0.008736/0.5558, allocations: 3.054 MB / 456.5 MB, free: 7.957 MB / 347.1 MB make -j1 -f Modelica_3.2.3_cpp_Modelica.Thermal.HeatTransfer.Examples.Motor.makefile (rm -f Modelica_3.2.3_cpp_Modelica.Thermal.HeatTransfer.Examples.Motor.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Thermal.HeatTransfer.Examples.Motor.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Thermal.HeatTransfer.Examples.Motor.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Thermal.HeatTransfer.Examples.Motor.sim & ./Modelica_3.2.3_cpp_Modelica.Thermal.HeatTransfer.Examples.Motor --alarm=480 -emit_protected > Modelica_3.2.3_cpp_Modelica.Thermal.HeatTransfer.Examples.Motor.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_cpp_Modelica.Thermal.HeatTransfer.Examples.Motor_res.mat","/var/lib/jenkins1/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_cpp_Modelica.Thermal.HeatTransfer.Examples.Motor.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches