Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001285/0.001285, allocations: 81.58 kB / 20.68 MB, free: 1.027 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001305/0.001305, allocations: 151.6 kB / 23.94 MB, free: 4.164 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.419/1.419, allocations: 173.3 MB / 200.4 MB, free: 12.87 MB / 190.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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.0.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.0.0_Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.393e-06/1.393e-06, allocations: 0 / 318.9 MB, free: 3.551 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.328e-05/2.468e-05, allocations: 4.094 kB / 318.9 MB, free: 3.547 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank): time 0.004765/0.004789, allocations: 2.659 MB / 321.6 MB, free: 1.75 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.002517/0.007307, allocations: 1.192 MB / 322.8 MB, free: 0.9531 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000219/0.007526, allocations: 7.438 kB / 322.8 MB, free: 0.9492 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006996/0.008226, allocations: 171.9 kB / 322.9 MB, free: 0.8945 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006827/0.008908, allocations: 219 kB / 323.2 MB, free: 0.7695 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006547/0.009563, allocations: 175.9 kB / 323.3 MB, free: 0.6758 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006984/0.01026, allocations: 477.5 kB / 323.8 MB, free: 444 kB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002347/0.0105, allocations: 66.48 kB / 323.9 MB, free: 412 kB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004631/0.01096, allocations: 261.4 kB / 324.1 MB, free: 308 kB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003497/0.01131, allocations: 164.6 kB / 324.3 MB, free: 268 kB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 8.059e-05/0.01139, allocations: 33.22 kB / 324.3 MB, free: 264 kB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002284/0.01162, allocations: 76.75 kB / 324.4 MB, free: 244 kB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001274/0.01175, allocations: 87.97 kB / 324.5 MB, free: 188 kB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002114/0.01196, allocations: 137.7 kB / 324.6 MB, free: 124 kB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008488/0.01281, allocations: 494.4 kB / 325.1 MB, free: 15.93 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.528e-06/0.01281, allocations: 0 / 325.1 MB, free: 15.93 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.613e-06/0.01281, allocations: 1.375 kB / 325.1 MB, free: 15.93 MB / 302.1 MB Notification: Performance of Transformations before backend: time 8.687e-06/0.01282, allocations: 0 / 325.1 MB, free: 15.93 MB / 302.1 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.001466/0.01429, allocations: 0.6209 MB / 325.7 MB, free: 15.45 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.166e-05/0.01433, allocations: 14.48 kB / 325.7 MB, free: 15.44 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001289/0.01446, allocations: 48.8 kB / 325.8 MB, free: 15.42 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006666/0.01512, allocations: 282.5 kB / 326 MB, free: 15.19 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.509e-05/0.01515, allocations: 13.62 kB / 326.1 MB, free: 15.19 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.708e-05/0.01521, allocations: 20.95 kB / 326.1 MB, free: 15.18 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009305/0.01614, allocations: 0.588 MB / 326.7 MB, free: 14.61 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.001e-05/0.01616, allocations: 3.938 kB / 326.7 MB, free: 14.61 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.304e-05/0.0162, allocations: 15.84 kB / 326.7 MB, free: 14.59 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.766e-06/0.01621, allocations: 4.531 kB / 326.7 MB, free: 14.59 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004369/0.01665, allocations: 149 kB / 326.8 MB, free: 14.54 MB / 302.1 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001341/0.01799, allocations: 0.6444 MB / 327.5 MB, free: 14.11 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004136/0.0184, allocations: 173 kB / 327.6 MB, free: 14.04 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000168/0.01857, allocations: 73.47 kB / 327.7 MB, free: 14 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.226e-05/0.0186, allocations: 4.906 kB / 327.7 MB, free: 14 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003596/0.01896, allocations: 183 kB / 327.9 MB, free: 13.86 MB / 302.1 MB Notification: Performance of pre-optimization done (n=23): time 2.084e-06/0.01896, allocations: 4 kB / 327.9 MB, free: 13.86 MB / 302.1 MB Notification: Performance of matching and sorting (n=23): time 0.0009403/0.0199, allocations: 332 kB / 328.2 MB, free: 13.71 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002126/0.02011, allocations: 322.2 kB / 328.5 MB, free: 13.33 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005631/0.02068, allocations: 420.3 kB / 329 MB, free: 13.13 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 4.285e-05/0.02072, allocations: 33.47 kB / 329 MB, free: 13.1 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002106/0.02093, allocations: 206.8 kB / 329.2 MB, free: 12.92 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.053e-05/0.02102, allocations: 75.45 kB / 329.3 MB, free: 12.86 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000116/0.02114, allocations: 61.23 kB / 329.3 MB, free: 12.82 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0002063/0.02134, allocations: 352.6 kB / 329.7 MB, free: 12.49 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001629/0.02151, allocations: 67.88 kB / 329.7 MB, free: 12.46 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004771/0.02198, allocations: 437.5 kB / 330.2 MB, free: 12 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005024/0.02249, allocations: 176.6 kB / 330.3 MB, free: 11.9 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.469e-06/0.02249, allocations: 0.7031 kB / 330.3 MB, free: 11.9 MB / 302.1 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0005722/0.02306, allocations: 271.1 kB / 330.6 MB, free: 11.77 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.408e-05/0.02309, allocations: 10.19 kB / 330.6 MB, free: 11.76 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.343e-06/0.02309, allocations: 0.875 kB / 330.6 MB, free: 11.76 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001794/0.02327, allocations: 33.58 kB / 330.6 MB, free: 11.75 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002294/0.0235, allocations: 56.58 kB / 330.7 MB, free: 11.74 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001691/0.02519, allocations: 1.434 MB / 332.1 MB, free: 10.41 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002395/0.02543, allocations: 30.34 kB / 332.2 MB, free: 10.39 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.727e-05/0.02545, allocations: 13.66 kB / 332.2 MB, free: 10.38 MB / 302.1 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.0002219/0.02567, allocations: 170.8 kB / 332.3 MB, free: 10.23 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.237e-05/0.02574, allocations: 41.03 kB / 332.4 MB, free: 10.21 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005882/0.02633, allocations: 267.5 kB / 332.6 MB, free: 10.08 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.98e-06/0.02634, allocations: 2.469 kB / 332.6 MB, free: 10.08 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.294e-06/0.02634, allocations: 9.031 kB / 332.7 MB, free: 10.07 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006309/0.02697, allocations: 0.5836 MB / 333.2 MB, free: 9.492 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001226/0.0282, allocations: 0.6054 MB / 333.8 MB, free: 9.086 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.444e-06/0.0282, allocations: 0 / 333.8 MB, free: 9.086 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000215/0.02841, allocations: 47.7 kB / 333.9 MB, free: 9.082 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.637e-06/0.02842, allocations: 1.062 kB / 333.9 MB, free: 9.082 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.112e-05/0.02844, allocations: 8.188 kB / 333.9 MB, free: 9.078 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.552e-06/0.02845, allocations: 8.922 kB / 333.9 MB, free: 9.07 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.02845, allocations: 0 / 333.9 MB, free: 9.07 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006415/0.02909, allocations: 419.9 kB / 334.3 MB, free: 8.82 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001475/0.02924, allocations: 63.31 kB / 334.4 MB, free: 8.781 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.379e-05/0.02929, allocations: 9.031 kB / 334.4 MB, free: 8.777 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002256/0.02952, allocations: 20.67 kB / 334.4 MB, free: 8.766 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.281e-05/0.02957, allocations: 12.09 kB / 334.4 MB, free: 8.766 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.396e-05/0.02959, allocations: 6.547 kB / 334.4 MB, free: 8.766 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0003642/0.02996, allocations: 307.9 kB / 334.7 MB, free: 8.617 MB / 302.1 MB Notification: Performance of sort global known variables: time 7e-08/0.02996, allocations: 0 / 334.7 MB, free: 8.617 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0004324/0.03039, allocations: 92.77 kB / 334.8 MB, free: 8.602 MB / 302.1 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.00171/0.0321, allocations: 456.1 kB / 335.3 MB, free: 8.391 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0006939/0.03279, allocations: 305.8 kB / 335.6 MB, free: 8.215 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 4.268e-06/0.0328, allocations: 1.312 kB / 335.6 MB, free: 8.215 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001805/0.03298, allocations: 82.08 kB / 335.6 MB, free: 8.188 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005983/0.03358, allocations: 103.1 kB / 335.7 MB, free: 8.152 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00154/0.03512, allocations: 0.727 MB / 336.5 MB, free: 7.723 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002462/0.03536, allocations: 192.2 kB / 336.7 MB, free: 7.629 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001824/0.03554, allocations: 47.2 kB / 336.7 MB, free: 7.605 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.407e-05/0.03563, allocations: 33.8 kB / 336.7 MB, free: 7.594 MB / 302.1 MB Notification: Performance of SimCode: time 5.31e-07/0.03563, allocations: 5.188 kB / 336.7 MB, free: 7.59 MB / 302.1 MB Notification: Performance of Templates: time 0.01308/0.0487, allocations: 6.393 MB / 343.1 MB, free: 2.977 MB / 302.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank.pipe ; mkfifo Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank.pipe >> ../files/Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank.sim & ./Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Thermal/FluidHeatFlow/Examples/TestOpenTank/TestOpenTank.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.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.478900607675314]