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.0007935/0.0007935, allocations: 84 kB / 21.43 MB, free: 3.129 MB / 18.57 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.003136/0.003136, allocations: 149.4 kB / 24.68 MB, free: 9.422 MB / 18.57 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 0.8078/0.8078, allocations: 173.4 MB / 201.2 MB, free: 9.43 MB / 186.7 MB " [Timeout remaining time 179] 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.213e-06/1.213e-06, allocations: 0 / 319.7 MB, free: 5.875 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.644e-05/1.765e-05, allocations: 5.656 kB / 319.7 MB, free: 5.871 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank): time 0.002454/0.002472, allocations: 2.66 MB / 322.3 MB, free: 3.191 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.00118/0.003652, allocations: 1.196 MB / 323.5 MB, free: 1.988 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000114/0.003766, allocations: 7.938 kB / 323.5 MB, free: 1.98 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003684/0.004134, allocations: 171 kB / 323.7 MB, free: 1.812 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003134/0.004448, allocations: 218.7 kB / 323.9 MB, free: 1.598 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002394/0.004687, allocations: 174.3 kB / 324.1 MB, free: 1.43 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003285/0.005016, allocations: 473.6 kB / 324.5 MB, free: 0.9648 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003092/0.005325, allocations: 75.92 kB / 324.6 MB, free: 0.8906 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001808/0.005506, allocations: 255.4 kB / 324.9 MB, free: 0.6406 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001675/0.005673, allocations: 175.5 kB / 325 MB, free: 480 kB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 3.353e-05/0.005707, allocations: 28 kB / 325.1 MB, free: 452 kB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.605e-05/0.005793, allocations: 67.92 kB / 325.1 MB, free: 384 kB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 6.904e-05/0.005862, allocations: 87.67 kB / 325.2 MB, free: 296 kB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 9.046e-05/0.005952, allocations: 135.6 kB / 325.3 MB, free: 160 kB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003654/0.006317, allocations: 490.4 kB / 325.8 MB, free: 15.68 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.793e-06/0.006319, allocations: 0 / 325.8 MB, free: 15.68 MB / 298.7 MB Notification: Performance of FrontEnd: time 8.71e-07/0.00632, allocations: 0 / 325.8 MB, free: 15.68 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.218e-06/0.006324, allocations: 0 / 325.8 MB, free: 15.68 MB / 298.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.000651/0.006975, allocations: 0.6368 MB / 326.5 MB, free: 15.01 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.112e-05/0.007006, allocations: 8.922 kB / 326.5 MB, free: 15 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.998e-05/0.007066, allocations: 52.66 kB / 326.5 MB, free: 14.95 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002926/0.007359, allocations: 280.5 kB / 326.8 MB, free: 14.65 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.562e-05/0.007375, allocations: 12.88 kB / 326.8 MB, free: 14.64 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.832e-05/0.007403, allocations: 20.38 kB / 326.8 MB, free: 14.62 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003668/0.00777, allocations: 0.5932 MB / 327.4 MB, free: 13.91 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.255e-05/0.007782, allocations: 7.875 kB / 327.4 MB, free: 13.9 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.937e-05/0.007802, allocations: 12 kB / 327.4 MB, free: 13.89 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.921e-06/0.007808, allocations: 4 kB / 327.4 MB, free: 13.89 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000173/0.007981, allocations: 141.9 kB / 327.6 MB, free: 13.75 MB / 298.7 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.0007493/0.00873, allocations: 0.6458 MB / 328.2 MB, free: 13.06 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002458/0.008976, allocations: 178.3 kB / 328.4 MB, free: 12.88 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.49e-05/0.009061, allocations: 68.84 kB / 328.5 MB, free: 12.81 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.277e-05/0.009083, allocations: 7.984 kB / 328.5 MB, free: 12.8 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001753/0.009259, allocations: 188.6 kB / 328.7 MB, free: 12.6 MB / 298.7 MB Notification: Performance of pre-optimization done (n=23): time 1.333e-06/0.00926, allocations: 0 / 328.7 MB, free: 12.6 MB / 298.7 MB Notification: Performance of matching and sorting (n=23): time 0.0005033/0.009763, allocations: 328.7 kB / 329 MB, free: 12.27 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.097e-05/0.009854, allocations: 320.4 kB / 329.3 MB, free: 11.88 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002699/0.01012, allocations: 425.6 kB / 329.7 MB, free: 11.46 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.031e-05/0.01014, allocations: 33.7 kB / 329.7 MB, free: 11.42 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001046/0.01025, allocations: 208.4 kB / 329.9 MB, free: 11.21 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.832e-05/0.0103, allocations: 83.3 kB / 330 MB, free: 11.13 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.838e-05/0.01036, allocations: 65.66 kB / 330.1 MB, free: 11.06 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 8.457e-05/0.01044, allocations: 342.8 kB / 330.4 MB, free: 10.71 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.128e-05/0.01052, allocations: 67.97 kB / 330.5 MB, free: 10.65 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001933/0.01071, allocations: 437 kB / 330.9 MB, free: 10.12 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001887/0.0109, allocations: 180 kB / 331.1 MB, free: 9.93 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.024e-06/0.01091, allocations: 0 / 331.1 MB, free: 9.93 MB / 298.7 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0002756/0.01118, allocations: 270.1 kB / 331.4 MB, free: 9.656 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.438e-05/0.0112, allocations: 11.94 kB / 331.4 MB, free: 9.645 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.46e-06/0.0112, allocations: 0 / 331.4 MB, free: 9.645 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001025/0.0113, allocations: 36.83 kB / 331.4 MB, free: 9.605 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001161/0.01142, allocations: 51.92 kB / 331.5 MB, free: 9.555 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001149/0.01257, allocations: 1.44 MB / 332.9 MB, free: 8.012 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.978e-05/0.01267, allocations: 23.84 kB / 332.9 MB, free: 7.988 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.136e-05/0.01268, allocations: 8 kB / 332.9 MB, free: 7.98 MB / 298.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.0001177/0.0128, allocations: 169.8 kB / 333.1 MB, free: 7.805 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.377e-05/0.01283, allocations: 43.75 kB / 333.1 MB, free: 7.762 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002967/0.01313, allocations: 269.9 kB / 333.4 MB, free: 7.484 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.665e-06/0.01313, allocations: 4 kB / 333.4 MB, free: 7.48 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.343e-06/0.01313, allocations: 4 kB / 333.4 MB, free: 7.477 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0002965/0.01343, allocations: 0.5892 MB / 334 MB, free: 6.785 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005008/0.01393, allocations: 0.5986 MB / 334.6 MB, free: 6.145 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.413e-06/0.01393, allocations: 0 / 334.6 MB, free: 6.145 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001106/0.01404, allocations: 51.91 kB / 334.7 MB, free: 6.094 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.287e-06/0.01404, allocations: 4 kB / 334.7 MB, free: 6.09 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.999e-06/0.01405, allocations: 0 / 334.7 MB, free: 6.09 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.685e-06/0.01406, allocations: 3.938 kB / 334.7 MB, free: 6.086 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.643e-06/0.01406, allocations: 4 kB / 334.7 MB, free: 6.082 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000333/0.01439, allocations: 421.4 kB / 335.1 MB, free: 5.656 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.379e-05/0.01447, allocations: 63.7 kB / 335.1 MB, free: 5.594 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.426e-05/0.01449, allocations: 8 kB / 335.1 MB, free: 5.586 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.94e-05/0.01459, allocations: 15.92 kB / 335.2 MB, free: 5.57 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.293e-05/0.01462, allocations: 15.97 kB / 335.2 MB, free: 5.555 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.585e-05/0.01464, allocations: 8 kB / 335.2 MB, free: 5.547 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001881/0.01483, allocations: 307.1 kB / 335.5 MB, free: 5.246 MB / 298.7 MB Notification: Performance of sort global known variables: time 4e-08/0.01483, allocations: 3.938 kB / 335.5 MB, free: 5.242 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002307/0.01506, allocations: 95.89 kB / 335.6 MB, free: 5.148 MB / 298.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.0006419/0.0157, allocations: 453.5 kB / 336 MB, free: 4.887 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0003605/0.01606, allocations: 302.4 kB / 336.3 MB, free: 4.578 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 3.346e-06/0.01606, allocations: 4 kB / 336.3 MB, free: 4.574 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 9.222e-05/0.01615, allocations: 79.77 kB / 336.4 MB, free: 4.496 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003257/0.01648, allocations: 99.8 kB / 336.5 MB, free: 4.402 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008625/0.01734, allocations: 0.766 MB / 337.3 MB, free: 3.605 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001127/0.01746, allocations: 185.4 kB / 337.4 MB, free: 3.398 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.184e-05/0.01751, allocations: 36.48 kB / 337.5 MB, free: 3.363 MB / 298.7 MB Notification: Performance of SimCode: time 7.62e-07/0.01751, allocations: 0 / 337.5 MB, free: 3.363 MB / 298.7 MB Notification: Performance of Templates: time 0.00526/0.02277, allocations: 5.957 MB / 343.4 MB, free: 13.44 MB / 314.7 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.7795517928898335]