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.001161/0.001161, allocations: 109.5 kB / 20.43 MB, free: 1.457 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.001335/0.001335, allocations: 184.3 kB / 23.71 MB, free: 4.695 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.447/1.447, allocations: 225.6 MB / 252.5 MB, free: 13 MB / 206.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 0.001544/0.001544, allocations: 55.91 kB / 370.9 MB, free: 9.344 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2499/0.2515, allocations: 52.17 MB / 423.1 MB, free: 14.7 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank): time 0.00448/0.2559, allocations: 2.896 MB / 426 MB, free: 11.79 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002202/0.2581, allocations: 1.282 MB / 427.3 MB, free: 10.5 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001864/0.2583, allocations: 7.938 kB / 427.3 MB, free: 10.49 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005615/0.2589, allocations: 179.1 kB / 427.5 MB, free: 10.31 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004602/0.2593, allocations: 206.8 kB / 427.7 MB, free: 10.11 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000449/0.2598, allocations: 179.5 kB / 427.8 MB, free: 9.934 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005639/0.2604, allocations: 460.9 kB / 428.3 MB, free: 9.484 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000186/0.2605, allocations: 70.55 kB / 428.4 MB, free: 9.418 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002478/0.2608, allocations: 191.3 kB / 428.5 MB, free: 9.23 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002853/0.2611, allocations: 219.1 kB / 428.8 MB, free: 9.016 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 5.785e-05/0.2611, allocations: 28 kB / 428.8 MB, free: 8.988 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001672/0.2613, allocations: 71.97 kB / 428.9 MB, free: 8.918 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001217/0.2614, allocations: 79.7 kB / 428.9 MB, free: 8.84 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002224/0.2616, allocations: 202.9 kB / 429.1 MB, free: 8.641 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006297/0.2623, allocations: 489.7 kB / 429.6 MB, free: 8.164 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.011e-06/0.2623, allocations: 0 / 429.6 MB, free: 8.164 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.643e-06/0.2623, allocations: 0 / 429.6 MB, free: 8.164 MB / 334.1 MB Notification: Performance of Transformations before backend: time 9.188e-06/0.2623, allocations: 0 / 429.6 MB, free: 8.164 MB / 334.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.001188/0.2635, allocations: 0.6368 MB / 430.2 MB, free: 7.496 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.143e-05/0.2635, allocations: 8.031 kB / 430.3 MB, free: 7.488 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001048/0.2636, allocations: 48.66 kB / 430.3 MB, free: 7.441 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005253/0.2642, allocations: 285 kB / 430.6 MB, free: 7.137 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.734e-05/0.2642, allocations: 16.81 kB / 430.6 MB, free: 7.121 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.543e-05/0.2642, allocations: 28.06 kB / 430.6 MB, free: 7.094 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005294/0.2648, allocations: 289.5 kB / 430.9 MB, free: 6.77 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.444e-05/0.2648, allocations: 4 kB / 430.9 MB, free: 6.766 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.064e-05/0.2648, allocations: 12 kB / 430.9 MB, free: 6.754 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.174e-06/0.2648, allocations: 4 kB / 430.9 MB, free: 6.75 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000323/0.2651, allocations: 141.7 kB / 431.1 MB, free: 6.609 MB / 334.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.001429/0.2666, allocations: 0.7886 MB / 431.9 MB, free: 5.758 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004227/0.267, allocations: 175.1 kB / 432 MB, free: 5.578 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001537/0.2671, allocations: 68.83 kB / 432.1 MB, free: 5.508 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.832e-05/0.2672, allocations: 4 kB / 432.1 MB, free: 5.504 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002904/0.2675, allocations: 142.7 kB / 432.2 MB, free: 5.355 MB / 334.1 MB Notification: Performance of pre-optimization done (n=23): time 1.603e-06/0.2675, allocations: 0 / 432.2 MB, free: 5.355 MB / 334.1 MB Notification: Performance of matching and sorting (n=23): time 0.0008767/0.2683, allocations: 326 kB / 432.6 MB, free: 5.027 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001674/0.2685, allocations: 316.4 kB / 432.9 MB, free: 4.645 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004823/0.269, allocations: 429.7 kB / 433.3 MB, free: 4.215 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.428e-05/0.269, allocations: 33.7 kB / 433.3 MB, free: 4.176 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001802/0.2692, allocations: 204.5 kB / 433.5 MB, free: 3.969 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.778e-05/0.2693, allocations: 83.33 kB / 433.6 MB, free: 3.887 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001183/0.2694, allocations: 57.69 kB / 433.7 MB, free: 3.824 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001832/0.2696, allocations: 350.8 kB / 434 MB, free: 3.473 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001438/0.2697, allocations: 59.92 kB / 434.1 MB, free: 3.414 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002711/0.27, allocations: 184 kB / 434.2 MB, free: 3.191 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000355/0.2703, allocations: 171.3 kB / 434.4 MB, free: 3.012 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.829e-06/0.2704, allocations: 3.938 kB / 434.4 MB, free: 3.008 MB / 334.1 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0005074/0.2709, allocations: 274.1 kB / 434.7 MB, free: 2.73 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.228e-05/0.2709, allocations: 8.094 kB / 434.7 MB, free: 2.723 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.15e-06/0.2709, allocations: 3.938 kB / 434.7 MB, free: 2.719 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001505/0.271, allocations: 36.78 kB / 434.7 MB, free: 2.68 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002189/0.2713, allocations: 55.91 kB / 434.8 MB, free: 2.625 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001606/0.2729, allocations: 1.468 MB / 436.2 MB, free: 1.043 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002288/0.2731, allocations: 27.78 kB / 436.3 MB, free: 1.016 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2e-05/0.2731, allocations: 12 kB / 436.3 MB, free: 1.004 MB / 334.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.0002122/0.2733, allocations: 169.8 kB / 436.4 MB, free: 0.8281 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.441e-05/0.2734, allocations: 39.77 kB / 436.5 MB, free: 0.7891 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005152/0.2739, allocations: 262 kB / 436.7 MB, free: 0.5234 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.332e-06/0.2739, allocations: 7.938 kB / 436.8 MB, free: 0.5156 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.533e-06/0.2739, allocations: 0 / 436.8 MB, free: 0.5156 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006006/0.2745, allocations: 0.5777 MB / 437.3 MB, free: 15.84 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001003/0.2755, allocations: 0.6796 MB / 438 MB, free: 15.1 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.354e-06/0.2755, allocations: 0 / 438 MB, free: 15.1 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002172/0.2757, allocations: 47.91 kB / 438.1 MB, free: 15.05 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.655e-06/0.2757, allocations: 0 / 438.1 MB, free: 15.05 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.791e-05/0.2758, allocations: 4 kB / 438.1 MB, free: 15.05 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.657e-06/0.2758, allocations: 4 kB / 438.1 MB, free: 15.05 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.2758, allocations: 0 / 438.1 MB, free: 15.05 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005998/0.2764, allocations: 405.9 kB / 438.5 MB, free: 14.64 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001404/0.2765, allocations: 63.64 kB / 438.5 MB, free: 14.57 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.188e-05/0.2766, allocations: 8 kB / 438.5 MB, free: 14.57 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002256/0.2768, allocations: 15.98 kB / 438.5 MB, free: 14.55 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.532e-05/0.2768, allocations: 15.97 kB / 438.6 MB, free: 14.54 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.245e-05/0.2768, allocations: 4 kB / 438.6 MB, free: 14.53 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0003623/0.2772, allocations: 315.1 kB / 438.9 MB, free: 14.22 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.2772, allocations: 4.062 kB / 438.9 MB, free: 14.22 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004055/0.2776, allocations: 91.94 kB / 439 MB, free: 14.13 MB / 350.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 (23): * Single equations (assignments): 21 * 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.001557/0.2792, allocations: 405.9 kB / 439.4 MB, free: 13.88 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0006628/0.2798, allocations: 314.2 kB / 439.7 MB, free: 13.56 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.156e-06/0.2798, allocations: 0 / 439.7 MB, free: 13.56 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001735/0.28, allocations: 84.03 kB / 439.8 MB, free: 13.48 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005924/0.2806, allocations: 113.9 kB / 439.9 MB, free: 13.37 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001543/0.2821, allocations: 0.7996 MB / 440.7 MB, free: 12.55 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004319/0.2826, allocations: 0.796 MB / 441.5 MB, free: 11.72 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001606/0.2827, allocations: 42.95 kB / 441.5 MB, free: 11.68 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.343e-05/0.2828, allocations: 27.44 kB / 441.5 MB, free: 11.65 MB / 350.1 MB Notification: Performance of SimCode: time 5.11e-07/0.2828, allocations: 4 kB / 441.5 MB, free: 11.65 MB / 350.1 MB Notification: Performance of Templates: time 0.01281/0.2956, allocations: 6.327 MB / 447.9 MB, free: 5.422 MB / 350.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.596162407658994]