Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_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.0009662/0.0009662, allocations: 80.8 kB / 22.29 MB, free: 2.203 MB / 18.57 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.001294/0.001294, allocations: 167.9 kB / 25.7 MB, free: 8.445 MB / 18.57 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.047/1.047, allocations: 158.6 MB / 187.6 MB, free: 2.793 MB / 170.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.FluidHeatFlow.Examples.OneMass,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|heatCapacitor.T|pipe.T",fileNamePrefix="Modelica_3.2.3_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_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.OneMass") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.853e-06/1.853e-06, allocations: 0 / 251.5 MB, free: 7.25 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.41e-05/2.595e-05, allocations: 6.312 kB / 251.6 MB, free: 7.242 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.OneMass): time 0.005611/0.005637, allocations: 3.687 MB / 255.2 MB, free: 3.531 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.002534/0.008172, allocations: 1.04 MB / 256.3 MB, free: 2.477 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003686/0.00854, allocations: 11.94 kB / 256.3 MB, free: 2.465 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003748/0.008915, allocations: 115 kB / 256.4 MB, free: 2.352 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005314/0.009446, allocations: 210.2 kB / 256.6 MB, free: 2.145 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003197/0.009766, allocations: 131.7 kB / 256.7 MB, free: 2.016 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.000927/0.01069, allocations: 0.7078 MB / 257.4 MB, free: 1.305 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002679/0.01096, allocations: 128.8 kB / 257.6 MB, free: 1.172 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009697/0.01193, allocations: 403 kB / 258 MB, free: 0.7773 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004706/0.0124, allocations: 211.4 kB / 258.2 MB, free: 0.5703 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001461/0.01255, allocations: 56 kB / 258.2 MB, free: 0.5156 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001044/0.01265, allocations: 60 kB / 258.3 MB, free: 468 kB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 9.547e-05/0.01275, allocations: 123.6 kB / 258.4 MB, free: 344 kB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002972/0.01304, allocations: 227.5 kB / 258.6 MB, free: 116 kB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007247/0.01377, allocations: 450.4 kB / 259.1 MB, free: 15.67 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.599e-06/0.01377, allocations: 0 / 259.1 MB, free: 15.67 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.583e-06/0.01378, allocations: 0 / 259.1 MB, free: 15.67 MB / 250.7 MB Notification: Performance of Transformations before backend: time 2.1e-05/0.0138, allocations: 4 kB / 259.1 MB, free: 15.67 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.001372/0.01517, allocations: 0.7772 MB / 259.9 MB, free: 14.86 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.232e-05/0.01521, allocations: 15.98 kB / 259.9 MB, free: 14.84 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001504/0.01536, allocations: 72.86 kB / 259.9 MB, free: 14.77 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005377/0.0159, allocations: 283.7 kB / 260.2 MB, free: 14.47 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001222/0.01602, allocations: 106.3 kB / 260.3 MB, free: 14.35 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.871e-05/0.01609, allocations: 40.38 kB / 260.4 MB, free: 14.31 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007307/0.01682, allocations: 0.7535 MB / 261.1 MB, free: 13.4 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.798e-05/0.01684, allocations: 192 / 261.1 MB, free: 13.4 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.62e-05/0.01687, allocations: 24.06 kB / 261.1 MB, free: 13.38 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.172e-05/0.01689, allocations: 8 kB / 261.1 MB, free: 13.37 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002812/0.01717, allocations: 107.1 kB / 261.2 MB, free: 13.27 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001576/0.01874, allocations: 0.6557 MB / 261.9 MB, free: 12.59 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003141/0.01906, allocations: 142.4 kB / 262 MB, free: 12.44 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001244/0.01918, allocations: 69.41 kB / 262.1 MB, free: 12.37 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.83e-05/0.01922, allocations: 11.86 kB / 262.1 MB, free: 12.36 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.381e-05/0.01925, allocations: 38.56 kB / 262.2 MB, free: 12.31 MB / 250.7 MB Notification: Performance of pre-optimization done (n=35): time 2.826e-06/0.01926, allocations: 0 / 262.2 MB, free: 12.31 MB / 250.7 MB Notification: Performance of matching and sorting (n=35): time 0.0006692/0.01993, allocations: 266.8 kB / 262.4 MB, free: 12.04 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001887/0.02011, allocations: 453 kB / 262.9 MB, free: 11.49 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003625/0.02048, allocations: 355.3 kB / 263.2 MB, free: 11.14 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 3.942e-05/0.02052, allocations: 41.69 kB / 263.2 MB, free: 11.09 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001405/0.02066, allocations: 193.5 kB / 263.4 MB, free: 10.89 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.893e-05/0.02076, allocations: 126.8 kB / 263.6 MB, free: 10.77 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001386/0.02089, allocations: 77.67 kB / 263.6 MB, free: 10.69 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001547/0.02105, allocations: 358.7 kB / 264 MB, free: 10.33 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001249/0.02117, allocations: 61.69 kB / 264 MB, free: 10.26 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006308/0.0218, allocations: 0.5759 MB / 264.6 MB, free: 9.531 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000266/0.02207, allocations: 165.2 kB / 264.8 MB, free: 9.359 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.125e-06/0.02207, allocations: 0 / 264.8 MB, free: 9.359 MB / 250.7 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0004502/0.02252, allocations: 272.1 kB / 265.1 MB, free: 9.07 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.223e-05/0.02257, allocations: 29.7 kB / 265.1 MB, free: 9.035 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.273e-06/0.02257, allocations: 0 / 265.1 MB, free: 9.035 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001356/0.02271, allocations: 41.69 kB / 265.1 MB, free: 8.988 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004278/0.02314, allocations: 103.3 kB / 265.2 MB, free: 8.891 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002061/0.0252, allocations: 2.411 MB / 267.6 MB, free: 6.305 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002943/0.02549, allocations: 39.77 kB / 267.7 MB, free: 6.266 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.243e-05/0.02552, allocations: 8 kB / 267.7 MB, free: 6.258 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 0.0001583/0.02568, allocations: 133.8 kB / 267.8 MB, free: 6.117 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.797e-05/0.02577, allocations: 43.95 kB / 267.9 MB, free: 6.074 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.58e-05/0.02586, allocations: 52.56 kB / 267.9 MB, free: 6.02 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.839e-06/0.02586, allocations: 3.938 kB / 267.9 MB, free: 6.016 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.358e-06/0.02587, allocations: 7.938 kB / 267.9 MB, free: 6.008 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0004057/0.02627, allocations: 0.5331 MB / 268.4 MB, free: 5.371 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009039/0.02718, allocations: 0.5332 MB / 269 MB, free: 4.809 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.965e-06/0.02718, allocations: 0 / 269 MB, free: 4.809 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000428/0.02761, allocations: 103.8 kB / 269.1 MB, free: 4.707 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.987e-06/0.02761, allocations: 0 / 269.1 MB, free: 4.707 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.258e-05/0.02763, allocations: 8 kB / 269.1 MB, free: 4.699 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.725e-06/0.02764, allocations: 4 kB / 269.1 MB, free: 4.695 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.593e-06/0.02764, allocations: 0 / 269.1 MB, free: 4.695 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004814/0.02812, allocations: 340.4 kB / 269.4 MB, free: 4.348 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001558/0.02827, allocations: 51.64 kB / 269.5 MB, free: 4.297 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.093e-05/0.02834, allocations: 8 kB / 269.5 MB, free: 4.289 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002553/0.02859, allocations: 23.97 kB / 269.5 MB, free: 4.266 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.058e-05/0.02866, allocations: 27.95 kB / 269.5 MB, free: 4.238 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.995e-05/0.02868, allocations: 8 kB / 269.5 MB, free: 4.23 MB / 250.7 MB Notification: Performance of sorting global known variables: time 0.0001947/0.02888, allocations: 160.7 kB / 269.7 MB, free: 4.074 MB / 250.7 MB Notification: Performance of sort global known variables: time 2e-07/0.02888, allocations: 4.031 kB / 269.7 MB, free: 4.07 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0004622/0.02934, allocations: 139.8 kB / 269.8 MB, free: 3.934 MB / 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 0.0001428/0.02948, allocations: 84.36 kB / 269.9 MB, free: 3.844 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0007038/0.03019, allocations: 498.4 kB / 270.4 MB, free: 3.312 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 1.071e-05/0.0302, allocations: 4 kB / 270.4 MB, free: 3.309 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001555/0.03035, allocations: 96.39 kB / 270.5 MB, free: 3.211 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005647/0.03092, allocations: 145.5 kB / 270.7 MB, free: 3.07 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002007/0.03292, allocations: 0.8217 MB / 271.5 MB, free: 2.219 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003969/0.03332, allocations: 109.8 kB / 271.6 MB, free: 2.086 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 0.0003117/0.03363, allocations: 64.23 kB / 271.6 MB, free: 2.02 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005673/0.0342, allocations: 237.2 kB / 271.9 MB, free: 1.785 MB / 250.7 MB Notification: Performance of SimCode: time 1.312e-06/0.0342, allocations: 3.938 kB / 271.9 MB, free: 1.781 MB / 250.7 MB Notification: Performance of Templates: time 0.01467/0.04887, allocations: 10.04 MB / 281.9 MB, free: 7.777 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.pipe ; mkfifo Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.pipe >> ../files/Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.sim & ./Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.OneMass -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.OneMass_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/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.8867059997282922]