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.001445/0.001445, allocations: 178.4 kB / 8.697 MB, free: 388 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.516/1.516, allocations: 205.3 MB / 214.4 MB, free: 1.672 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008307/0.0008306, allocations: 90.38 kB / 262.4 MB, free: 1.621 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 1.806e-05/1.808e-05, allocations: 0 / 315.5 MB, free: 22.71 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07975/0.07979, allocations: 47.57 MB / 363.1 MB, free: 7.078 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3041/0.3839, allocations: 78.97 MB / 442 MB, free: 0.7305 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002101/0.3842, allocations: 79.7 kB / 442.1 MB, free: 0.6914 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01571/0.3999, allocations: 5.747 MB / 447.9 MB, free: 11.92 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.283e-06/0.3999, allocations: 4 kB / 447.9 MB, free: 11.91 MB / 330.7 MB Notification: Performance of Transformations before backend: time 2.208e-05/0.4, allocations: 4 kB / 447.9 MB, free: 11.91 MB / 330.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.0007768/0.4007, allocations: 0.4896 MB / 448.3 MB, free: 11.39 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.029e-05/0.4008, allocations: 12.03 kB / 448.4 MB, free: 11.38 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001787/0.401, allocations: 31.7 kB / 448.4 MB, free: 11.35 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004194/0.4014, allocations: 262 kB / 448.6 MB, free: 11.07 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.272e-05/0.4014, allocations: 4 kB / 448.7 MB, free: 11.07 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.987e-05/0.4015, allocations: 15.95 kB / 448.7 MB, free: 11.05 MB / 330.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002371/0.4017, allocations: 102.8 kB / 448.8 MB, free: 10.98 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002404/0.402, allocations: 133.6 kB / 448.9 MB, free: 10.88 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.407e-05/0.402, allocations: 4.156 kB / 448.9 MB, free: 10.87 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.924e-05/0.402, allocations: 7.812 kB / 448.9 MB, free: 10.87 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.545e-06/0.4021, allocations: 7.938 kB / 448.9 MB, free: 10.86 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000867/0.4029, allocations: 0.5355 MB / 449.5 MB, free: 10.37 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002485/0.4032, allocations: 151.6 kB / 449.6 MB, free: 10.25 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001209/0.4033, allocations: 80.91 kB / 449.7 MB, free: 10.2 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.288e-05/0.4034, allocations: 4 kB / 449.7 MB, free: 10.2 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001926/0.4036, allocations: 103.6 kB / 449.8 MB, free: 10.1 MB / 330.7 MB Notification: Performance of pre-optimization done (n=20): time 2.164e-06/0.4036, allocations: 0 / 449.8 MB, free: 10.1 MB / 330.7 MB Notification: Performance of matching and sorting (n=20): time 0.0003679/0.404, allocations: 177.7 kB / 450 MB, free: 9.957 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.702e-05/0.404, allocations: 55.41 kB / 450 MB, free: 9.891 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002357/0.4043, allocations: 210.6 kB / 450.2 MB, free: 9.707 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.211e-05/0.4043, allocations: 25.7 kB / 450.2 MB, free: 9.676 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.497e-05/0.4044, allocations: 149.8 kB / 450.4 MB, free: 9.551 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.389e-05/0.4045, allocations: 66.11 kB / 450.5 MB, free: 9.496 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.476e-06/0.4045, allocations: 0 / 450.5 MB, free: 9.496 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.000181/0.4047, allocations: 337.5 kB / 450.8 MB, free: 9.164 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.172e-05/0.4048, allocations: 47.69 kB / 450.8 MB, free: 9.137 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001022/0.4049, allocations: 78.3 kB / 450.9 MB, free: 9.07 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001086/0.405, allocations: 59.34 kB / 451 MB, free: 9.031 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.364e-06/0.405, allocations: 0 / 451 MB, free: 9.031 MB / 330.7 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0002894/0.4053, allocations: 188.1 kB / 451.1 MB, free: 8.879 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.568e-05/0.4053, allocations: 8.094 kB / 451.2 MB, free: 8.871 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.161e-06/0.4053, allocations: 0 / 451.2 MB, free: 8.871 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.984e-05/0.4053, allocations: 4 kB / 451.2 MB, free: 8.867 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002216/0.4056, allocations: 46.59 kB / 451.2 MB, free: 8.824 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.336e-06/0.4056, allocations: 3.938 kB / 451.2 MB, free: 8.82 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001178/0.4057, allocations: 15.84 kB / 451.2 MB, free: 8.805 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.626e-05/0.4057, allocations: 8 kB / 451.2 MB, free: 8.797 MB / 330.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 () * 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 9.842e-05/0.4058, allocations: 115.8 kB / 451.3 MB, free: 8.68 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.444e-05/0.4059, allocations: 23.72 kB / 451.4 MB, free: 8.656 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003254/0.4062, allocations: 189.1 kB / 451.6 MB, free: 8.508 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.296e-06/0.4062, allocations: 7.984 kB / 451.6 MB, free: 8.5 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.037e-06/0.4062, allocations: 3.938 kB / 451.6 MB, free: 8.496 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.047e-06/0.4063, allocations: 0 / 451.6 MB, free: 8.496 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002534/0.4065, allocations: 254.2 kB / 451.8 MB, free: 8.246 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.084e-06/0.4065, allocations: 0 / 451.8 MB, free: 8.246 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001944/0.4067, allocations: 39.48 kB / 451.9 MB, free: 8.211 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.166e-06/0.4067, allocations: 0 / 451.9 MB, free: 8.211 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.722e-05/0.4068, allocations: 8 kB / 451.9 MB, free: 8.203 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.849e-06/0.4068, allocations: 7.922 kB / 451.9 MB, free: 8.195 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.334e-06/0.4068, allocations: 0 / 451.9 MB, free: 8.195 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003935/0.4072, allocations: 275.8 kB / 452.1 MB, free: 7.973 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.042e-05/0.4073, allocations: 112.2 kB / 452.2 MB, free: 7.848 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.789e-05/0.4073, allocations: 8 kB / 452.3 MB, free: 7.84 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.563e-05/0.4074, allocations: 8 kB / 452.3 MB, free: 7.832 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.284e-05/0.4075, allocations: 20.02 kB / 452.3 MB, free: 7.812 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.816e-05/0.4075, allocations: 11.44 kB / 452.3 MB, free: 7.805 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.000146/0.4077, allocations: 158.9 kB / 452.4 MB, free: 7.676 MB / 330.7 MB Notification: Performance of sort global known variables: time 1.8e-07/0.4077, allocations: 4 kB / 452.5 MB, free: 7.672 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0003044/0.408, allocations: 71.2 kB / 452.5 MB, free: 7.605 MB / 330.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) * 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.0008109/0.4088, allocations: 343.9 kB / 452.9 MB, free: 7.27 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.000241/0.409, allocations: 132 kB / 453 MB, free: 7.18 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.914e-06/0.4091, allocations: 0 / 453 MB, free: 7.18 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001045/0.4092, allocations: 70.48 kB / 453.1 MB, free: 7.129 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002912/0.4095, allocations: 35.39 kB / 453.1 MB, free: 7.102 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008136/0.4103, allocations: 428.9 kB / 453.5 MB, free: 6.691 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003025/0.4106, allocations: 0.7594 MB / 454.3 MB, free: 5.906 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0001207/0.4107, allocations: 25.84 kB / 454.3 MB, free: 5.883 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.962e-05/0.4108, allocations: 27.23 kB / 454.3 MB, free: 5.863 MB / 330.7 MB Notification: Performance of SimCode: time 4.31e-07/0.4108, allocations: 0 / 454.3 MB, free: 5.863 MB / 330.7 MB Notification: Performance of Templates: time 0.005736/0.4165, allocations: 2.39 MB / 456.7 MB, free: 3.48 MB / 330.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