Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_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 trunk/package.mo", uses=false) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/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_trunk_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_trunk_Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001414/0.001414, allocations: 104.8 kB / 17.2 MB, free: 6.289 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001687/0.001687, allocations: 209.8 kB / 18.14 MB, free: 5.371 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.353/1.353, allocations: 227.4 MB / 246.3 MB, free: 10.84 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001157/0.001157, allocations: 56.2 kB / 306.2 MB, free: 1.055 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08225/0.08342, allocations: 50.54 MB / 356.8 MB, free: 14.53 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank): time 0.003698/0.08716, allocations: 2.917 MB / 359.7 MB, free: 11.59 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001908/0.08909, allocations: 1.391 MB / 361.1 MB, free: 10.19 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001314/0.08923, allocations: 4 kB / 361.1 MB, free: 10.19 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004346/0.08969, allocations: 167.4 kB / 361.3 MB, free: 10.02 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000414/0.09012, allocations: 218.9 kB / 361.5 MB, free: 9.809 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002493/0.09038, allocations: 115.8 kB / 361.6 MB, free: 9.695 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004075/0.0908, allocations: 445.1 kB / 362 MB, free: 9.262 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001711/0.09098, allocations: 104 kB / 362.1 MB, free: 9.16 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001767/0.09116, allocations: 167.3 kB / 362.3 MB, free: 8.996 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002057/0.09138, allocations: 203.2 kB / 362.5 MB, free: 8.797 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 4.66e-05/0.09143, allocations: 20 kB / 362.5 MB, free: 8.777 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001384/0.09158, allocations: 67.91 kB / 362.6 MB, free: 8.711 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 9.112e-05/0.09167, allocations: 75.69 kB / 362.6 MB, free: 8.637 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001837/0.09186, allocations: 190.9 kB / 362.8 MB, free: 8.449 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004062/0.09228, allocations: 474.6 kB / 363.3 MB, free: 7.984 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.226e-06/0.09229, allocations: 4 kB / 363.3 MB, free: 7.98 MB / 302.1 MB Notification: Performance of FrontEnd: time 7.11e-07/0.0923, allocations: 0 / 363.3 MB, free: 7.98 MB / 302.1 MB Notification: Performance of Transformations before backend: time 6.783e-06/0.09231, allocations: 0 / 363.3 MB, free: 7.98 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.0009355/0.09325, allocations: 0.7046 MB / 364 MB, free: 7.227 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.252e-05/0.09329, allocations: 8.031 kB / 364 MB, free: 7.219 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.175e-05/0.09339, allocations: 48.38 kB / 364.1 MB, free: 7.172 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003841/0.09378, allocations: 346.6 kB / 364.4 MB, free: 6.789 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.133e-05/0.09381, allocations: 16.81 kB / 364.4 MB, free: 6.773 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.859e-05/0.09386, allocations: 20.12 kB / 364.4 MB, free: 6.754 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000466/0.09433, allocations: 289.5 kB / 364.7 MB, free: 6.43 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.219e-05/0.09435, allocations: 0 / 364.7 MB, free: 6.43 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.04e-05/0.09439, allocations: 12 kB / 364.7 MB, free: 6.418 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.763e-06/0.0944, allocations: 4 kB / 364.7 MB, free: 6.414 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003003/0.0947, allocations: 153.7 kB / 364.9 MB, free: 6.266 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.001275/0.09599, allocations: 0.8244 MB / 365.7 MB, free: 5.371 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004137/0.09641, allocations: 199.1 kB / 365.9 MB, free: 5.168 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001523/0.09658, allocations: 76.83 kB / 366 MB, free: 5.09 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.234e-05/0.09662, allocations: 4 kB / 366 MB, free: 5.086 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002669/0.09689, allocations: 135.2 kB / 366.1 MB, free: 4.941 MB / 302.1 MB Notification: Performance of pre-optimization done (n=23): time 1.623e-06/0.0969, allocations: 0 / 366.1 MB, free: 4.941 MB / 302.1 MB Notification: Performance of matching and sorting (n=23): time 0.0008469/0.09775, allocations: 406.8 kB / 366.5 MB, free: 4.516 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001411/0.09791, allocations: 316.4 kB / 366.8 MB, free: 4.133 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005257/0.09844, allocations: 445.6 kB / 367.3 MB, free: 3.691 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.003e-05/0.09848, allocations: 33.7 kB / 367.3 MB, free: 3.652 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001537/0.09864, allocations: 196.3 kB / 367.5 MB, free: 3.453 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.977e-05/0.09872, allocations: 90.77 kB / 367.6 MB, free: 3.363 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.275e-05/0.09882, allocations: 65.64 kB / 367.6 MB, free: 3.293 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001727/0.099, allocations: 346.8 kB / 368 MB, free: 2.945 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001385/0.09914, allocations: 59.97 kB / 368 MB, free: 2.887 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002363/0.09939, allocations: 176 kB / 368.2 MB, free: 2.672 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003042/0.0997, allocations: 173 kB / 368.4 MB, free: 2.492 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.058e-06/0.09971, allocations: 3.938 kB / 368.4 MB, free: 2.488 MB / 302.1 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0004909/0.1002, allocations: 277.9 kB / 368.6 MB, free: 2.207 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.479e-05/0.1002, allocations: 7.938 kB / 368.6 MB, free: 2.199 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.19e-06/0.1002, allocations: 0 / 368.6 MB, free: 2.199 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001221/0.1004, allocations: 32.84 kB / 368.7 MB, free: 2.164 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002126/0.1006, allocations: 51.97 kB / 368.7 MB, free: 2.113 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001505/0.1021, allocations: 1.448 MB / 370.2 MB, free: 0.5273 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002115/0.1023, allocations: 27.69 kB / 370.2 MB, free: 0.5 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.724e-05/0.1024, allocations: 8.031 kB / 370.2 MB, free: 0.4922 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.0002259/0.1026, allocations: 177.6 kB / 370.4 MB, free: 316 kB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.922e-05/0.1027, allocations: 39.77 kB / 370.4 MB, free: 276 kB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.698e-05/0.1028, allocations: 43.61 kB / 370.5 MB, free: 232 kB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.851e-06/0.1028, allocations: 7.984 kB / 370.5 MB, free: 224 kB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.115e-06/0.1028, allocations: 0 / 370.5 MB, free: 224 kB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.149/0.2518, allocations: 0.5815 MB / 371.1 MB, free: 20.71 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001053/0.2529, allocations: 0.6933 MB / 371.8 MB, free: 20.39 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.358e-06/0.2529, allocations: 3.5 kB / 371.8 MB, free: 20.39 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002201/0.2531, allocations: 47.09 kB / 371.8 MB, free: 20.39 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.4e-06/0.2531, allocations: 2.562 kB / 371.8 MB, free: 20.39 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.875e-05/0.2532, allocations: 3.156 kB / 371.8 MB, free: 20.39 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.246e-06/0.2532, allocations: 4.062 kB / 371.8 MB, free: 20.39 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.074e-06/0.2532, allocations: 5.781 kB / 371.8 MB, free: 20.39 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005401/0.2537, allocations: 402.6 kB / 372.2 MB, free: 20.18 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001144/0.2539, allocations: 142.9 kB / 372.4 MB, free: 20.07 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.331e-05/0.2539, allocations: 11.75 kB / 372.4 MB, free: 20.07 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002139/0.2541, allocations: 13.06 kB / 372.4 MB, free: 20.06 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.066e-05/0.2542, allocations: 12.92 kB / 372.4 MB, free: 20.06 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.307e-05/0.2542, allocations: 6.469 kB / 372.4 MB, free: 20.06 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0003307/0.2546, allocations: 320.4 kB / 372.7 MB, free: 19.91 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.61e-07/0.2546, allocations: 1.219 kB / 372.7 MB, free: 19.91 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0004032/0.255, allocations: 92.84 kB / 372.8 MB, free: 19.9 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 (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.0008844/0.2559, allocations: 408.1 kB / 373.2 MB, free: 19.75 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0005423/0.2564, allocations: 316.3 kB / 373.5 MB, free: 19.58 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.625e-06/0.2564, allocations: 0.9688 kB / 373.5 MB, free: 19.58 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001533/0.2566, allocations: 88.06 kB / 373.6 MB, free: 19.56 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005851/0.2572, allocations: 96.77 kB / 373.7 MB, free: 19.53 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001317/0.2585, allocations: 0.9039 MB / 374.6 MB, free: 19.01 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002183/0.2587, allocations: 0.7997 MB / 375.4 MB, free: 18.3 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001788/0.2589, allocations: 45.95 kB / 375.4 MB, free: 18.29 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.187e-05/0.259, allocations: 32.48 kB / 375.5 MB, free: 18.28 MB / 302.1 MB Notification: Performance of SimCode: time 3e-07/0.259, allocations: 4 kB / 375.5 MB, free: 18.28 MB / 302.1 MB Notification: Performance of Templates: time 0.01083/0.2699, allocations: 5.796 MB / 381.3 MB, free: 17.55 MB / 302.1 MB make -j1 -f Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank.makefile (rm -f Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank.pipe ; mkfifo Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank.pipe >> ../files/Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank.sim & ./Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank.pipe 2>&1) diffSimulationResults("Modelica_trunk_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_trunk_Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches