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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001512/0.001512, allocations: 81.05 kB / 10.02 MB, free: 0.6719 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.002813/0.004326, allocations: 453.8 kB / 10.46 MB, free: 236 kB / 10.45 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001596/0.001596, allocations: 165.1 kB / 11.36 MB, free: 2.812 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.002143/0.003739, allocations: 483.5 kB / 11.83 MB, free: 2.336 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.081/1.081, allocations: 158.6 MB / 171.2 MB, free: 2.496 MB / 170.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.198/1.279, allocations: 49.5 MB / 220.7 MB, free: 1.355 MB / 218.7 MB " [Timeout remaining time 179] 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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Modelica.Thermal.HeatTransfer.Examples.Motor,tolerance=1e-06,outputFormat="mat",numberOfIntervals=720000,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=720000,variableFilter="time|core.T|winding.T",fileNamePrefix="Modelica_3.2.3_Modelica.Thermal.HeatTransfer.Examples.Motor") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 6.613e-06/6.613e-06, allocations: 4 kB / 222 MB, free: 84 kB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.656e-05/4.317e-05, allocations: 2.312 kB / 222 MB, free: 80 kB / 218.7 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.HeatTransfer.Examples.Motor): time 0.006264/0.006307, allocations: 2.296 MB / 224.3 MB, free: 13.76 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.002662/0.008969, allocations: 0.9787 MB / 225.2 MB, free: 12.77 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003097/0.009279, allocations: 0 / 225.2 MB, free: 12.77 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005359/0.009815, allocations: 107.3 kB / 225.4 MB, free: 12.66 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005108/0.01033, allocations: 127.2 kB / 225.5 MB, free: 12.54 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005377/0.01086, allocations: 131.5 kB / 225.6 MB, free: 12.41 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005693/0.01143, allocations: 294.6 kB / 225.9 MB, free: 12.12 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002589/0.01169, allocations: 70.53 kB / 226 MB, free: 12.05 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000446/0.01214, allocations: 187.6 kB / 226.1 MB, free: 11.87 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000316/0.01245, allocations: 103.7 kB / 226.2 MB, free: 11.77 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 5.825e-05/0.01251, allocations: 20 kB / 226.3 MB, free: 11.75 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002489/0.01276, allocations: 43.94 kB / 226.3 MB, free: 11.71 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001004/0.01286, allocations: 47.86 kB / 226.4 MB, free: 11.66 MB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001178/0.01298, allocations: 67.81 kB / 226.4 MB, free: 11.59 MB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004945/0.01347, allocations: 207.2 kB / 226.6 MB, free: 11.39 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.002e-05/0.01349, allocations: 0 / 226.6 MB, free: 11.39 MB / 234.7 MB Notification: Performance of FrontEnd: time 2.285e-06/0.0135, allocations: 0 / 226.6 MB, free: 11.39 MB / 234.7 MB Notification: Performance of Transformations before backend: time 2.133e-05/0.01352, allocations: 3.938 kB / 226.6 MB, free: 11.39 MB / 234.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.001023/0.01454, allocations: 0.4958 MB / 227.1 MB, free: 10.87 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.694e-05/0.01459, allocations: 8.031 kB / 227.1 MB, free: 10.86 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002829/0.01487, allocations: 118 kB / 227.2 MB, free: 10.73 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003201/0.01519, allocations: 174.4 kB / 227.4 MB, free: 10.53 MB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.744e-05/0.01522, allocations: 8.375 kB / 227.4 MB, free: 10.52 MB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.293e-05/0.01527, allocations: 24.33 kB / 227.4 MB, free: 10.5 MB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000302/0.01557, allocations: 129.7 kB / 227.6 MB, free: 10.36 MB / 234.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.805e-05/0.01559, allocations: 3.938 kB / 227.6 MB, free: 10.36 MB / 234.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.081e-05/0.01561, allocations: 12 kB / 227.6 MB, free: 10.34 MB / 234.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.148e-05/0.01562, allocations: 4 kB / 227.6 MB, free: 10.34 MB / 234.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001485/0.01577, allocations: 59.47 kB / 227.7 MB, free: 10.28 MB / 234.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008273/0.0166, allocations: 357.3 kB / 228 MB, free: 9.914 MB / 234.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002542/0.01685, allocations: 145.2 kB / 228.1 MB, free: 9.762 MB / 234.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.079e-05/0.01693, allocations: 44.83 kB / 228.2 MB, free: 9.715 MB / 234.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.605e-05/0.01696, allocations: 4 kB / 228.2 MB, free: 9.711 MB / 234.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002096/0.01717, allocations: 98.39 kB / 228.3 MB, free: 9.602 MB / 234.7 MB Notification: Performance of pre-optimization done (n=20): time 3.447e-06/0.01717, allocations: 0 / 228.3 MB, free: 9.602 MB / 234.7 MB Notification: Performance of matching and sorting (n=20): time 0.0003016/0.01747, allocations: 125.5 kB / 228.4 MB, free: 9.473 MB / 234.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.648e-05/0.01752, allocations: 51.41 kB / 228.5 MB, free: 9.41 MB / 234.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000226/0.01775, allocations: 221.1 kB / 228.7 MB, free: 9.18 MB / 234.7 MB Notification: Performance of collectPreVariables (initialization): time 3.537e-05/0.01778, allocations: 33.7 kB / 228.7 MB, free: 9.141 MB / 234.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.796e-05/0.01788, allocations: 128.3 kB / 228.8 MB, free: 9.012 MB / 234.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.944e-05/0.01796, allocations: 67.42 kB / 228.9 MB, free: 8.945 MB / 234.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.902e-05/0.01804, allocations: 41.69 kB / 228.9 MB, free: 8.898 MB / 234.7 MB Notification: Performance of setup shared object (initialization): time 0.0001516/0.01819, allocations: 334.8 kB / 229.3 MB, free: 8.562 MB / 234.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.79e-05/0.01825, allocations: 22.81 kB / 229.3 MB, free: 8.539 MB / 234.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.862e-05/0.01833, allocations: 51.41 kB / 229.3 MB, free: 8.477 MB / 234.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001566/0.01848, allocations: 116.8 kB / 229.5 MB, free: 8.348 MB / 234.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.136e-06/0.01849, allocations: 0 / 229.5 MB, free: 8.348 MB / 234.7 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0002358/0.01872, allocations: 124.3 kB / 229.6 MB, free: 8.219 MB / 234.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.441e-05/0.01875, allocations: 7.938 kB / 229.6 MB, free: 8.211 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.366e-06/0.01875, allocations: 0 / 229.6 MB, free: 8.211 MB / 234.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.253e-05/0.01878, allocations: 4 kB / 229.6 MB, free: 8.207 MB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002663/0.01904, allocations: 51.97 kB / 229.6 MB, free: 8.156 MB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.324e-06/0.01905, allocations: 3.938 kB / 229.6 MB, free: 8.152 MB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.803e-05/0.01911, allocations: 23.98 kB / 229.7 MB, free: 8.129 MB / 234.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.079e-05/0.01912, allocations: 7.984 kB / 229.7 MB, free: 8.121 MB / 234.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 ($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 9.095e-05/0.01921, allocations: 128.6 kB / 229.8 MB, free: 7.984 MB / 234.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.543e-05/0.01924, allocations: 23.92 kB / 229.8 MB, free: 7.961 MB / 234.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001816/0.01942, allocations: 127.3 kB / 229.9 MB, free: 7.836 MB / 234.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.045e-06/0.01942, allocations: 0 / 229.9 MB, free: 7.836 MB / 234.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.367e-06/0.01942, allocations: 3.938 kB / 229.9 MB, free: 7.832 MB / 234.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.006e-06/0.01943, allocations: 3.984 kB / 230 MB, free: 7.828 MB / 234.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001363/0.01957, allocations: 129.8 kB / 230.1 MB, free: 7.684 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.425e-06/0.01957, allocations: 0 / 230.1 MB, free: 7.684 MB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001581/0.01973, allocations: 57.94 kB / 230.1 MB, free: 7.629 MB / 234.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.607e-05/0.01975, allocations: 19.83 kB / 230.2 MB, free: 7.609 MB / 234.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.733e-06/0.01976, allocations: 4 kB / 230.2 MB, free: 7.605 MB / 234.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.705e-05/0.01978, allocations: 11.92 kB / 230.2 MB, free: 7.594 MB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.41e-06/0.01978, allocations: 7.922 kB / 230.2 MB, free: 7.586 MB / 234.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.716e-06/0.01979, allocations: 0 / 230.2 MB, free: 7.586 MB / 234.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002416/0.02003, allocations: 179 kB / 230.4 MB, free: 7.391 MB / 234.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.336e-05/0.02005, allocations: 4 kB / 230.4 MB, free: 7.387 MB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.723e-05/0.0201, allocations: 8 kB / 230.4 MB, free: 7.379 MB / 234.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.763e-05/0.02014, allocations: 11.97 kB / 230.4 MB, free: 7.367 MB / 234.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.884e-05/0.02016, allocations: 15.97 kB / 230.4 MB, free: 7.352 MB / 234.7 MB Notification: Performance of sorting global known variables: time 6.243e-05/0.02022, allocations: 71.94 kB / 230.5 MB, free: 7.277 MB / 234.7 MB Notification: Performance of sort global known variables: time 1e-07/0.02022, allocations: 0 / 230.5 MB, free: 7.277 MB / 234.7 MB Notification: Performance of remove unused functions: time 0.0001816/0.0204, allocations: 63.83 kB / 230.5 MB, free: 7.215 MB / 234.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 (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.001336/0.02174, allocations: 0.5625 MB / 231.1 MB, free: 6.68 MB / 234.7 MB Notification: Performance of simCode: created initialization part: time 0.0001609/0.0219, allocations: 93.31 kB / 231.2 MB, free: 6.586 MB / 234.7 MB Notification: Performance of simCode: created event and clocks part: time 1.397e-05/0.02191, allocations: 4.281 kB / 231.2 MB, free: 6.582 MB / 234.7 MB Notification: Performance of simCode: created simulation system equations: time 7.585e-05/0.02199, allocations: 68.7 kB / 231.3 MB, free: 6.512 MB / 234.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000325/0.02231, allocations: 370.5 kB / 231.6 MB, free: 6.082 MB / 234.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002588/0.0249, allocations: 442.8 kB / 232 MB, free: 5.625 MB / 234.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.275e-05/0.02496, allocations: 87.97 kB / 232.1 MB, free: 5.52 MB / 234.7 MB Notification: Performance of simCode: alias equations: time 8.713e-05/0.02505, allocations: 29.91 kB / 232.2 MB, free: 5.484 MB / 234.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001189/0.02517, allocations: 83.36 kB / 232.2 MB, free: 5.402 MB / 234.7 MB Notification: Performance of SimCode: time 1.613e-06/0.02517, allocations: 0 / 232.2 MB, free: 5.402 MB / 234.7 MB Notification: Performance of Templates: time 0.006073/0.03124, allocations: 3.031 MB / 235.3 MB, free: 2.371 MB / 234.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Thermal.HeatTransfer.Examples.Motor.makefile [Timeout 660] (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=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_3.2.3_Modelica.Thermal.HeatTransfer.Examples.Motor.pipe 2>&1) [Timeout 240] 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","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 657] Reference file matches [Calling sys.exit(0), Time elapsed: 7.617498451843858]