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.001302/0.001302, allocations: 104.1 kB / 17.63 MB, free: 5.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001298/0.001298, allocations: 214.4 kB / 18.59 MB, free: 4.402 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.418/1.418, allocations: 227.4 MB / 246.8 MB, free: 10.53 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001875/0.001875, allocations: 59.69 kB / 307 MB, free: 0.6094 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0926/0.09449, allocations: 50.54 MB / 357.5 MB, free: 14.07 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank): time 0.004297/0.09882, allocations: 2.874 MB / 360.4 MB, free: 11.18 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.00218/0.101, allocations: 1.406 MB / 361.8 MB, free: 9.766 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001326/0.1012, allocations: 4 kB / 361.8 MB, free: 9.762 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000466/0.1016, allocations: 179.1 kB / 362 MB, free: 9.586 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004954/0.1022, allocations: 250.6 kB / 362.2 MB, free: 9.34 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002913/0.1025, allocations: 139.5 kB / 362.4 MB, free: 9.203 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004863/0.103, allocations: 453.9 kB / 362.8 MB, free: 8.758 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001922/0.1032, allocations: 113.4 kB / 362.9 MB, free: 8.648 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001994/0.1034, allocations: 179.3 kB / 363.1 MB, free: 8.473 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002552/0.1036, allocations: 211.2 kB / 363.3 MB, free: 8.266 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 5.607e-05/0.1037, allocations: 32 kB / 363.3 MB, free: 8.234 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000166/0.1039, allocations: 75.97 kB / 363.4 MB, free: 8.16 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001249/0.104, allocations: 75.7 kB / 363.5 MB, free: 8.086 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000234/0.1042, allocations: 202.9 kB / 363.7 MB, free: 7.887 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005278/0.1048, allocations: 482.6 kB / 364.1 MB, free: 7.414 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.54e-06/0.1048, allocations: 0 / 364.1 MB, free: 7.414 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.303e-06/0.1048, allocations: 3.938 kB / 364.1 MB, free: 7.41 MB / 302.1 MB Notification: Performance of Transformations before backend: time 6.653e-06/0.1048, allocations: 0 / 364.1 MB, free: 7.41 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.00105/0.1059, allocations: 0.7046 MB / 364.8 MB, free: 6.656 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.734e-05/0.1059, allocations: 12.03 kB / 364.9 MB, free: 6.645 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.199e-05/0.106, allocations: 48.38 kB / 364.9 MB, free: 6.598 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004436/0.1065, allocations: 342.6 kB / 365.2 MB, free: 6.219 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.502e-05/0.1065, allocations: 16.75 kB / 365.3 MB, free: 6.203 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.542e-05/0.1065, allocations: 24.12 kB / 365.3 MB, free: 6.18 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004752/0.107, allocations: 297.5 kB / 365.6 MB, free: 5.848 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.257e-05/0.107, allocations: 0 / 365.6 MB, free: 5.848 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.717e-05/0.1071, allocations: 8 kB / 365.6 MB, free: 5.84 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.152e-05/0.1071, allocations: 4 kB / 365.6 MB, free: 5.836 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002959/0.1074, allocations: 145.7 kB / 365.7 MB, free: 5.695 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.001381/0.1088, allocations: 0.8321 MB / 366.6 MB, free: 4.793 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004733/0.1093, allocations: 198.1 kB / 366.8 MB, free: 4.594 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001534/0.1094, allocations: 76.83 kB / 366.8 MB, free: 4.516 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.513e-05/0.1095, allocations: 4 kB / 366.8 MB, free: 4.512 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003317/0.1098, allocations: 142.5 kB / 367 MB, free: 4.363 MB / 302.1 MB Notification: Performance of pre-optimization done (n=23): time 1.613e-06/0.1098, allocations: 0 / 367 MB, free: 4.363 MB / 302.1 MB Notification: Performance of matching and sorting (n=23): time 0.0008618/0.1107, allocations: 406.8 kB / 367.4 MB, free: 3.938 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001821/0.1109, allocations: 312.4 kB / 367.7 MB, free: 3.559 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004876/0.1114, allocations: 445.5 kB / 368.1 MB, free: 3.113 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.246e-05/0.1114, allocations: 37.7 kB / 368.1 MB, free: 3.07 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001671/0.1116, allocations: 204.3 kB / 368.3 MB, free: 2.863 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.925e-05/0.1117, allocations: 78.84 kB / 368.4 MB, free: 2.785 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.227e-05/0.1118, allocations: 57.69 kB / 368.5 MB, free: 2.723 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001671/0.1119, allocations: 350.8 kB / 368.8 MB, free: 2.371 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001461/0.1121, allocations: 63.97 kB / 368.9 MB, free: 2.309 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002475/0.1124, allocations: 179.9 kB / 369.1 MB, free: 2.09 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000302/0.1127, allocations: 173 kB / 369.2 MB, free: 1.91 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.147e-06/0.1127, allocations: 3.938 kB / 369.2 MB, free: 1.906 MB / 302.1 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0004797/0.1132, allocations: 273.8 kB / 369.5 MB, free: 1.629 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.35e-05/0.1132, allocations: 8 kB / 369.5 MB, free: 1.621 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.979e-06/0.1132, allocations: 0 / 369.5 MB, free: 1.621 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001327/0.1133, allocations: 32.84 kB / 369.5 MB, free: 1.586 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002174/0.1136, allocations: 56 kB / 369.6 MB, free: 1.531 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.145/0.2585, allocations: 1.563 MB / 371.2 MB, free: 19.55 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003142/0.2589, allocations: 21.78 kB / 371.2 MB, free: 19.55 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.969e-05/0.2589, allocations: 6.906 kB / 371.2 MB, free: 19.55 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.0001985/0.2591, allocations: 170.9 kB / 371.4 MB, free: 19.44 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.756e-05/0.2592, allocations: 44.55 kB / 371.4 MB, free: 19.44 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.829e-05/0.2593, allocations: 43.75 kB / 371.4 MB, free: 19.43 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.669e-06/0.2593, allocations: 3.094 kB / 371.4 MB, free: 19.43 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.228e-06/0.2593, allocations: 1.328 kB / 371.4 MB, free: 19.43 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0004493/0.2598, allocations: 0.5816 MB / 372 MB, free: 18.9 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000852/0.2606, allocations: 0.6996 MB / 372.7 MB, free: 18.57 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.617e-06/0.2606, allocations: 4.406 kB / 372.7 MB, free: 18.57 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000213/0.2609, allocations: 48.64 kB / 372.8 MB, free: 18.57 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.397e-06/0.2609, allocations: 4.219 kB / 372.8 MB, free: 18.57 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.797e-05/0.2609, allocations: 10.78 kB / 372.8 MB, free: 18.57 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.344e-06/0.2609, allocations: 4.531 kB / 372.8 MB, free: 18.57 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.593e-06/0.2609, allocations: 1.422 kB / 372.8 MB, free: 18.57 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005098/0.2614, allocations: 412.3 kB / 373.2 MB, free: 18.44 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001235/0.2616, allocations: 142.7 kB / 373.3 MB, free: 18.34 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.231e-05/0.2616, allocations: 11.39 kB / 373.3 MB, free: 18.34 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002149/0.2618, allocations: 12.67 kB / 373.4 MB, free: 18.34 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.227e-05/0.2619, allocations: 11.08 kB / 373.4 MB, free: 18.34 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.406e-05/0.2619, allocations: 6.172 kB / 373.4 MB, free: 18.34 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0003218/0.2623, allocations: 321.7 kB / 373.7 MB, free: 18.25 MB / 302.1 MB Notification: Performance of sort global known variables: time 2.6e-07/0.2623, allocations: 0 / 373.7 MB, free: 18.25 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.000384/0.2626, allocations: 93.64 kB / 373.8 MB, free: 18.25 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.001428/0.2641, allocations: 407.7 kB / 374.2 MB, free: 18.11 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0005908/0.2647, allocations: 325.6 kB / 374.5 MB, free: 17.99 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.056e-06/0.2647, allocations: 1 kB / 374.5 MB, free: 17.99 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001518/0.2649, allocations: 84.7 kB / 374.6 MB, free: 17.99 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005577/0.2654, allocations: 103.9 kB / 374.7 MB, free: 17.98 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001336/0.2668, allocations: 0.8043 MB / 375.5 MB, free: 17.59 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002182/0.267, allocations: 0.7986 MB / 376.3 MB, free: 16.88 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001619/0.2672, allocations: 44.97 kB / 376.3 MB, free: 16.88 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.552e-05/0.2672, allocations: 34.61 kB / 376.4 MB, free: 16.86 MB / 302.1 MB Notification: Performance of SimCode: time 6.51e-07/0.2673, allocations: 0 / 376.4 MB, free: 16.86 MB / 302.1 MB Notification: Performance of Templates: time 0.01172/0.279, allocations: 6.112 MB / 382.5 MB, free: 16.02 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.1.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