Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00101/0.00101, allocations: 76.48 kB / 9.931 MB, free: 0.7617 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001354/0.002364, allocations: 449.7 kB / 10.37 MB, free: 332 kB / 10.45 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009954/0.0009954, allocations: 148.9 kB / 11.24 MB, free: 2.934 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001375/0.00237, allocations: 459.6 kB / 11.69 MB, free: 2.48 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.011/1.011, allocations: 173.3 MB / 185.8 MB, free: 8.996 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08115/1.092, allocations: 52.5 MB / 238.3 MB, free: 4.434 MB / 234.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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.FluidHeatFlow.Examples.OneMass,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|heatCapacitor.T|pipe.T",fileNamePrefix="Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.OneMass") translateModel(Modelica.Thermal.FluidHeatFlow.Examples.OneMass,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|heatCapacitor.T|pipe.T",fileNamePrefix="Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.OneMass") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.613e-06/1.613e-06, allocations: 0 / 239.5 MB, free: 3.203 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.027e-05/2.188e-05, allocations: 2.312 kB / 239.5 MB, free: 3.199 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.OneMass): time 0.003283/0.003305, allocations: 3.701 MB / 243.2 MB, free: 15.48 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001035/0.00434, allocations: 1.012 MB / 244.2 MB, free: 14.46 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001317/0.004472, allocations: 7.938 kB / 244.3 MB, free: 14.45 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001767/0.004648, allocations: 111 kB / 244.4 MB, free: 14.34 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002437/0.004892, allocations: 214.2 kB / 244.6 MB, free: 14.13 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001702/0.005062, allocations: 131.8 kB / 244.7 MB, free: 14 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004791/0.005541, allocations: 0.7156 MB / 245.4 MB, free: 13.29 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000165/0.005706, allocations: 124.8 kB / 245.5 MB, free: 13.15 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003563/0.006063, allocations: 489.8 kB / 246 MB, free: 12.68 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001941/0.006257, allocations: 215.4 kB / 246.2 MB, free: 12.46 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 5.672e-05/0.006314, allocations: 56 kB / 246.3 MB, free: 12.41 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.651e-05/0.00637, allocations: 64 kB / 246.3 MB, free: 12.35 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 5.838e-05/0.006428, allocations: 87.69 kB / 246.4 MB, free: 12.26 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001342/0.006563, allocations: 179.7 kB / 246.6 MB, free: 12.09 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003315/0.006894, allocations: 418.5 kB / 247 MB, free: 11.68 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.35e-05/0.006908, allocations: 0 / 247 MB, free: 11.68 MB / 250.7 MB Notification: Performance of FrontEnd: time 8.62e-07/0.006908, allocations: 0 / 247 MB, free: 11.68 MB / 250.7 MB Notification: Performance of Transformations before backend: time 1.56e-05/0.006924, allocations: 0 / 247 MB, free: 11.68 MB / 250.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 79 * Number of variables: 79 Notification: Performance of Generate backend data structure: time 0.0008684/0.007792, allocations: 0.8979 MB / 247.9 MB, free: 10.75 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.643e-05/0.007819, allocations: 11.97 kB / 247.9 MB, free: 10.73 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.635e-05/0.007895, allocations: 76.86 kB / 248 MB, free: 10.66 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002889/0.008184, allocations: 279.7 kB / 248.3 MB, free: 10.36 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.223e-05/0.008256, allocations: 102.3 kB / 248.4 MB, free: 10.25 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.084e-05/0.008297, allocations: 48.36 kB / 248.4 MB, free: 10.2 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000442/0.008739, allocations: 0.7496 MB / 249.2 MB, free: 9.297 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.154e-05/0.008751, allocations: 192 / 249.2 MB, free: 9.297 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.158e-05/0.008772, allocations: 16.12 kB / 249.2 MB, free: 9.281 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.494e-06/0.00878, allocations: 8 kB / 249.2 MB, free: 9.273 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001514/0.008931, allocations: 107.1 kB / 249.3 MB, free: 9.168 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008684/0.0098, allocations: 0.6596 MB / 250 MB, free: 8.488 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001742/0.009974, allocations: 138.5 kB / 250.1 MB, free: 8.344 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.691e-05/0.01004, allocations: 69.23 kB / 250.2 MB, free: 8.273 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.718e-05/0.01007, allocations: 8 kB / 250.2 MB, free: 8.266 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.557e-05/0.01009, allocations: 46.41 kB / 250.2 MB, free: 8.211 MB / 250.7 MB Notification: Performance of pre-optimization done (n=35): time 1.272e-06/0.01009, allocations: 0 / 250.2 MB, free: 8.211 MB / 250.7 MB Notification: Performance of matching and sorting (n=35): time 0.0004069/0.0105, allocations: 267 kB / 250.5 MB, free: 7.938 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.556e-05/0.01053, allocations: 63.34 kB / 250.5 MB, free: 7.863 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000202/0.01073, allocations: 363.3 kB / 250.9 MB, free: 7.496 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 2.416e-05/0.01075, allocations: 33.7 kB / 250.9 MB, free: 7.457 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.626e-05/0.01083, allocations: 189.5 kB / 251.1 MB, free: 7.266 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.333e-05/0.01089, allocations: 134.8 kB / 251.2 MB, free: 7.133 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.953e-05/0.01096, allocations: 69.67 kB / 251.3 MB, free: 7.059 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 8.685e-05/0.01105, allocations: 362.7 kB / 251.7 MB, free: 6.695 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.135e-05/0.01111, allocations: 57.69 kB / 251.7 MB, free: 6.633 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002153/0.01133, allocations: 0.5721 MB / 252.3 MB, free: 5.906 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001453/0.01147, allocations: 161.2 kB / 252.4 MB, free: 5.738 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.894e-06/0.01147, allocations: 0 / 252.4 MB, free: 5.738 MB / 250.7 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0002282/0.0117, allocations: 280.1 kB / 252.7 MB, free: 5.441 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.959e-05/0.01173, allocations: 33.7 kB / 252.8 MB, free: 5.402 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.248e-06/0.01174, allocations: 0 / 252.8 MB, free: 5.402 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.93e-05/0.01181, allocations: 33.7 kB / 252.8 MB, free: 5.363 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002579/0.01207, allocations: 107.9 kB / 252.9 MB, free: 5.258 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00109/0.01316, allocations: 2.419 MB / 255.3 MB, free: 2.672 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001506/0.01331, allocations: 43.77 kB / 255.3 MB, free: 2.629 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.377e-05/0.01333, allocations: 8 kB / 255.4 MB, free: 2.621 MB / 250.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (37): * Single equations (assignments): 34 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(3,1), (1,1)} Notification: Performance of prepare postOptimizeDAE: time 9.543e-05/0.01342, allocations: 137.8 kB / 255.5 MB, free: 2.477 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.585e-05/0.01347, allocations: 43.95 kB / 255.5 MB, free: 2.434 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.754e-05/0.01352, allocations: 44.58 kB / 255.6 MB, free: 2.383 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.906e-06/0.01352, allocations: 7.938 kB / 255.6 MB, free: 2.375 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.472e-06/0.01352, allocations: 4 kB / 255.6 MB, free: 2.371 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0002498/0.01377, allocations: 0.5408 MB / 256.1 MB, free: 1.727 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004926/0.01426, allocations: 0.5254 MB / 256.7 MB, free: 1.168 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.994e-06/0.01426, allocations: 0 / 256.7 MB, free: 1.168 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002435/0.01451, allocations: 114.6 kB / 256.8 MB, free: 1.059 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.585e-05/0.01459, allocations: 55.55 kB / 256.8 MB, free: 1.004 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.363e-06/0.0146, allocations: 4 kB / 256.8 MB, free: 1 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.296e-05/0.01461, allocations: 11.98 kB / 256.8 MB, free: 0.9883 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.122e-06/0.01461, allocations: 0 / 256.8 MB, free: 0.9883 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.01461, allocations: 0 / 256.8 MB, free: 0.9883 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002626/0.01487, allocations: 344.8 kB / 257.2 MB, free: 0.6367 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.216e-05/0.01491, allocations: 8 kB / 257.2 MB, free: 0.6289 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001406/0.01505, allocations: 19.98 kB / 257.2 MB, free: 0.6094 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.008e-05/0.01509, allocations: 27.95 kB / 257.2 MB, free: 0.582 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.897e-06/0.01509, allocations: 8.031 kB / 257.2 MB, free: 0.5742 MB / 250.7 MB Notification: Performance of sorting global known variables: time 9.899e-05/0.01519, allocations: 160.7 kB / 257.4 MB, free: 428 kB / 250.7 MB Notification: Performance of sort global known variables: time 8.1e-08/0.01519, allocations: 0 / 257.4 MB, free: 428 kB / 250.7 MB Notification: Performance of remove unused functions: time 0.0002266/0.01542, allocations: 139.8 kB / 257.5 MB, free: 288 kB / 250.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (pipe.T,heatCapacitor.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 (35): * Single equations (assignments): 35 * 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 8.035e-05/0.0155, allocations: 88.36 kB / 257.6 MB, free: 188 kB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.000375/0.01588, allocations: 491.6 kB / 258.1 MB, free: 15.66 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.172e-05/0.01589, allocations: 11.94 kB / 258.1 MB, free: 15.64 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 8.138e-05/0.01597, allocations: 88.75 kB / 258.2 MB, free: 15.55 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00033/0.0163, allocations: 195.7 kB / 258.4 MB, free: 15.36 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005555/0.02185, allocations: 0.8317 MB / 259.2 MB, free: 14.5 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.552e-05/0.02192, allocations: 113.6 kB / 259.3 MB, free: 14.37 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0001438/0.02206, allocations: 60.25 kB / 259.4 MB, free: 14.31 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003164/0.02238, allocations: 233.2 kB / 259.6 MB, free: 14.08 MB / 266.7 MB Notification: Performance of SimCode: time 1.092e-06/0.02238, allocations: 0 / 259.6 MB, free: 14.08 MB / 266.7 MB Notification: Performance of Templates: time 0.01108/0.03346, allocations: 10.93 MB / 270.5 MB, free: 3.406 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.pipe ; mkfifo Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.pipe >> ../files/Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.sim & ./Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.OneMass -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.OneMass_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Thermal/FluidHeatFlow/Examples/OneMass/OneMass.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.6392666595056653]