Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|openTank.H|openTank.m",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank") translateModel(Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|openTank.H|openTank.m",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00168/0.00168, allocations: 114 kB / 17.83 MB, free: 5.207 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002057/0.002057, allocations: 205.9 kB / 18.78 MB, free: 4.254 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.588/1.588, allocations: 230.4 MB / 250 MB, free: 9.094 MB / 206.1 MB Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.00187/0.00187, allocations: 71.81 kB / 367.3 MB, free: 7.09 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2403/0.2421, allocations: 53.31 MB / 420.6 MB, free: 8.387 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank): time 0.004412/0.2466, allocations: 2.889 MB / 423.5 MB, free: 5.488 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002421/0.249, allocations: 1.41 MB / 424.9 MB, free: 4.07 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001629/0.2491, allocations: 7.938 kB / 424.9 MB, free: 4.062 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005027/0.2496, allocations: 179.1 kB / 425.1 MB, free: 3.887 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005615/0.2502, allocations: 250.6 kB / 425.4 MB, free: 3.641 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003282/0.2505, allocations: 139.6 kB / 425.5 MB, free: 3.504 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005639/0.2511, allocations: 465.8 kB / 425.9 MB, free: 3.047 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001767/0.2513, allocations: 67.81 kB / 426 MB, free: 2.98 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002309/0.2515, allocations: 183.3 kB / 426.2 MB, free: 2.801 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002854/0.2518, allocations: 219.1 kB / 426.4 MB, free: 2.586 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 5.221e-05/0.2518, allocations: 31.94 kB / 426.4 MB, free: 2.555 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000142/0.252, allocations: 71.98 kB / 426.5 MB, free: 2.484 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001161/0.2521, allocations: 91.61 kB / 426.6 MB, free: 2.395 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001927/0.2523, allocations: 195 kB / 426.8 MB, free: 2.203 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006049/0.2529, allocations: 493.8 kB / 427.3 MB, free: 1.723 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.777e-06/0.2529, allocations: 0 / 427.3 MB, free: 1.723 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.413e-06/0.2529, allocations: 0 / 427.3 MB, free: 1.723 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.194e-06/0.2529, allocations: 0 / 427.3 MB, free: 1.723 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.001127/0.254, allocations: 0.7237 MB / 428 MB, free: 0.9492 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.535e-05/0.2541, allocations: 8.031 kB / 428 MB, free: 0.9414 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.515e-05/0.2542, allocations: 48.66 kB / 428.1 MB, free: 0.8945 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005178/0.2547, allocations: 350.9 kB / 428.4 MB, free: 0.5117 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.618e-05/0.2547, allocations: 16.81 kB / 428.4 MB, free: 0.4961 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.344e-05/0.2548, allocations: 20.12 kB / 428.4 MB, free: 488 kB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004925/0.2552, allocations: 289.5 kB / 428.7 MB, free: 160 kB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.492e-05/0.2553, allocations: 4 kB / 428.7 MB, free: 156 kB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.283e-05/0.2553, allocations: 16 kB / 428.7 MB, free: 140 kB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.261e-05/0.2553, allocations: 8 kB / 428.7 MB, free: 132 kB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003238/0.2556, allocations: 141.8 kB / 428.9 MB, free: 15.98 MB / 350.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.001368/0.257, allocations: 0.8245 MB / 429.7 MB, free: 15.09 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004243/0.2574, allocations: 183.1 kB / 429.9 MB, free: 14.91 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001644/0.2576, allocations: 71.45 kB / 430 MB, free: 14.84 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.073e-05/0.2576, allocations: 4 kB / 430 MB, free: 14.83 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000283/0.2579, allocations: 144.2 kB / 430.1 MB, free: 14.68 MB / 350.1 MB Notification: Performance of pre-optimization done (n=23): time 1.663e-06/0.2579, allocations: 4 kB / 430.1 MB, free: 14.68 MB / 350.1 MB Notification: Performance of matching and sorting (n=23): time 0.0008832/0.2588, allocations: 398.8 kB / 430.5 MB, free: 14.26 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001815/0.259, allocations: 312.4 kB / 430.8 MB, free: 13.88 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000522/0.2595, allocations: 449.6 kB / 431.2 MB, free: 13.43 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.114e-05/0.2595, allocations: 33.7 kB / 431.3 MB, free: 13.39 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001791/0.2597, allocations: 204.4 kB / 431.5 MB, free: 13.18 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.61e-05/0.2598, allocations: 87.27 kB / 431.6 MB, free: 13.1 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001039/0.2599, allocations: 57.7 kB / 431.6 MB, free: 13.04 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001734/0.2601, allocations: 350.8 kB / 431.9 MB, free: 12.68 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000154/0.2602, allocations: 63.91 kB / 432 MB, free: 12.62 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002501/0.2605, allocations: 176 kB / 432.2 MB, free: 12.41 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003232/0.2608, allocations: 171.3 kB / 432.4 MB, free: 12.23 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.168e-06/0.2608, allocations: 3.938 kB / 432.4 MB, free: 12.22 MB / 350.1 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0005023/0.2613, allocations: 270.1 kB / 432.6 MB, free: 11.95 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.474e-05/0.2613, allocations: 11.94 kB / 432.6 MB, free: 11.94 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.939e-06/0.2613, allocations: 0 / 432.6 MB, free: 11.94 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001447/0.2615, allocations: 36.88 kB / 432.7 MB, free: 11.9 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002273/0.2617, allocations: 51.91 kB / 432.7 MB, free: 11.85 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001679/0.2634, allocations: 1.571 MB / 434.3 MB, free: 10.13 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001981/0.2636, allocations: 27.88 kB / 434.3 MB, free: 10.11 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.042e-05/0.2636, allocations: 12.23 kB / 434.3 MB, free: 10.09 MB / 350.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.0002008/0.2638, allocations: 165.8 kB / 434.5 MB, free: 9.922 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.844e-05/0.2639, allocations: 47.75 kB / 434.5 MB, free: 9.875 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.072e-05/0.2639, allocations: 39.61 kB / 434.6 MB, free: 9.836 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.987e-06/0.264, allocations: 3.938 kB / 434.6 MB, free: 9.832 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.278e-06/0.264, allocations: 4 kB / 434.6 MB, free: 9.828 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005972/0.2646, allocations: 0.5827 MB / 435.2 MB, free: 9.141 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001013/0.2656, allocations: 0.7107 MB / 435.9 MB, free: 8.371 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.697e-06/0.2656, allocations: 4 kB / 435.9 MB, free: 8.367 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002221/0.2658, allocations: 51.91 kB / 435.9 MB, free: 8.316 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.174e-06/0.2658, allocations: 0 / 435.9 MB, free: 8.316 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.611e-05/0.2658, allocations: 0 / 435.9 MB, free: 8.316 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.837e-06/0.2658, allocations: 4 kB / 435.9 MB, free: 8.312 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.42e-07/0.2658, allocations: 0 / 435.9 MB, free: 8.312 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006254/0.2664, allocations: 414.7 kB / 436.3 MB, free: 7.891 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001505/0.2666, allocations: 140.8 kB / 436.5 MB, free: 7.734 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.127e-05/0.2666, allocations: 8 kB / 436.5 MB, free: 7.727 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002189/0.2669, allocations: 15.98 kB / 436.5 MB, free: 7.711 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.987e-05/0.2669, allocations: 11.84 kB / 436.5 MB, free: 7.699 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.563e-05/0.2669, allocations: 12 kB / 436.5 MB, free: 7.688 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0003619/0.2673, allocations: 319.1 kB / 436.8 MB, free: 7.383 MB / 350.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.2673, allocations: 0 / 436.8 MB, free: 7.383 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.000383/0.2677, allocations: 91.92 kB / 436.9 MB, free: 7.293 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.001489/0.2692, allocations: 427.8 kB / 437.3 MB, free: 7.027 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0006186/0.2698, allocations: 294.5 kB / 437.6 MB, free: 6.727 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.816e-06/0.2698, allocations: 0 / 437.6 MB, free: 6.727 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001626/0.27, allocations: 75.36 kB / 437.7 MB, free: 6.656 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005694/0.2705, allocations: 113.5 kB / 437.8 MB, free: 6.543 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001467/0.272, allocations: 0.807 MB / 438.6 MB, free: 5.703 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004538/0.2724, allocations: 0.7959 MB / 439.4 MB, free: 4.875 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001512/0.2726, allocations: 46.94 kB / 439.5 MB, free: 4.832 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.316e-05/0.2727, allocations: 35.38 kB / 439.5 MB, free: 4.797 MB / 350.1 MB Notification: Performance of SimCode: time 6.81e-07/0.2727, allocations: 0 / 439.5 MB, free: 4.797 MB / 350.1 MB Notification: Performance of Templates: time 0.01259/0.2853, allocations: 6.235 MB / 445.7 MB, free: 14.67 MB / 366.1 MB make -j1 -f Modelica_4.1.0-beta.om_Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank.makefile (rm -f Modelica_4.1.0-beta.om_Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank.sim & ./Modelica_4.1.0-beta.om_Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank.pipe 2>&1) diffSimulationResults("Modelica_4.1.0-beta.om_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-beta.om_Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches