Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.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.0009259/0.0009259, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001058/0.001984, allocations: 449.7 kB / 10.37 MB, free: 328 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.0006956/0.0006956, allocations: 169.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008997/0.001595, allocations: 455.6 kB / 11.71 MB, free: 2.461 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9091/0.9091, allocations: 177.2 MB / 189.6 MB, free: 5.309 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0999/1.009, allocations: 53.66 MB / 243.3 MB, free: 15.58 MB / 250.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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.FluidHeatFlow.Examples.OneMass,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|heatCapacitor.T|pipe.T",fileNamePrefix="Modelica_4.1.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.1.0_Modelica.Thermal.FluidHeatFlow.Examples.OneMass") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.082e-06/1.082e-06, allocations: 0 / 244.5 MB, free: 14.34 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 8.646e-06/9.728e-06, allocations: 6.312 kB / 244.5 MB, free: 14.34 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.OneMass): time 0.003273/0.003283, allocations: 3.711 MB / 248.2 MB, free: 10.61 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001002/0.004286, allocations: 1.039 MB / 249.3 MB, free: 9.559 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001183/0.004404, allocations: 11.94 kB / 249.3 MB, free: 9.547 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001552/0.004559, allocations: 119 kB / 249.4 MB, free: 9.43 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002212/0.00478, allocations: 210.2 kB / 249.6 MB, free: 9.223 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001642/0.004944, allocations: 131.7 kB / 249.7 MB, free: 9.094 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.000528/0.005473, allocations: 0.7079 MB / 250.4 MB, free: 8.383 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001706/0.005643, allocations: 140.8 kB / 250.6 MB, free: 8.242 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006308/0.006274, allocations: 477.9 kB / 251 MB, free: 7.773 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001934/0.006467, allocations: 215.4 kB / 251.2 MB, free: 7.562 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 5.537e-05/0.006523, allocations: 56 kB / 251.3 MB, free: 7.508 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.503e-05/0.006578, allocations: 56 kB / 251.4 MB, free: 7.453 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 6.139e-05/0.006639, allocations: 95.62 kB / 251.4 MB, free: 7.359 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001376/0.006777, allocations: 179.6 kB / 251.6 MB, free: 7.184 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003478/0.007124, allocations: 414.5 kB / 252 MB, free: 6.777 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.271e-05/0.007137, allocations: 0 / 252 MB, free: 6.777 MB / 250.7 MB Notification: Performance of FrontEnd: time 2.534e-06/0.00714, allocations: 8 kB / 252 MB, free: 6.77 MB / 250.7 MB Notification: Performance of Transformations before backend: time 1.283e-05/0.007153, allocations: 0 / 252 MB, free: 6.77 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.001087/0.00824, allocations: 0.8979 MB / 252.9 MB, free: 5.84 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.255e-05/0.008262, allocations: 12.03 kB / 252.9 MB, free: 5.828 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.483e-05/0.008327, allocations: 72.88 kB / 253 MB, free: 5.758 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002706/0.008598, allocations: 275.8 kB / 253.3 MB, free: 5.465 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.823e-05/0.008666, allocations: 110.3 kB / 253.4 MB, free: 5.34 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.959e-05/0.008706, allocations: 36.38 kB / 253.4 MB, free: 5.305 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004149/0.009121, allocations: 0.7574 MB / 254.2 MB, free: 4.395 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.847e-06/0.009129, allocations: 192 / 254.2 MB, free: 4.395 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.297e-05/0.009152, allocations: 20.12 kB / 254.2 MB, free: 4.375 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.771e-06/0.009158, allocations: 12 kB / 254.2 MB, free: 4.363 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001373/0.009295, allocations: 107.1 kB / 254.3 MB, free: 4.258 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007832/0.01008, allocations: 0.6479 MB / 255 MB, free: 3.59 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001665/0.01025, allocations: 146 kB / 255.1 MB, free: 3.441 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.122e-05/0.01032, allocations: 61.42 kB / 255.2 MB, free: 3.379 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.584e-05/0.01034, allocations: 16 kB / 255.2 MB, free: 3.363 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.284e-05/0.01037, allocations: 42.42 kB / 255.2 MB, free: 3.312 MB / 250.7 MB Notification: Performance of pre-optimization done (n=35): time 1.262e-06/0.01037, allocations: 0 / 255.2 MB, free: 3.312 MB / 250.7 MB Notification: Performance of matching and sorting (n=35): time 0.0003675/0.01073, allocations: 273.2 kB / 255.5 MB, free: 3.035 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.062e-05/0.01075, allocations: 55.41 kB / 255.5 MB, free: 2.969 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000204/0.01096, allocations: 359.3 kB / 255.9 MB, free: 2.602 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 2.18e-05/0.01098, allocations: 33.7 kB / 255.9 MB, free: 2.562 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.835e-05/0.01106, allocations: 201.5 kB / 256.1 MB, free: 2.359 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.899e-05/0.01112, allocations: 134.8 kB / 256.3 MB, free: 2.227 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.216e-05/0.01119, allocations: 81.44 kB / 256.3 MB, free: 2.141 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 8.278e-05/0.01127, allocations: 358.7 kB / 256.7 MB, free: 1.781 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.936e-05/0.01133, allocations: 61.69 kB / 256.8 MB, free: 1.715 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00022/0.01155, allocations: 0.5724 MB / 257.3 MB, free: 0.9883 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00014/0.01169, allocations: 161.2 kB / 257.5 MB, free: 0.8203 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.054e-06/0.01169, allocations: 0 / 257.5 MB, free: 0.8203 MB / 250.7 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0004967/0.01219, allocations: 280.1 kB / 257.8 MB, free: 0.5234 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.717e-05/0.01222, allocations: 33.73 kB / 257.8 MB, free: 496 kB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.928e-06/0.01222, allocations: 0 / 257.8 MB, free: 496 kB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.049e-05/0.01229, allocations: 33.7 kB / 257.8 MB, free: 456 kB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002334/0.01253, allocations: 99.86 kB / 257.9 MB, free: 356 kB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001056/0.01358, allocations: 2.415 MB / 260.3 MB, free: 13.76 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001462/0.01373, allocations: 43.77 kB / 260.4 MB, free: 13.72 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.274e-05/0.01374, allocations: 4 kB / 260.4 MB, free: 13.71 MB / 266.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.228e-05/0.01383, allocations: 137.8 kB / 260.5 MB, free: 13.57 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.398e-05/0.01388, allocations: 43.95 kB / 260.6 MB, free: 13.53 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.927e-05/0.01393, allocations: 56.75 kB / 260.6 MB, free: 13.47 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.677e-06/0.01393, allocations: 11.92 kB / 260.6 MB, free: 13.46 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.042e-06/0.01393, allocations: 0 / 260.6 MB, free: 13.46 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0002393/0.01417, allocations: 0.532 MB / 261.2 MB, free: 12.82 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004711/0.01464, allocations: 0.522 MB / 261.7 MB, free: 12.27 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.765e-06/0.01464, allocations: 8 kB / 261.7 MB, free: 12.26 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002425/0.01489, allocations: 112.5 kB / 261.8 MB, free: 12.15 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.994e-05/0.01497, allocations: 51.59 kB / 261.8 MB, free: 12.1 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.244e-06/0.01497, allocations: 4 kB / 261.9 MB, free: 12.09 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.133e-05/0.01498, allocations: 4 kB / 261.9 MB, free: 12.09 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.142e-06/0.01498, allocations: 0 / 261.9 MB, free: 12.09 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.51e-07/0.01498, allocations: 4 kB / 261.9 MB, free: 12.09 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002564/0.01524, allocations: 344.6 kB / 262.2 MB, free: 11.73 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.268e-05/0.01527, allocations: 8 kB / 262.2 MB, free: 11.73 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001353/0.01541, allocations: 23.98 kB / 262.2 MB, free: 11.7 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.312e-05/0.01544, allocations: 23.95 kB / 262.2 MB, free: 11.68 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.637e-06/0.01545, allocations: 4 kB / 262.3 MB, free: 11.68 MB / 266.7 MB Notification: Performance of sorting global known variables: time 9.505e-05/0.01554, allocations: 160.7 kB / 262.4 MB, free: 11.52 MB / 266.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01554, allocations: 0 / 262.4 MB, free: 11.52 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002215/0.01576, allocations: 147.7 kB / 262.6 MB, free: 11.38 MB / 266.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 7.049e-05/0.01583, allocations: 96.38 kB / 262.6 MB, free: 11.28 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0003315/0.01617, allocations: 482.8 kB / 263.1 MB, free: 10.76 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.016e-05/0.01618, allocations: 11.98 kB / 263.1 MB, free: 10.75 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 8.199e-05/0.01626, allocations: 92.84 kB / 263.2 MB, free: 10.65 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003045/0.01656, allocations: 189.5 kB / 263.4 MB, free: 10.46 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005379/0.02194, allocations: 0.8276 MB / 264.2 MB, free: 9.605 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.942e-05/0.022, allocations: 113.8 kB / 264.3 MB, free: 9.473 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0001333/0.02213, allocations: 60.25 kB / 264.4 MB, free: 9.414 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002992/0.02243, allocations: 237.1 kB / 264.6 MB, free: 9.18 MB / 266.7 MB Notification: Performance of SimCode: time 5.41e-07/0.02243, allocations: 3.938 kB / 264.6 MB, free: 9.176 MB / 266.7 MB Notification: Performance of Templates: time 0.01155/0.03399, allocations: 10.92 MB / 275.6 MB, free: 14.51 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.pipe ; mkfifo Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.pipe >> ../files/Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.sim & ./Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.OneMass -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.OneMass_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.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.5843823179602623]