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.001485/0.001485, allocations: 80.41 kB / 22.21 MB, free: 2.289 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.001733/0.001733, allocations: 167.6 kB / 25.61 MB, free: 8.902 MB / 18.57 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.9506/0.9506, allocations: 177.1 MB / 206 MB, free: 4.496 MB / 186.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.783e-06/1.783e-06, allocations: 0 / 274.2 MB, free: 4.449 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.762e-05/2.941e-05, allocations: 2.312 kB / 274.2 MB, free: 4.445 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.OneMass): time 0.004405/0.004434, allocations: 3.638 MB / 277.8 MB, free: 0.8047 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001192/0.005626, allocations: 0.9967 MB / 278.8 MB, free: 15.81 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001554/0.005782, allocations: 7.938 kB / 278.8 MB, free: 15.8 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003804/0.006162, allocations: 115.1 kB / 278.9 MB, free: 15.69 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002731/0.006435, allocations: 206.2 kB / 279.1 MB, free: 15.49 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001921/0.006627, allocations: 139.7 kB / 279.3 MB, free: 15.35 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004956/0.007123, allocations: 0.7155 MB / 280 MB, free: 14.63 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001802/0.007303, allocations: 126.9 kB / 280.1 MB, free: 14.5 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002904/0.007594, allocations: 399 kB / 280.5 MB, free: 14.11 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002225/0.007816, allocations: 223.4 kB / 280.7 MB, free: 13.89 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 6.069e-05/0.007877, allocations: 56 kB / 280.8 MB, free: 13.84 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.805e-05/0.007935, allocations: 56 kB / 280.8 MB, free: 13.79 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 7.595e-05/0.008011, allocations: 123.6 kB / 280.9 MB, free: 13.66 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001537/0.008164, allocations: 219.5 kB / 281.2 MB, free: 13.45 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003728/0.008537, allocations: 450.3 kB / 281.6 MB, free: 13.01 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.046e-06/0.00854, allocations: 4 kB / 281.6 MB, free: 13 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.102e-06/0.008541, allocations: 0 / 281.6 MB, free: 13 MB / 266.7 MB Notification: Performance of Transformations before backend: time 5.25e-06/0.008547, allocations: 0 / 281.6 MB, free: 13 MB / 266.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.001164/0.009711, allocations: 0.9292 MB / 282.5 MB, free: 12.03 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.35e-05/0.009745, allocations: 16.03 kB / 282.6 MB, free: 12.01 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001005/0.009845, allocations: 88.56 kB / 282.6 MB, free: 11.93 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003399/0.01018, allocations: 334.5 kB / 283 MB, free: 11.57 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.712e-05/0.01027, allocations: 110.3 kB / 283.1 MB, free: 11.45 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.487e-05/0.01032, allocations: 36.38 kB / 283.1 MB, free: 11.41 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005009/0.01082, allocations: 0.786 MB / 283.9 MB, free: 10.46 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.265e-05/0.01083, allocations: 192 / 283.9 MB, free: 10.46 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.752e-05/0.01086, allocations: 24.12 kB / 283.9 MB, free: 10.44 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.993e-06/0.01086, allocations: 11.94 kB / 283.9 MB, free: 10.43 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001805/0.01105, allocations: 119.1 kB / 284 MB, free: 10.31 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001042/0.01209, allocations: 0.8854 MB / 284.9 MB, free: 9.391 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002153/0.0123, allocations: 162.9 kB / 285.1 MB, free: 9.219 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.425e-05/0.01239, allocations: 79.64 kB / 285.2 MB, free: 9.137 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.697e-05/0.01241, allocations: 11.98 kB / 285.2 MB, free: 9.125 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.55e-05/0.01244, allocations: 49.92 kB / 285.2 MB, free: 9.066 MB / 266.7 MB Notification: Performance of pre-optimization done (n=35): time 1.493e-06/0.01244, allocations: 0 / 285.2 MB, free: 9.066 MB / 266.7 MB Notification: Performance of matching and sorting (n=35): time 0.0005422/0.01298, allocations: 334.7 kB / 285.6 MB, free: 8.727 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001544/0.01314, allocations: 444.9 kB / 286 MB, free: 8.188 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002764/0.01341, allocations: 438.5 kB / 286.4 MB, free: 7.742 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.836e-05/0.01344, allocations: 37.7 kB / 286.5 MB, free: 7.699 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001441/0.01359, allocations: 307.2 kB / 286.8 MB, free: 7.395 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.712e-05/0.01365, allocations: 126.9 kB / 286.9 MB, free: 7.27 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.992e-05/0.01374, allocations: 83.31 kB / 287 MB, free: 7.18 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001324/0.01388, allocations: 0.5312 MB / 287.5 MB, free: 6.637 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.638e-05/0.01396, allocations: 73.66 kB / 287.6 MB, free: 6.559 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002714/0.01423, allocations: 0.6229 MB / 288.2 MB, free: 5.762 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001741/0.01441, allocations: 162.9 kB / 288.3 MB, free: 5.59 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.555e-06/0.01441, allocations: 0 / 288.3 MB, free: 5.59 MB / 266.7 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0003483/0.01476, allocations: 357.4 kB / 288.7 MB, free: 5.215 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.988e-05/0.01479, allocations: 33.7 kB / 288.7 MB, free: 5.176 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.959e-06/0.01479, allocations: 0 / 288.7 MB, free: 5.176 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.674e-05/0.01489, allocations: 43.34 kB / 288.8 MB, free: 5.125 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002062/0.0151, allocations: 75.89 kB / 288.8 MB, free: 5.051 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002043/0.01714, allocations: 3.536 MB / 292.4 MB, free: 1.281 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000178/0.01732, allocations: 39.77 kB / 292.4 MB, free: 1.242 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.678e-05/0.01733, allocations: 11.94 kB / 292.4 MB, free: 1.23 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 0.0001226/0.01746, allocations: 184.6 kB / 292.6 MB, free: 1.039 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.066e-05/0.01753, allocations: 59.72 kB / 292.7 MB, free: 0.9805 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.425e-05/0.01758, allocations: 52.56 kB / 292.7 MB, free: 0.9297 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.274e-06/0.01758, allocations: 4 kB / 292.7 MB, free: 0.9258 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.116e-06/0.01759, allocations: 3.938 kB / 292.7 MB, free: 0.9219 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0003074/0.01789, allocations: 0.5746 MB / 293.3 MB, free: 248 kB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006645/0.01856, allocations: 0.6847 MB / 294 MB, free: 15.52 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.194e-06/0.01856, allocations: 4 kB / 294 MB, free: 15.52 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002114/0.01877, allocations: 71.95 kB / 294.1 MB, free: 15.45 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.915e-06/0.01878, allocations: 4 kB / 294.1 MB, free: 15.44 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.572e-05/0.01879, allocations: 11.92 kB / 294.1 MB, free: 15.43 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.254e-06/0.01879, allocations: 3.938 kB / 294.1 MB, free: 15.43 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.01879, allocations: 4 kB / 294.1 MB, free: 15.42 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003587/0.01915, allocations: 441 kB / 294.5 MB, free: 14.97 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000106/0.01926, allocations: 83.59 kB / 294.6 MB, free: 14.89 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.762e-05/0.0193, allocations: 11.94 kB / 294.6 MB, free: 14.88 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001698/0.01947, allocations: 32 kB / 294.6 MB, free: 14.85 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.583e-05/0.01951, allocations: 23.95 kB / 294.7 MB, free: 14.82 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.256e-05/0.01952, allocations: 8 kB / 294.7 MB, free: 14.82 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0001487/0.01967, allocations: 279 kB / 294.9 MB, free: 14.55 MB / 282.7 MB Notification: Performance of sort global known variables: time 3e-08/0.01967, allocations: 0 / 294.9 MB, free: 14.55 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0002789/0.01995, allocations: 143.8 kB / 295.1 MB, free: 14.41 MB / 282.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 9.79e-05/0.02005, allocations: 115.2 kB / 295.2 MB, free: 14.29 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0004646/0.02051, allocations: 0.6016 MB / 295.8 MB, free: 13.62 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.994e-06/0.02052, allocations: 0 / 295.8 MB, free: 13.62 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001045/0.02062, allocations: 99.5 kB / 295.9 MB, free: 13.52 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004064/0.02103, allocations: 149.5 kB / 296 MB, free: 13.38 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001471/0.0225, allocations: 0.8465 MB / 296.9 MB, free: 12.5 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.617e-05/0.02256, allocations: 113.8 kB / 297 MB, free: 12.36 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.000148/0.02271, allocations: 68.17 kB / 297.1 MB, free: 12.29 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003556/0.02307, allocations: 270 kB / 297.3 MB, free: 12.02 MB / 282.7 MB Notification: Performance of SimCode: time 6.31e-07/0.02307, allocations: 0 / 297.3 MB, free: 12.02 MB / 282.7 MB Notification: Performance of Templates: time 0.0116/0.03467, allocations: 10.2 MB / 307.5 MB, free: 2.078 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 -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.9234231617301702]