Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Thermal.HeatTransfer.Examples.TwoMasses.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.0008416/0.0008416, allocations: 68.19 kB / 9.935 MB, free: 0.75 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001081/0.001923, allocations: 445.7 kB / 10.37 MB, free: 324 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.0007225/0.0007225, allocations: 161.1 kB / 11.26 MB, free: 2.906 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009106/0.001633, allocations: 463.6 kB / 11.71 MB, free: 2.449 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 0.9592/0.9592, allocations: 158.6 MB / 171.1 MB, free: 2.586 MB / 170.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1622/1.121, allocations: 49.49 MB / 220.6 MB, free: 1.449 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.TwoMasses,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|mass1.T|mass2.T",fileNamePrefix="Modelica_3.2.3_Modelica.Thermal.HeatTransfer.Examples.TwoMasses") translateModel(Modelica.Thermal.HeatTransfer.Examples.TwoMasses,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|mass1.T|mass2.T",fileNamePrefix="Modelica_3.2.3_Modelica.Thermal.HeatTransfer.Examples.TwoMasses") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.532e-06/1.532e-06, allocations: 0 / 221.8 MB, free: 204 kB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.073e-05/2.226e-05, allocations: 6.25 kB / 221.8 MB, free: 196 kB / 218.7 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.HeatTransfer.Examples.TwoMasses): time 0.002618/0.00264, allocations: 1.707 MB / 223.5 MB, free: 14.47 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.006745/0.009385, allocations: 0.519 MB / 224 MB, free: 13.95 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.621e-05/0.009452, allocations: 4 kB / 224 MB, free: 13.94 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 4.549e-05/0.009497, allocations: 15.8 kB / 224.1 MB, free: 13.93 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 6.631e-05/0.009563, allocations: 27.77 kB / 224.1 MB, free: 13.9 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001375/0.009701, allocations: 31.89 kB / 224.1 MB, free: 13.87 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001287/0.00983, allocations: 103.5 kB / 224.2 MB, free: 13.77 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001137/0.009943, allocations: 27.97 kB / 224.2 MB, free: 13.74 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.685e-05/0.01003, allocations: 55.89 kB / 224.3 MB, free: 13.68 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.682e-05/0.01012, allocations: 35.89 kB / 224.3 MB, free: 13.65 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 2.572e-05/0.01014, allocations: 8 kB / 224.3 MB, free: 13.64 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.213e-05/0.01023, allocations: 12 kB / 224.4 MB, free: 13.63 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 2.311e-05/0.01026, allocations: 15.94 kB / 224.4 MB, free: 13.61 MB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 3.597e-05/0.01029, allocations: 24 kB / 224.4 MB, free: 13.59 MB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001435/0.01044, allocations: 63.77 kB / 224.5 MB, free: 13.53 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.791e-05/0.01046, allocations: 0 / 224.5 MB, free: 13.53 MB / 234.7 MB Notification: Performance of FrontEnd: time 1.823e-06/0.01046, allocations: 0 / 224.5 MB, free: 13.53 MB / 234.7 MB Notification: Performance of Transformations before backend: time 1.631e-05/0.01047, allocations: 0 / 224.5 MB, free: 13.53 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: 20 * Number of variables: 20 Notification: Performance of Generate backend data structure: time 0.0004374/0.01091, allocations: 304.3 kB / 224.8 MB, free: 13.21 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.723e-05/0.01095, allocations: 12.03 kB / 224.8 MB, free: 13.2 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001783/0.01113, allocations: 102 kB / 224.9 MB, free: 13.08 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001128/0.01124, allocations: 117.7 kB / 225 MB, free: 12.94 MB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.58e-05/0.01125, allocations: 12.31 kB / 225 MB, free: 12.93 MB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.243e-05/0.01128, allocations: 8.375 kB / 225 MB, free: 12.92 MB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001141/0.01139, allocations: 70.11 kB / 225.1 MB, free: 12.84 MB / 234.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.047e-05/0.0114, allocations: 192 / 225.1 MB, free: 12.84 MB / 234.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.148e-05/0.01141, allocations: 8.375 kB / 225.1 MB, free: 12.84 MB / 234.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.855e-06/0.01142, allocations: 3.938 kB / 225.1 MB, free: 12.83 MB / 234.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.145e-05/0.01148, allocations: 23.98 kB / 225.1 MB, free: 12.81 MB / 234.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000467/0.01195, allocations: 259.9 kB / 225.4 MB, free: 12.54 MB / 234.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001905/0.01385, allocations: 46.55 kB / 225.4 MB, free: 12.48 MB / 234.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.322e-05/0.0139, allocations: 24.84 kB / 225.4 MB, free: 12.46 MB / 234.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.139e-05/0.01391, allocations: 0 / 225.4 MB, free: 12.46 MB / 234.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.079e-05/0.01394, allocations: 34.56 kB / 225.5 MB, free: 12.41 MB / 234.7 MB Notification: Performance of pre-optimization done (n=8): time 1.583e-06/0.01394, allocations: 0 / 225.5 MB, free: 12.41 MB / 234.7 MB Notification: Performance of matching and sorting (n=8): time 0.0001582/0.0141, allocations: 73.73 kB / 225.5 MB, free: 12.34 MB / 234.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.614e-05/0.01414, allocations: 51.41 kB / 225.6 MB, free: 12.27 MB / 234.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.227e-05/0.01421, allocations: 114.7 kB / 225.7 MB, free: 12.15 MB / 234.7 MB Notification: Performance of collectPreVariables (initialization): time 9.598e-06/0.01422, allocations: 25.7 kB / 225.7 MB, free: 12.12 MB / 234.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.871e-05/0.01428, allocations: 104.1 kB / 225.8 MB, free: 12.01 MB / 234.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.045e-05/0.01431, allocations: 39.72 kB / 225.9 MB, free: 11.97 MB / 234.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.987e-05/0.01434, allocations: 21.72 kB / 225.9 MB, free: 11.95 MB / 234.7 MB Notification: Performance of setup shared object (initialization): time 7.772e-05/0.01441, allocations: 330.8 kB / 226.2 MB, free: 11.61 MB / 234.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.112e-05/0.01443, allocations: 4 kB / 226.2 MB, free: 11.61 MB / 234.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.719e-05/0.01445, allocations: 34.55 kB / 226.2 MB, free: 11.57 MB / 234.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.9e-05/0.0145, allocations: 46.5 kB / 226.3 MB, free: 11.51 MB / 234.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/0.0145, allocations: 4 kB / 226.3 MB, free: 11.51 MB / 234.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 8.696e-05/0.01459, allocations: 69.55 kB / 226.4 MB, free: 11.43 MB / 234.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.79e-05/0.01461, allocations: 11.98 kB / 226.4 MB, free: 11.42 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.273e-06/0.01462, allocations: 0 / 226.4 MB, free: 11.42 MB / 234.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.127e-05/0.01463, allocations: 0 / 226.4 MB, free: 11.42 MB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001805/0.01481, allocations: 39.92 kB / 226.4 MB, free: 11.38 MB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.266e-06/0.01481, allocations: 0 / 226.4 MB, free: 11.38 MB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.854e-05/0.01484, allocations: 11.89 kB / 226.4 MB, free: 11.37 MB / 234.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.729e-06/0.01484, allocations: 0 / 226.4 MB, free: 11.37 MB / 234.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (13): * Single equations (assignments): 13 * 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 7.286e-05/0.01492, allocations: 121.8 kB / 226.5 MB, free: 11.24 MB / 234.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.983e-05/0.01495, allocations: 4 kB / 226.5 MB, free: 11.24 MB / 234.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.035e-05/0.01499, allocations: 12.42 kB / 226.6 MB, free: 11.23 MB / 234.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.886e-06/0.01499, allocations: 0 / 226.6 MB, free: 11.23 MB / 234.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.965e-06/0.01499, allocations: 0 / 226.6 MB, free: 11.23 MB / 234.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.182e-06/0.015, allocations: 3.984 kB / 226.6 MB, free: 11.22 MB / 234.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001121/0.01511, allocations: 93.8 kB / 226.7 MB, free: 11.11 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.723e-06/0.01511, allocations: 0 / 226.7 MB, free: 11.11 MB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.22e-05/0.01521, allocations: 27.92 kB / 226.7 MB, free: 11.09 MB / 234.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.684e-06/0.01521, allocations: 4 kB / 226.7 MB, free: 11.08 MB / 234.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.064e-06/0.01522, allocations: 4 kB / 226.7 MB, free: 11.08 MB / 234.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.568e-06/0.01522, allocations: 0 / 226.7 MB, free: 11.08 MB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.373e-06/0.01523, allocations: 0 / 226.7 MB, free: 11.08 MB / 234.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.92e-07/0.01523, allocations: 0 / 226.7 MB, free: 11.08 MB / 234.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001511/0.01538, allocations: 175.4 kB / 226.9 MB, free: 10.89 MB / 234.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.134e-05/0.01539, allocations: 4 kB / 226.9 MB, free: 10.89 MB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.073e-05/0.01542, allocations: 256 / 226.9 MB, free: 10.89 MB / 234.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.715e-05/0.01544, allocations: 7.938 kB / 226.9 MB, free: 10.88 MB / 234.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.218e-06/0.01544, allocations: 4 kB / 226.9 MB, free: 10.88 MB / 234.7 MB Notification: Performance of sorting global known variables: time 1.494e-05/0.01546, allocations: 12.84 kB / 226.9 MB, free: 10.86 MB / 234.7 MB Notification: Performance of sort global known variables: time 4e-08/0.01546, allocations: 3.938 kB / 226.9 MB, free: 10.86 MB / 234.7 MB Notification: Performance of remove unused functions: time 0.0001361/0.01559, allocations: 31.97 kB / 226.9 MB, free: 10.82 MB / 234.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (mass1.T,mass2.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 8 * 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 Backend phase and start with SimCode phase: time 0.000118/0.01571, allocations: 72.42 kB / 227 MB, free: 10.75 MB / 234.7 MB Notification: Performance of simCode: created initialization part: time 0.0001026/0.01581, allocations: 44.78 kB / 227 MB, free: 10.7 MB / 234.7 MB Notification: Performance of simCode: created event and clocks part: time 1.04e-05/0.01582, allocations: 0 / 227 MB, free: 10.7 MB / 234.7 MB Notification: Performance of simCode: created simulation system equations: time 2.051e-05/0.01584, allocations: 24.83 kB / 227.1 MB, free: 10.67 MB / 234.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001982/0.01604, allocations: 19.94 kB / 227.1 MB, free: 10.65 MB / 234.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001567/0.01761, allocations: 243.4 kB / 227.3 MB, free: 10.39 MB / 234.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.841e-05/0.01765, allocations: 63.34 kB / 227.4 MB, free: 10.31 MB / 234.7 MB Notification: Performance of simCode: alias equations: time 3.119e-05/0.01768, allocations: 0.7344 kB / 227.4 MB, free: 10.3 MB / 234.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.275e-05/0.01773, allocations: 67.38 kB / 227.4 MB, free: 10.23 MB / 234.7 MB Notification: Performance of SimCode: time 1.193e-06/0.01773, allocations: 0 / 227.4 MB, free: 10.23 MB / 234.7 MB Notification: Performance of Templates: time 0.002509/0.02024, allocations: 0.781 MB / 228.2 MB, free: 9.457 MB / 234.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Thermal.HeatTransfer.Examples.TwoMasses.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Thermal.HeatTransfer.Examples.TwoMasses.pipe ; mkfifo Modelica_3.2.3_Modelica.Thermal.HeatTransfer.Examples.TwoMasses.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Thermal.HeatTransfer.Examples.TwoMasses.pipe >> ../files/Modelica_3.2.3_Modelica.Thermal.HeatTransfer.Examples.TwoMasses.sim & ./Modelica_3.2.3_Modelica.Thermal.HeatTransfer.Examples.TwoMasses -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_3.2.3_Modelica.Thermal.HeatTransfer.Examples.TwoMasses.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_3.2.3_Modelica.Thermal.HeatTransfer.Examples.TwoMasses_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Thermal/HeatTransfer/Examples/TwoMasses/TwoMasses.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.484603679738939]