Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank.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.002444/0.002444, allocations: 91.61 kB / 20.95 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.002853/0.002853, allocations: 165.6 kB / 24.27 MB, free: 148 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.525/1.525, allocations: 177.1 MB / 204.6 MB, free: 5.598 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.TestOpenTank,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5007,variableFilter="time|openTank.H|openTank.m",fileNamePrefix="Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank") translateModel(Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5007,variableFilter="time|openTank.H|openTank.m",fileNamePrefix="Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.644e-06/1.644e-06, allocations: 0 / 272.3 MB, free: 1.871 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.857e-05/3.022e-05, allocations: 2.312 kB / 272.3 MB, free: 1.867 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank): time 0.004825/0.004855, allocations: 2.865 MB / 275.2 MB, free: 14.99 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.002795/0.00765, allocations: 1.363 MB / 276.5 MB, free: 13.62 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002252/0.007875, allocations: 7.938 kB / 276.5 MB, free: 13.61 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005887/0.008464, allocations: 187 kB / 276.7 MB, free: 13.43 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006536/0.009118, allocations: 258.4 kB / 277 MB, free: 13.17 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003541/0.009472, allocations: 139.5 kB / 277.1 MB, free: 13.04 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007918/0.01026, allocations: 485 kB / 277.6 MB, free: 12.56 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000201/0.01046, allocations: 72.25 kB / 277.6 MB, free: 12.49 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003567/0.01082, allocations: 263.4 kB / 277.9 MB, free: 12.23 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003045/0.01113, allocations: 167.6 kB / 278.1 MB, free: 12.07 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 6.921e-05/0.0112, allocations: 35.94 kB / 278.1 MB, free: 12.04 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001766/0.01137, allocations: 75.91 kB / 278.2 MB, free: 11.96 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001335/0.01151, allocations: 87.67 kB / 278.3 MB, free: 11.88 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001935/0.0117, allocations: 131.7 kB / 278.4 MB, free: 11.75 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007552/0.01245, allocations: 0.4906 MB / 278.9 MB, free: 11.25 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.581e-06/0.01246, allocations: 0 / 278.9 MB, free: 11.25 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.082e-06/0.01246, allocations: 0 / 278.9 MB, free: 11.25 MB / 266.7 MB Notification: Performance of Transformations before backend: time 8.286e-06/0.01247, allocations: 0 / 278.9 MB, free: 11.25 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: 47 * Number of variables: 47 Notification: Performance of Generate backend data structure: time 0.001309/0.01378, allocations: 0.7676 MB / 279.6 MB, free: 10.45 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.086e-05/0.01382, allocations: 8.031 kB / 279.6 MB, free: 10.44 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001502/0.01397, allocations: 64.61 kB / 279.7 MB, free: 10.38 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005236/0.01449, allocations: 299.2 kB / 280 MB, free: 10.05 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.554e-05/0.01452, allocations: 16.81 kB / 280 MB, free: 10.04 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.568e-05/0.01457, allocations: 28.38 kB / 280 MB, free: 10.01 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009115/0.01549, allocations: 0.6158 MB / 280.7 MB, free: 9.27 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.788e-05/0.0155, allocations: 3.938 kB / 280.7 MB, free: 9.266 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.384e-05/0.01554, allocations: 15.98 kB / 280.7 MB, free: 9.25 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.935e-06/0.01555, allocations: 4 kB / 280.7 MB, free: 9.246 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003175/0.01586, allocations: 137.9 kB / 280.8 MB, free: 9.113 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001542/0.0174, allocations: 0.7701 MB / 281.6 MB, free: 8.301 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004199/0.01782, allocations: 183.6 kB / 281.8 MB, free: 8.109 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001568/0.01798, allocations: 71.67 kB / 281.8 MB, free: 8.035 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.144e-05/0.01802, allocations: 7.984 kB / 281.8 MB, free: 8.027 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003313/0.01835, allocations: 188.4 kB / 282 MB, free: 7.816 MB / 266.7 MB Notification: Performance of pre-optimization done (n=23): time 1.583e-06/0.01836, allocations: 3.938 kB / 282 MB, free: 7.812 MB / 266.7 MB Notification: Performance of matching and sorting (n=23): time 0.000901/0.01926, allocations: 329.9 kB / 282.4 MB, free: 7.48 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002198/0.01948, allocations: 320.4 kB / 282.7 MB, free: 7.094 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005907/0.02007, allocations: 0.4909 MB / 283.2 MB, free: 6.59 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 3.7e-05/0.0201, allocations: 33.7 kB / 283.2 MB, free: 6.551 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002446/0.02035, allocations: 275.2 kB / 283.5 MB, free: 6.277 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.145e-05/0.02044, allocations: 87.27 kB / 283.5 MB, free: 6.191 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001184/0.02056, allocations: 71.34 kB / 283.6 MB, free: 6.113 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0003264/0.02088, allocations: 0.543 MB / 284.2 MB, free: 5.559 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001364/0.02102, allocations: 55.98 kB / 284.2 MB, free: 5.504 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004721/0.02149, allocations: 484.5 kB / 284.7 MB, free: 4.91 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003472/0.02184, allocations: 193.2 kB / 284.9 MB, free: 4.707 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.756e-06/0.02184, allocations: 0 / 284.9 MB, free: 4.707 MB / 266.7 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0005326/0.02238, allocations: 277.6 kB / 285.2 MB, free: 4.426 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.087e-05/0.0224, allocations: 10.59 kB / 285.2 MB, free: 4.418 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.386e-06/0.02241, allocations: 4 kB / 285.2 MB, free: 4.414 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001506/0.02256, allocations: 47.53 kB / 285.2 MB, free: 4.363 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002258/0.02278, allocations: 43.98 kB / 285.3 MB, free: 4.32 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002044/0.02483, allocations: 1.975 MB / 287.2 MB, free: 2.219 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002211/0.02505, allocations: 19.89 kB / 287.2 MB, free: 2.199 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.234e-05/0.02507, allocations: 11.98 kB / 287.3 MB, free: 2.188 MB / 266.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 5 ($PRE.combiTimeTable.nextTimeEvent,$whenCondition1,combiTimeTable.nextTimeEventScaled,$PRE.combiTimeTable.nextTimeEventScaled,combiTimeTable.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (27): * Single equations (assignments): 26 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * 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): 1 system {(3,1)} Notification: Performance of prepare postOptimizeDAE: time 0.000228/0.0253, allocations: 204.5 kB / 287.5 MB, free: 1.977 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.785e-05/0.02538, allocations: 47.72 kB / 287.5 MB, free: 1.93 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006971/0.02608, allocations: 271.5 kB / 287.8 MB, free: 1.652 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.665e-06/0.02608, allocations: 4 kB / 287.8 MB, free: 1.648 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.53e-06/0.02609, allocations: 4 kB / 287.8 MB, free: 1.645 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006408/0.02673, allocations: 0.5789 MB / 288.4 MB, free: 0.9609 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001127/0.02786, allocations: 0.7227 MB / 289.1 MB, free: 196 kB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.745e-06/0.02786, allocations: 0 / 289.1 MB, free: 196 kB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002252/0.02809, allocations: 51.91 kB / 289.1 MB, free: 144 kB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.414e-06/0.02809, allocations: 0 / 289.1 MB, free: 144 kB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.895e-05/0.02811, allocations: 4 kB / 289.1 MB, free: 140 kB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.988e-06/0.02811, allocations: 3.938 kB / 289.1 MB, free: 136 kB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.02811, allocations: 4 kB / 289.1 MB, free: 132 kB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007093/0.02882, allocations: 466.1 kB / 289.6 MB, free: 15.66 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001447/0.02897, allocations: 63.66 kB / 289.7 MB, free: 15.59 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.684e-05/0.02901, allocations: 4 kB / 289.7 MB, free: 15.59 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002189/0.02923, allocations: 19.92 kB / 289.7 MB, free: 15.57 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.595e-05/0.02929, allocations: 16.03 kB / 289.7 MB, free: 15.55 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.755e-05/0.02932, allocations: 15.92 kB / 289.7 MB, free: 15.54 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.000389/0.0297, allocations: 331.1 kB / 290 MB, free: 15.22 MB / 282.7 MB Notification: Performance of sort global known variables: time 8e-08/0.0297, allocations: 0 / 290 MB, free: 15.22 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0004111/0.03012, allocations: 95.88 kB / 290.1 MB, free: 15.12 MB / 282.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (openTank.m,openTank.H) * Number of discrete variables: 3 ($whenCondition1,combiTimeTable.nextTimeEvent,combiTimeTable.nextTimeEventScaled) * Number of discrete states: 2 (combiTimeTable.nextTimeEvent,combiTimeTable.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (24): * Single equations (assignments): 22 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.002958/0.03307, allocations: 451.5 kB / 290.6 MB, free: 14.86 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0007562/0.03383, allocations: 381.9 kB / 290.9 MB, free: 14.46 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 6.783e-06/0.03384, allocations: 4 kB / 290.9 MB, free: 14.46 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001904/0.03403, allocations: 94.44 kB / 291 MB, free: 14.37 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006085/0.03464, allocations: 100.7 kB / 291.1 MB, free: 14.27 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00153/0.03617, allocations: 0.7355 MB / 291.9 MB, free: 13.51 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002283/0.03639, allocations: 195.1 kB / 292.1 MB, free: 13.3 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0001686/0.03656, allocations: 42.95 kB / 292.1 MB, free: 13.25 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.38e-05/0.03665, allocations: 32.48 kB / 292.1 MB, free: 13.22 MB / 282.7 MB Notification: Performance of SimCode: time 6.52e-07/0.03665, allocations: 0 / 292.1 MB, free: 13.22 MB / 282.7 MB Notification: Performance of Templates: time 0.0141/0.05075, allocations: 6.481 MB / 298.6 MB, free: 6.898 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank.pipe ; mkfifo Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank.pipe >> ../files/Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank.sim & ./Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Thermal/FluidHeatFlow/Examples/TestOpenTank/TestOpenTank.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank.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.660089886980131]