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.0007413/0.0007413, allocations: 93.84 kB / 17.35 MB, free: 6.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0008406/0.0008406, allocations: 203.8 kB / 18.28 MB, free: 5.477 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.471/1.471, allocations: 227.7 MB / 246.8 MB, free: 11.5 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002322/0.0002323, allocations: 8 kB / 307.7 MB, free: 0.8359 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08898/0.08923, allocations: 51.52 MB / 359.3 MB, free: 13.32 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.HeatTransfer.Examples.Motor): time 0.002389/0.09166, allocations: 1.94 MB / 361.2 MB, free: 11.36 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001733/0.09342, allocations: 1.196 MB / 362.4 MB, free: 10.16 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.811e-05/0.09354, allocations: 4 kB / 362.4 MB, free: 10.16 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003357/0.09388, allocations: 83.69 kB / 362.5 MB, free: 10.07 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003421/0.09424, allocations: 139.3 kB / 362.6 MB, free: 9.938 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002462/0.0945, allocations: 99.78 kB / 362.7 MB, free: 9.84 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003084/0.09481, allocations: 282.8 kB / 363 MB, free: 9.562 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001775/0.095, allocations: 72.02 kB / 363.1 MB, free: 9.492 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001239/0.09513, allocations: 99.56 kB / 363.2 MB, free: 9.395 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000162/0.09531, allocations: 115.5 kB / 363.3 MB, free: 9.281 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 2.275e-05/0.09534, allocations: 12 kB / 363.3 MB, free: 9.27 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001166/0.09546, allocations: 43.97 kB / 363.3 MB, free: 9.227 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 6.608e-05/0.09554, allocations: 47.78 kB / 363.4 MB, free: 9.18 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001126/0.09566, allocations: 141 kB / 363.5 MB, free: 9.035 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002854/0.09595, allocations: 275.3 kB / 363.8 MB, free: 8.766 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.687e-06/0.09596, allocations: 0 / 363.8 MB, free: 8.766 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.533e-06/0.09597, allocations: 0 / 363.8 MB, free: 8.766 MB / 302.1 MB Notification: Performance of Transformations before backend: time 4.448e-06/0.09598, allocations: 0 / 363.8 MB, free: 8.766 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.0006627/0.09665, allocations: 0.507 MB / 364.3 MB, free: 8.211 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.52e-05/0.09669, allocations: 8.031 kB / 364.3 MB, free: 8.203 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001337/0.09683, allocations: 36.5 kB / 364.3 MB, free: 8.168 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000278/0.09711, allocations: 263.5 kB / 364.6 MB, free: 7.871 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.361e-05/0.09715, allocations: 16.38 kB / 364.6 MB, free: 7.855 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.673e-05/0.09719, allocations: 20.12 kB / 364.6 MB, free: 7.836 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003033/0.0975, allocations: 161.5 kB / 364.8 MB, free: 7.672 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.191e-05/0.09752, allocations: 7.984 kB / 364.8 MB, free: 7.664 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.982e-05/0.09755, allocations: 4 kB / 364.8 MB, free: 7.66 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.452e-06/0.09756, allocations: 4 kB / 364.8 MB, free: 7.656 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000244/0.09781, allocations: 119.7 kB / 364.9 MB, free: 7.539 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000805/0.09862, allocations: 0.5624 MB / 365.5 MB, free: 6.926 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002883/0.09892, allocations: 158.5 kB / 365.6 MB, free: 6.762 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001501/0.09908, allocations: 88.81 kB / 365.7 MB, free: 6.672 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.563e-05/0.09912, allocations: 4 kB / 365.7 MB, free: 6.668 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002338/0.09936, allocations: 111.4 kB / 365.8 MB, free: 6.547 MB / 302.1 MB Notification: Performance of pre-optimization done (n=20): time 1.823e-06/0.09937, allocations: 0 / 365.8 MB, free: 6.547 MB / 302.1 MB Notification: Performance of matching and sorting (n=20): time 0.0004819/0.09986, allocations: 239.1 kB / 366.1 MB, free: 6.309 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.336e-05/0.0999, allocations: 51.41 kB / 366.1 MB, free: 6.246 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002433/0.1001, allocations: 265 kB / 366.4 MB, free: 5.977 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.952e-05/0.1002, allocations: 25.7 kB / 366.4 MB, free: 5.945 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001001/0.1003, allocations: 152.3 kB / 366.5 MB, free: 5.793 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.921e-05/0.1003, allocations: 66.95 kB / 366.6 MB, free: 5.727 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.068e-05/0.1004, allocations: 29.7 kB / 366.6 MB, free: 5.691 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001055/0.1005, allocations: 338.8 kB / 367 MB, free: 5.352 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001095/0.1006, allocations: 55.97 kB / 367 MB, free: 5.297 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001253/0.1008, allocations: 84.5 kB / 367.1 MB, free: 5.203 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002339/0.101, allocations: 143.4 kB / 367.2 MB, free: 5.051 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.358e-06/0.101, allocations: 0 / 367.2 MB, free: 5.051 MB / 302.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0003348/0.1014, allocations: 212.7 kB / 367.5 MB, free: 4.84 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.646e-05/0.1014, allocations: 8 kB / 367.5 MB, free: 4.832 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.263e-06/0.1014, allocations: 3.984 kB / 367.5 MB, free: 4.828 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.17e-05/0.1014, allocations: 0 / 367.5 MB, free: 4.828 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002047/0.1016, allocations: 43.98 kB / 367.5 MB, free: 4.785 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.816e-06/0.1016, allocations: 3.938 kB / 367.5 MB, free: 4.781 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000115/0.1018, allocations: 27.92 kB / 367.5 MB, free: 4.754 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.472e-05/0.1018, allocations: 11.94 kB / 367.6 MB, free: 4.742 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 ($PRE.lossTable.nextTimeEvent,$whenCondition1,lossTable.nextTimeEventScaled,$PRE.lossTable.nextTimeEventScaled,lossTable.nextTimeEvent) * 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001357/0.1019, allocations: 150.4 kB / 367.7 MB, free: 4.586 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.042e-05/0.102, allocations: 23.7 kB / 367.7 MB, free: 4.562 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.817e-05/0.102, allocations: 26.19 kB / 367.7 MB, free: 4.535 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.807e-06/0.102, allocations: 4 kB / 367.8 MB, free: 4.531 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.481e-06/0.1021, allocations: 3.938 kB / 367.8 MB, free: 4.527 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.45e-06/0.1021, allocations: 7.984 kB / 367.8 MB, free: 4.52 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002539/0.1023, allocations: 281.5 kB / 368 MB, free: 4.195 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.513e-06/0.1023, allocations: 4 kB / 368 MB, free: 4.191 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001719/0.1025, allocations: 39.92 kB / 368.1 MB, free: 4.152 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.757e-06/0.1025, allocations: 3.984 kB / 368.1 MB, free: 4.148 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.504e-05/0.1025, allocations: 3.984 kB / 368.1 MB, free: 4.145 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.895e-06/0.1026, allocations: 4 kB / 368.1 MB, free: 4.141 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.144e-06/0.1026, allocations: 3.938 kB / 368.1 MB, free: 4.137 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004522/0.103, allocations: 287.8 kB / 368.4 MB, free: 3.84 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.309e-05/0.1031, allocations: 104.8 kB / 368.5 MB, free: 3.719 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.196e-05/0.1031, allocations: 7.938 kB / 368.5 MB, free: 3.711 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.019e-05/0.1032, allocations: 11.94 kB / 368.5 MB, free: 3.699 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.098e-05/0.1033, allocations: 11.98 kB / 368.5 MB, free: 3.688 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.045e-05/0.1033, allocations: 11.98 kB / 368.5 MB, free: 3.676 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.000159/0.1035, allocations: 188.5 kB / 368.7 MB, free: 3.492 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.1035, allocations: 0 / 368.7 MB, free: 3.492 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002614/0.1037, allocations: 67.89 kB / 368.8 MB, free: 3.426 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0008422/0.1046, allocations: 405.5 kB / 369.2 MB, free: 3.16 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.00029/0.1049, allocations: 135.9 kB / 369.3 MB, free: 3.027 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 1.743e-06/0.1049, allocations: 3.938 kB / 369.3 MB, free: 3.023 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001284/0.105, allocations: 71.91 kB / 369.4 MB, free: 2.953 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003477/0.1054, allocations: 52.53 kB / 369.4 MB, free: 2.902 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009447/0.1063, allocations: 0.67 MB / 370.1 MB, free: 2.207 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002667/0.1066, allocations: 0.7482 MB / 370.8 MB, free: 1.434 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001055/0.1067, allocations: 33.92 kB / 370.9 MB, free: 1.402 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.545e-05/0.1068, allocations: 27.38 kB / 370.9 MB, free: 1.375 MB / 302.1 MB Notification: Performance of SimCode: time 3.01e-07/0.1068, allocations: 0 / 370.9 MB, free: 1.375 MB / 302.1 MB Notification: Performance of Templates: time 0.2192/0.326, allocations: 2.525 MB / 373.4 MB, free: 18.6 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