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.002231/0.002231, allocations: 91.61 kB / 20.96 MB, free: 3.465 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.002786/0.002786, allocations: 165.3 kB / 24.27 MB, free: 156 kB / 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 1.567/1.567, allocations: 177.1 MB / 204.6 MB, free: 5.617 MB / 186.7 MB " [Timeout remaining time 178] 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 2.214e-06/2.214e-06, allocations: 0 / 272.3 MB, free: 1.867 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.384e-05/3.606e-05, allocations: 10.25 kB / 272.3 MB, free: 1.855 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.OneMass): time 0.009472/0.009509, allocations: 3.665 MB / 276 MB, free: 14.17 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.003248/0.01276, allocations: 0.989 MB / 276.9 MB, free: 13.18 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003038/0.01306, allocations: 11.94 kB / 277 MB, free: 13.16 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000526/0.01359, allocations: 103.1 kB / 277.1 MB, free: 13.06 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0007877/0.01437, allocations: 214.2 kB / 277.3 MB, free: 12.85 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005562/0.01493, allocations: 135.7 kB / 277.4 MB, free: 12.72 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.001498/0.01643, allocations: 0.7086 MB / 278.1 MB, free: 12.01 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003873/0.01682, allocations: 122.9 kB / 278.2 MB, free: 11.88 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000824/0.01764, allocations: 399.1 kB / 278.6 MB, free: 11.49 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006302/0.01827, allocations: 219.4 kB / 278.8 MB, free: 11.28 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001608/0.01843, allocations: 56 kB / 278.9 MB, free: 11.22 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001972/0.01863, allocations: 60 kB / 278.9 MB, free: 11.16 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002074/0.01884, allocations: 123.5 kB / 279.1 MB, free: 11.04 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004688/0.0193, allocations: 227.5 kB / 279.3 MB, free: 10.82 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001457/0.02076, allocations: 0.7165 MB / 280 MB, free: 10.1 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.057e-06/0.02077, allocations: 0 / 280 MB, free: 10.1 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.422e-06/0.02077, allocations: 0 / 280 MB, free: 10.1 MB / 266.7 MB Notification: Performance of Transformations before backend: time 8.937e-06/0.02078, allocations: 0 / 280 MB, free: 10.1 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.002797/0.02357, allocations: 0.9524 MB / 281 MB, free: 9.105 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.823e-05/0.02362, allocations: 8.031 kB / 281 MB, free: 9.098 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000296/0.02392, allocations: 96.52 kB / 281.1 MB, free: 9.004 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001185/0.0251, allocations: 375.2 kB / 281.4 MB, free: 8.609 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000204/0.02531, allocations: 110.3 kB / 281.5 MB, free: 8.484 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001151/0.02542, allocations: 36.38 kB / 281.6 MB, free: 8.449 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002067/0.02749, allocations: 0.8939 MB / 282.5 MB, free: 7.391 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.394e-05/0.02751, allocations: 192 / 282.5 MB, free: 7.391 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.258e-05/0.02758, allocations: 16.12 kB / 282.5 MB, free: 7.375 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.409e-05/0.02761, allocations: 11.98 kB / 282.5 MB, free: 7.363 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001484/0.02909, allocations: 310.5 kB / 282.8 MB, free: 7.062 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003965/0.03306, allocations: 1.108 MB / 283.9 MB, free: 5.914 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001223/0.03428, allocations: 286.8 kB / 284.2 MB, free: 5.621 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006903/0.03497, allocations: 155.6 kB / 284.3 MB, free: 5.465 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.826e-05/0.03505, allocations: 19.88 kB / 284.4 MB, free: 5.445 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.441e-05/0.03511, allocations: 41.39 kB / 284.4 MB, free: 5.395 MB / 266.7 MB Notification: Performance of pre-optimization done (n=35): time 2.786e-06/0.03512, allocations: 0 / 284.4 MB, free: 5.395 MB / 266.7 MB Notification: Performance of matching and sorting (n=35): time 0.002794/0.03791, allocations: 0.5423 MB / 284.9 MB, free: 4.84 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0004611/0.03837, allocations: 444.8 kB / 285.4 MB, free: 4.301 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001203/0.03957, allocations: 0.5495 MB / 285.9 MB, free: 3.734 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 7.124e-05/0.03965, allocations: 33.7 kB / 286 MB, free: 3.695 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004657/0.04011, allocations: 319.3 kB / 286.3 MB, free: 3.379 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002398/0.04035, allocations: 134.8 kB / 286.4 MB, free: 3.246 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002921/0.04064, allocations: 87.34 kB / 286.5 MB, free: 3.152 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0005458/0.04119, allocations: 0.5509 MB / 287 MB, free: 2.59 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006684/0.04186, allocations: 149.6 kB / 287.2 MB, free: 2.438 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001485/0.04334, allocations: 0.7247 MB / 287.9 MB, free: 1.539 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001373/0.04471, allocations: 318.9 kB / 288.2 MB, free: 1.215 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.418e-06/0.04472, allocations: 0 / 288.2 MB, free: 1.215 MB / 266.7 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.001973/0.04669, allocations: 0.5014 MB / 288.7 MB, free: 0.6875 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.005e-05/0.04675, allocations: 37.7 kB / 288.8 MB, free: 0.6445 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.322e-05/0.04677, allocations: 4 kB / 288.8 MB, free: 0.6406 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003233/0.04709, allocations: 59.34 kB / 288.8 MB, free: 0.5742 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000771/0.04786, allocations: 75.89 kB / 288.9 MB, free: 0.5 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005679/0.05354, allocations: 3.753 MB / 292.6 MB, free: 12.5 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006377/0.05418, allocations: 43.77 kB / 292.7 MB, free: 12.45 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.737e-05/0.05422, allocations: 12 kB / 292.7 MB, free: 12.44 MB / 282.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.0003962/0.05462, allocations: 216.5 kB / 292.9 MB, free: 12.22 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001945/0.05481, allocations: 63.66 kB / 293 MB, free: 12.16 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001637/0.05498, allocations: 56.58 kB / 293 MB, free: 12.1 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.694e-05/0.05501, allocations: 4 kB / 293 MB, free: 12.1 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.657e-06/0.05501, allocations: 0 / 293 MB, free: 12.1 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001614/0.05662, allocations: 0.6997 MB / 293.7 MB, free: 11.29 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002782/0.05941, allocations: 0.9651 MB / 294.7 MB, free: 10.28 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.25e-06/0.05941, allocations: 4.188 kB / 294.7 MB, free: 10.27 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007369/0.06015, allocations: 71.95 kB / 294.8 MB, free: 10.2 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.266e-06/0.06016, allocations: 7.938 kB / 294.8 MB, free: 10.2 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.894e-05/0.06019, allocations: 7.984 kB / 294.8 MB, free: 10.19 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.007e-06/0.0602, allocations: 11.94 kB / 294.8 MB, free: 10.18 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.352e-06/0.06021, allocations: 0 / 294.8 MB, free: 10.18 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00181/0.06202, allocations: 0.669 MB / 295.5 MB, free: 9.488 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002768/0.06229, allocations: 87.55 kB / 295.6 MB, free: 9.402 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001/0.06239, allocations: 8 kB / 295.6 MB, free: 9.395 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005264/0.06292, allocations: 27.97 kB / 295.6 MB, free: 9.367 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001068/0.06303, allocations: 23.95 kB / 295.6 MB, free: 9.344 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.452e-05/0.06306, allocations: 12 kB / 295.6 MB, free: 9.332 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0006057/0.06367, allocations: 367 kB / 296 MB, free: 8.977 MB / 282.7 MB Notification: Performance of sort global known variables: time 8e-08/0.06367, allocations: 0 / 296 MB, free: 8.977 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0007699/0.06444, allocations: 135.9 kB / 296.1 MB, free: 8.844 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 0.0001966/0.06463, allocations: 119.2 kB / 296.2 MB, free: 8.719 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.001718/0.06635, allocations: 0.7623 MB / 297 MB, free: 7.898 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 3.156e-06/0.06635, allocations: 0 / 297 MB, free: 7.898 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004003/0.06675, allocations: 171.4 kB / 297.2 MB, free: 7.727 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006976/0.06745, allocations: 151.2 kB / 297.3 MB, free: 7.578 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001707/0.06916, allocations: 0.8806 MB / 298.2 MB, free: 6.668 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000247/0.0694, allocations: 224.8 kB / 298.4 MB, free: 6.422 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0002372/0.06964, allocations: 60.25 kB / 298.5 MB, free: 6.359 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001386/0.06978, allocations: 40.5 kB / 298.5 MB, free: 6.32 MB / 282.7 MB Notification: Performance of SimCode: time 6.61e-07/0.06978, allocations: 0 / 298.5 MB, free: 6.32 MB / 282.7 MB Notification: Performance of Templates: time 0.1177/0.1875, allocations: 9.312 MB / 307.8 MB, free: 40.46 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.772211513016373]