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.0009508/0.0009507, allocations: 180.5 kB / 17.41 MB, free: 4.402 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.475/1.475, allocations: 205.4 MB / 223.6 MB, free: 8.941 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.0008152/0.0008155, allocations: 87.36 kB / 271.9 MB, free: 8.242 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003129/0.000313, allocations: 8 kB / 328.1 MB, free: 15.94 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2478/0.2481, allocations: 47.58 MB / 375.7 MB, free: 45.39 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.09452/0.3427, allocations: 79.54 MB / 455.3 MB, free: 1.066 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002334/0.343, allocations: 79.95 kB / 455.3 MB, free: 0.9883 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01575/0.3588, allocations: 5.8 MB / 461.1 MB, free: 11.19 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.194e-06/0.3588, allocations: 0 / 461.1 MB, free: 11.19 MB / 346.7 MB Notification: Performance of Transformations before backend: time 2.41e-05/0.3588, allocations: 4 kB / 461.1 MB, free: 11.18 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.0007488/0.3596, allocations: 0.5229 MB / 461.7 MB, free: 10.61 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.063e-05/0.3596, allocations: 12.03 kB / 461.7 MB, free: 10.59 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000141/0.3598, allocations: 24.66 kB / 461.7 MB, free: 10.57 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003633/0.3602, allocations: 264.7 kB / 462 MB, free: 10.27 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.549e-05/0.3602, allocations: 12.38 kB / 462 MB, free: 10.26 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.761e-05/0.3603, allocations: 20.38 kB / 462 MB, free: 10.24 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003085/0.3606, allocations: 165.9 kB / 462.2 MB, free: 10.07 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.745e-05/0.3606, allocations: 192 / 462.2 MB, free: 10.07 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.507e-05/0.3606, allocations: 15.88 kB / 462.2 MB, free: 10.05 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.803e-06/0.3606, allocations: 4 kB / 462.2 MB, free: 10.05 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002553/0.3609, allocations: 123.7 kB / 462.3 MB, free: 9.93 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009061/0.3618, allocations: 0.5858 MB / 462.9 MB, free: 9.293 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003024/0.3621, allocations: 162.5 kB / 463 MB, free: 9.125 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001809/0.3623, allocations: 88.83 kB / 463.1 MB, free: 9.035 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.735e-05/0.3624, allocations: 11.94 kB / 463.1 MB, free: 9.023 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002557/0.3626, allocations: 121.8 kB / 463.3 MB, free: 8.895 MB / 346.7 MB Notification: Performance of pre-optimization done (n=20): time 5.18e-06/0.3626, allocations: 0 / 463.3 MB, free: 8.895 MB / 346.7 MB Notification: Performance of matching and sorting (n=20): time 0.0005735/0.3632, allocations: 237.2 kB / 463.5 MB, free: 8.656 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.208e-05/0.3633, allocations: 51.41 kB / 463.5 MB, free: 8.594 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003084/0.3636, allocations: 257 kB / 463.8 MB, free: 8.332 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.404e-05/0.3636, allocations: 25.7 kB / 463.8 MB, free: 8.301 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001084/0.3638, allocations: 148.4 kB / 464 MB, free: 8.152 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.644e-05/0.3638, allocations: 70.98 kB / 464 MB, free: 8.082 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.384e-05/0.3639, allocations: 8 kB / 464 MB, free: 8.074 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001428/0.364, allocations: 330.8 kB / 464.4 MB, free: 7.742 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001397/0.3641, allocations: 47.98 kB / 464.4 MB, free: 7.695 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001603/0.3643, allocations: 101.2 kB / 464.5 MB, free: 7.586 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003076/0.3646, allocations: 159.4 kB / 464.7 MB, free: 7.422 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.285e-06/0.3646, allocations: 0 / 464.7 MB, free: 7.422 MB / 346.7 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0004418/0.3651, allocations: 205.2 kB / 464.9 MB, free: 7.215 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.581e-05/0.3651, allocations: 8 kB / 464.9 MB, free: 7.207 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.44e-06/0.3651, allocations: 96 / 464.9 MB, free: 7.207 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.539e-05/0.3652, allocations: 8 kB / 464.9 MB, free: 7.199 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002526/0.3654, allocations: 47.91 kB / 464.9 MB, free: 7.152 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.943e-06/0.3654, allocations: 0 / 464.9 MB, free: 7.152 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001376/0.3656, allocations: 23.78 kB / 464.9 MB, free: 7.129 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.802e-05/0.3656, allocations: 8 kB / 465 MB, free: 7.121 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.0001552/0.3658, allocations: 148 kB / 465.1 MB, free: 6.969 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.547e-05/0.3658, allocations: 27.66 kB / 465.1 MB, free: 6.941 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00047/0.3663, allocations: 219.7 kB / 465.3 MB, free: 6.723 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.44e-06/0.3663, allocations: 3.984 kB / 465.3 MB, free: 6.719 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.888e-06/0.3663, allocations: 0 / 465.3 MB, free: 6.719 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.048e-06/0.3663, allocations: 0 / 465.3 MB, free: 6.719 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002779/0.3666, allocations: 301.3 kB / 465.6 MB, free: 6.375 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.313e-06/0.3666, allocations: 4 kB / 465.6 MB, free: 6.371 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001859/0.3668, allocations: 39.92 kB / 465.7 MB, free: 6.332 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.368e-06/0.3668, allocations: 4 kB / 465.7 MB, free: 6.328 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.033e-05/0.3669, allocations: 7.984 kB / 465.7 MB, free: 6.32 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.994e-06/0.3669, allocations: 4 kB / 465.7 MB, free: 6.316 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.3669, allocations: 0 / 465.7 MB, free: 6.316 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005026/0.3674, allocations: 307.4 kB / 466 MB, free: 6 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.27e-05/0.3675, allocations: 104.9 kB / 466.1 MB, free: 5.879 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.39e-05/0.3675, allocations: 4 kB / 466.1 MB, free: 5.875 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.023e-05/0.3676, allocations: 7.906 kB / 466.1 MB, free: 5.867 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.537e-05/0.3677, allocations: 24.03 kB / 466.1 MB, free: 5.844 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.613e-05/0.3677, allocations: 7.938 kB / 466.1 MB, free: 5.836 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0001668/0.3679, allocations: 196.4 kB / 466.3 MB, free: 5.645 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3679, allocations: 0 / 466.3 MB, free: 5.645 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0002805/0.3682, allocations: 63.94 kB / 466.4 MB, free: 5.582 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.0008627/0.369, allocations: 424.4 kB / 466.8 MB, free: 5.188 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0003036/0.3693, allocations: 143.9 kB / 467 MB, free: 5.047 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 1.714e-06/0.3694, allocations: 4.188 kB / 467 MB, free: 5.043 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001392/0.3695, allocations: 87.78 kB / 467 MB, free: 4.957 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003504/0.3699, allocations: 52.56 kB / 467.1 MB, free: 4.902 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009973/0.3709, allocations: 0.6842 MB / 467.8 MB, free: 4.184 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003196/0.3712, allocations: 0.7521 MB / 468.5 MB, free: 3.406 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.101e-05/0.3713, allocations: 27.42 kB / 468.6 MB, free: 3.379 MB / 346.7 MB Notification: Performance of SimCode: time 2.5e-07/0.3713, allocations: 0 / 468.6 MB, free: 3.379 MB / 346.7 MB Notification: Performance of Templates: time 0.004896/0.3762, allocations: 3.18 MB / 471.7 MB, free: 200 kB / 346.7 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