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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) 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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0011/0.0011, allocations: 108.4 kB / 18.34 MB, free: 4.699 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001164/0.001164, allocations: 190.9 kB / 19.28 MB, free: 3.766 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.334/1.334, allocations: 205.1 MB / 225.2 MB, free: 12.25 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001243/0.001243, allocations: 47.92 kB / 282.1 MB, free: 2.457 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08122/0.08248, allocations: 46.63 MB / 328.7 MB, free: 3.758 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.HeatTransfer.Examples.Motor): time 0.003542/0.08605, allocations: 2.228 MB / 330.9 MB, free: 1.508 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.001519/0.0876, allocations: 0.9635 MB / 331.9 MB, free: 0.5352 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.963e-05/0.08772, allocations: 4 kB / 331.9 MB, free: 0.5312 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003347/0.08808, allocations: 99.5 kB / 332 MB, free: 444 kB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002845/0.08837, allocations: 115.3 kB / 332.1 MB, free: 328 kB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003198/0.0887, allocations: 131.6 kB / 332.2 MB, free: 196 kB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002929/0.08901, allocations: 286.9 kB / 332.5 MB, free: 15.91 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001699/0.08918, allocations: 84.5 kB / 332.6 MB, free: 15.83 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000134/0.08933, allocations: 111.6 kB / 332.7 MB, free: 15.72 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001603/0.08949, allocations: 127.5 kB / 332.8 MB, free: 15.59 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 2.936e-05/0.08953, allocations: 16 kB / 332.9 MB, free: 15.58 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001188/0.08966, allocations: 47.94 kB / 332.9 MB, free: 15.53 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 7.395e-05/0.08974, allocations: 63.75 kB / 333 MB, free: 15.47 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001073/0.08985, allocations: 115.4 kB / 333.1 MB, free: 15.36 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003095/0.09017, allocations: 283.1 kB / 333.4 MB, free: 15.08 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.397e-06/0.09018, allocations: 4 kB / 333.4 MB, free: 15.07 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.142e-06/0.09019, allocations: 3.938 kB / 333.4 MB, free: 15.07 MB / 286.1 MB Notification: Performance of Transformations before backend: time 5.821e-06/0.0902, allocations: 0 / 333.4 MB, free: 15.07 MB / 286.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.0007197/0.09092, allocations: 0.5458 MB / 333.9 MB, free: 14.48 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.957e-05/0.09096, allocations: 8.031 kB / 333.9 MB, free: 14.47 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001352/0.0911, allocations: 32.66 kB / 333.9 MB, free: 14.44 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003027/0.09141, allocations: 260.7 kB / 334.2 MB, free: 14.14 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.433e-05/0.09145, allocations: 12.38 kB / 334.2 MB, free: 14.13 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.86e-05/0.09149, allocations: 20.12 kB / 334.2 MB, free: 14.11 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002975/0.09179, allocations: 165.2 kB / 334.4 MB, free: 13.94 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.351e-05/0.09182, allocations: 4 kB / 334.4 MB, free: 13.94 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.11e-05/0.09184, allocations: 8 kB / 334.4 MB, free: 13.93 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.426e-06/0.09186, allocations: 4 kB / 334.4 MB, free: 13.93 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002358/0.0921, allocations: 111.9 kB / 334.5 MB, free: 13.82 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000809/0.09292, allocations: 0.5701 MB / 335.1 MB, free: 13.2 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002897/0.09322, allocations: 154.5 kB / 335.2 MB, free: 13.04 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001582/0.09339, allocations: 96.81 kB / 335.3 MB, free: 12.94 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.773e-05/0.09343, allocations: 7.938 kB / 335.3 MB, free: 12.93 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002127/0.09364, allocations: 111.7 kB / 335.5 MB, free: 12.81 MB / 286.1 MB Notification: Performance of pre-optimization done (n=20): time 1.533e-06/0.09366, allocations: 0 / 335.5 MB, free: 12.81 MB / 286.1 MB Notification: Performance of matching and sorting (n=20): time 0.0004724/0.09413, allocations: 237.2 kB / 335.7 MB, free: 12.57 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.058e-05/0.09418, allocations: 51.41 kB / 335.7 MB, free: 12.51 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002358/0.09443, allocations: 253 kB / 336 MB, free: 12.25 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 2.134e-05/0.09445, allocations: 37.62 kB / 336 MB, free: 12.21 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.546e-05/0.09456, allocations: 148.3 kB / 336.2 MB, free: 12.06 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.335e-05/0.09462, allocations: 67.03 kB / 336.2 MB, free: 11.99 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.779e-05/0.0947, allocations: 45.7 kB / 336.3 MB, free: 11.94 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001164/0.09483, allocations: 334.8 kB / 336.6 MB, free: 11.61 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001175/0.09495, allocations: 51.92 kB / 336.6 MB, free: 11.55 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001331/0.09509, allocations: 83.39 kB / 336.7 MB, free: 11.46 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002439/0.09534, allocations: 151.4 kB / 336.9 MB, free: 11.3 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.535e-06/0.09536, allocations: 0 / 336.9 MB, free: 11.3 MB / 286.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0003442/0.0957, allocations: 197.2 kB / 337.1 MB, free: 11.1 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.7e-05/0.09573, allocations: 4 kB / 337.1 MB, free: 11.1 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.04e-06/0.09574, allocations: 96 / 337.1 MB, free: 11.1 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.648e-05/0.09577, allocations: 8 kB / 337.1 MB, free: 11.09 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002275/0.096, allocations: 51.91 kB / 337.1 MB, free: 11.04 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.165e-05/0.09602, allocations: 7.938 kB / 337.1 MB, free: 11.03 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.749e-05/0.09612, allocations: 15.84 kB / 337.2 MB, free: 11.02 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.438e-05/0.09614, allocations: 4 kB / 337.2 MB, free: 11.01 MB / 286.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.0001435/0.09629, allocations: 145.8 kB / 337.3 MB, free: 10.86 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.448e-05/0.09633, allocations: 23.72 kB / 337.3 MB, free: 10.84 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.976e-05/0.09641, allocations: 30.17 kB / 337.4 MB, free: 10.8 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.615e-06/0.09642, allocations: 7.938 kB / 337.4 MB, free: 10.8 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.773e-06/0.09643, allocations: 7.938 kB / 337.4 MB, free: 10.79 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.947e-06/0.09644, allocations: 0 / 337.4 MB, free: 10.79 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002616/0.09671, allocations: 285.4 kB / 337.6 MB, free: 10.46 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.432e-06/0.09672, allocations: 0 / 337.6 MB, free: 10.46 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001853/0.09691, allocations: 31.98 kB / 337.7 MB, free: 10.43 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.394e-06/0.09692, allocations: 3.938 kB / 337.7 MB, free: 10.43 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.983e-05/0.09694, allocations: 7.984 kB / 337.7 MB, free: 10.42 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.904e-06/0.09695, allocations: 0 / 337.7 MB, free: 10.42 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.797e-06/0.09696, allocations: 7.938 kB / 337.7 MB, free: 10.41 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00047/0.09743, allocations: 284.9 kB / 338 MB, free: 10.11 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.366e-05/0.09751, allocations: 92.95 kB / 338.1 MB, free: 10 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.7e-05/0.09755, allocations: 7.984 kB / 338.1 MB, free: 9.996 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.199e-05/0.09765, allocations: 11.94 kB / 338.1 MB, free: 9.984 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.018e-05/0.0977, allocations: 7.984 kB / 338.1 MB, free: 9.977 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.183e-05/0.09772, allocations: 12 kB / 338.1 MB, free: 9.965 MB / 286.1 MB Notification: Performance of sorting global known variables: time 0.0001521/0.09788, allocations: 188.5 kB / 338.3 MB, free: 9.781 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.09789, allocations: 4.062 kB / 338.3 MB, free: 9.777 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0002757/0.09817, allocations: 55.84 kB / 338.4 MB, free: 9.723 MB / 286.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.0009786/0.09916, allocations: 410.4 kB / 338.8 MB, free: 9.328 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0002915/0.09946, allocations: 147.8 kB / 338.9 MB, free: 9.184 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 1.803e-06/0.09947, allocations: 0 / 338.9 MB, free: 9.184 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001297/0.0996, allocations: 75.88 kB / 339 MB, free: 9.109 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003193/0.09993, allocations: 48.83 kB / 339 MB, free: 9.062 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008655/0.1008, allocations: 0.5365 MB / 339.6 MB, free: 8.496 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003093/0.1011, allocations: 0.748 MB / 340.3 MB, free: 7.723 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 9.531e-05/0.1012, allocations: 33.92 kB / 340.3 MB, free: 7.691 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.474e-05/0.1013, allocations: 19.44 kB / 340.4 MB, free: 7.672 MB / 286.1 MB Notification: Performance of SimCode: time 2.41e-07/0.1013, allocations: 0 / 340.4 MB, free: 7.672 MB / 286.1 MB Notification: Performance of Templates: time 0.005869/0.1072, allocations: 2.667 MB / 343 MB, free: 5.004 MB / 286.1 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 -s cvode -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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Thermal/HeatTransfer/Examples/Motor/Motor.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Thermal.HeatTransfer.Examples.Motor.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches