Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Thermal.HeatTransfer.Examples.Motor.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_Modelica.Thermal.HeatTransfer.Examples.Motor") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009093/0.0009093, allocations: 99.58 kB / 17 MB, free: 6.398 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0008925/0.0008926, allocations: 192.7 kB / 17.91 MB, free: 5.926 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.315/1.315, allocations: 227.7 MB / 246.4 MB, free: 9.797 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0001874/0.0001875, allocations: 4 kB / 307.1 MB, free: 0.9531 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08002/0.08022, allocations: 51.53 MB / 358.6 MB, free: 13.43 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.HeatTransfer.Examples.Motor): time 0.002241/0.0825, allocations: 1.878 MB / 360.5 MB, free: 11.54 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001697/0.08422, allocations: 1.131 MB / 361.6 MB, free: 10.4 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001573/0.0844, allocations: 7.938 kB / 361.6 MB, free: 10.39 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003278/0.08474, allocations: 79.7 kB / 361.7 MB, free: 10.32 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004154/0.08517, allocations: 139.3 kB / 361.9 MB, free: 10.18 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002701/0.08545, allocations: 91.77 kB / 361.9 MB, free: 10.09 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003236/0.08579, allocations: 258.9 kB / 362.2 MB, free: 9.836 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001802/0.08598, allocations: 72.75 kB / 362.3 MB, free: 9.762 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001577/0.08615, allocations: 107.5 kB / 362.4 MB, free: 9.656 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000158/0.08632, allocations: 103.6 kB / 362.5 MB, free: 9.555 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 2.51e-05/0.08635, allocations: 11.94 kB / 362.5 MB, free: 9.543 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001242/0.08648, allocations: 47.92 kB / 362.5 MB, free: 9.496 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 5.592e-05/0.08654, allocations: 39.84 kB / 362.6 MB, free: 9.457 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 5.878e-05/0.08661, allocations: 65.58 kB / 362.6 MB, free: 9.387 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002408/0.08686, allocations: 211.8 kB / 362.8 MB, free: 9.18 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.348e-06/0.08687, allocations: 0 / 362.8 MB, free: 9.18 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.041e-06/0.08688, allocations: 0 / 362.8 MB, free: 9.18 MB / 302.1 MB Notification: Performance of Transformations before backend: time 9.488e-06/0.0869, allocations: 0 / 362.8 MB, free: 9.18 MB / 302.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.0006643/0.08756, allocations: 0.5068 MB / 363.3 MB, free: 8.625 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.381e-05/0.08761, allocations: 8.031 kB / 363.4 MB, free: 8.617 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001349/0.08775, allocations: 39.56 kB / 363.4 MB, free: 8.578 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002661/0.08802, allocations: 250.4 kB / 363.6 MB, free: 8.293 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.232e-05/0.08805, allocations: 16 kB / 363.7 MB, free: 8.277 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.403e-05/0.08809, allocations: 16 kB / 363.7 MB, free: 8.262 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003013/0.0884, allocations: 173.5 kB / 363.8 MB, free: 8.086 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.18e-05/0.08842, allocations: 3.906 kB / 363.8 MB, free: 8.082 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.79e-05/0.08844, allocations: 4 kB / 363.8 MB, free: 8.078 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.612e-06/0.08846, allocations: 4 kB / 363.9 MB, free: 8.074 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002392/0.0887, allocations: 119.7 kB / 364 MB, free: 7.957 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008192/0.08953, allocations: 0.5626 MB / 364.5 MB, free: 7.344 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002786/0.08982, allocations: 169 kB / 364.7 MB, free: 7.172 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001439/0.08997, allocations: 88.83 kB / 364.8 MB, free: 7.082 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.628e-05/0.09001, allocations: 4 kB / 364.8 MB, free: 7.078 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002154/0.09023, allocations: 111.3 kB / 364.9 MB, free: 6.957 MB / 302.1 MB Notification: Performance of pre-optimization done (n=20): time 1.523e-06/0.09024, allocations: 0 / 364.9 MB, free: 6.957 MB / 302.1 MB Notification: Performance of matching and sorting (n=20): time 0.0004471/0.09069, allocations: 231.9 kB / 365.1 MB, free: 6.727 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.252e-05/0.09074, allocations: 55.36 kB / 365.2 MB, free: 6.66 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002351/0.09098, allocations: 264.9 kB / 365.4 MB, free: 6.391 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.905e-05/0.091, allocations: 29.7 kB / 365.5 MB, free: 6.355 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.217e-05/0.09109, allocations: 140.4 kB / 365.6 MB, free: 6.215 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.522e-05/0.09115, allocations: 75 kB / 365.7 MB, free: 6.141 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.064e-05/0.09117, allocations: 4 kB / 365.7 MB, free: 6.137 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001024/0.09128, allocations: 334.8 kB / 366 MB, free: 5.801 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001058/0.09139, allocations: 47.98 kB / 366.1 MB, free: 5.754 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001212/0.09152, allocations: 84.67 kB / 366.1 MB, free: 5.66 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001223/0.09165, allocations: 67.88 kB / 366.2 MB, free: 5.598 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.286e-06/0.09166, allocations: 0 / 366.2 MB, free: 5.598 MB / 302.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0003347/0.092, allocations: 206.9 kB / 366.4 MB, free: 5.391 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.428e-05/0.09202, allocations: 4 kB / 366.4 MB, free: 5.387 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.434e-06/0.09204, allocations: 4 kB / 366.4 MB, free: 5.383 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.07e-05/0.09206, allocations: 3.938 kB / 366.4 MB, free: 5.379 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002077/0.09227, allocations: 47.91 kB / 366.5 MB, free: 5.332 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.358e-06/0.09229, allocations: 4 kB / 366.5 MB, free: 5.328 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001145/0.0924, allocations: 31.83 kB / 366.5 MB, free: 5.297 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.541e-05/0.09243, allocations: 12 kB / 366.5 MB, free: 5.285 MB / 302.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 () * 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.0001217/0.09256, allocations: 146.2 kB / 366.7 MB, free: 5.133 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.98e-05/0.09259, allocations: 19.72 kB / 366.7 MB, free: 5.113 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.96e-05/0.09268, allocations: 34.17 kB / 366.7 MB, free: 5.078 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.248e-06/0.09269, allocations: 4 kB / 366.7 MB, free: 5.074 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.258e-06/0.0927, allocations: 0 / 366.7 MB, free: 5.074 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.877e-06/0.09271, allocations: 0 / 366.7 MB, free: 5.074 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002561/0.09297, allocations: 293.4 kB / 367 MB, free: 4.738 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.613e-06/0.09298, allocations: 0 / 367 MB, free: 4.738 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001762/0.09316, allocations: 39.98 kB / 367 MB, free: 4.699 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.469e-06/0.09318, allocations: 3.984 kB / 367 MB, free: 4.695 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.388e-05/0.09319, allocations: 0 / 367 MB, free: 4.695 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.17e-06/0.0932, allocations: 4 kB / 367 MB, free: 4.691 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.09321, allocations: 3.938 kB / 367 MB, free: 4.688 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004571/0.09367, allocations: 288.7 kB / 367.3 MB, free: 4.387 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.224e-05/0.09375, allocations: 104.9 kB / 367.4 MB, free: 4.266 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.638e-05/0.09379, allocations: 7.984 kB / 367.4 MB, free: 4.258 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.698e-05/0.09388, allocations: 8 kB / 367.4 MB, free: 4.25 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.876e-05/0.09393, allocations: 7.984 kB / 367.5 MB, free: 4.242 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.107e-05/0.09396, allocations: 12 kB / 367.5 MB, free: 4.23 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001677/0.09413, allocations: 188.5 kB / 367.6 MB, free: 4.047 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.09414, allocations: 0 / 367.6 MB, free: 4.047 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002755/0.09442, allocations: 59.94 kB / 367.7 MB, free: 3.988 MB / 302.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.nextTimeEventScaled,lossTable.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (20): * Single equations (assignments): 18 * 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.0008852/0.09531, allocations: 423.4 kB / 368.1 MB, free: 3.707 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0002785/0.0956, allocations: 139.5 kB / 368.3 MB, free: 3.574 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 1.994e-06/0.09561, allocations: 0 / 368.3 MB, free: 3.574 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001297/0.09575, allocations: 74.14 kB / 368.3 MB, free: 3.504 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003132/0.09607, allocations: 55.12 kB / 368.4 MB, free: 3.453 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009404/0.09702, allocations: 0.643 MB / 369 MB, free: 2.781 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003015/0.09733, allocations: 0.7482 MB / 369.8 MB, free: 2.008 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001193/0.09746, allocations: 41.91 kB / 369.8 MB, free: 1.969 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.271e-05/0.09752, allocations: 23.44 kB / 369.8 MB, free: 1.945 MB / 302.1 MB Notification: Performance of SimCode: time 2.31e-07/0.09753, allocations: 0 / 369.8 MB, free: 1.945 MB / 302.1 MB Notification: Performance of Templates: time 0.1554/0.253, allocations: 2.465 MB / 372.3 MB, free: 18.54 MB / 302.1 MB make -j1 -f Modelica_trunk_Modelica.Thermal.HeatTransfer.Examples.Motor.makefile (rm -f Modelica_trunk_Modelica.Thermal.HeatTransfer.Examples.Motor.pipe ; mkfifo Modelica_trunk_Modelica.Thermal.HeatTransfer.Examples.Motor.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Thermal.HeatTransfer.Examples.Motor.pipe >> ../files/Modelica_trunk_Modelica.Thermal.HeatTransfer.Examples.Motor.sim & ./Modelica_trunk_Modelica.Thermal.HeatTransfer.Examples.Motor -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Thermal.HeatTransfer.Examples.Motor.pipe 2>&1) diffSimulationResults("Modelica_trunk_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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Thermal.HeatTransfer.Examples.Motor.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches