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.001146/0.001146, allocations: 96.5 kB / 18.01 MB, free: 5.734 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001649/0.00165, allocations: 207.8 kB / 18.94 MB, free: 4.844 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.377/1.377, allocations: 227.7 MB / 247.5 MB, free: 9.672 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002635/0.0002636, allocations: 11.94 kB / 308.4 MB, free: 0.625 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08979/0.09008, allocations: 51.51 MB / 359.9 MB, free: 13.1 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank): time 0.002957/0.09308, allocations: 2.551 MB / 362.5 MB, free: 10.54 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.002195/0.09531, allocations: 1.305 MB / 363.8 MB, free: 9.223 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002361/0.09557, allocations: 4 kB / 363.8 MB, free: 9.219 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000512/0.0961, allocations: 167.4 kB / 363.9 MB, free: 9.055 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005994/0.09671, allocations: 215 kB / 364.1 MB, free: 8.844 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000359/0.09709, allocations: 123.8 kB / 364.3 MB, free: 8.723 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005732/0.09767, allocations: 437.6 kB / 364.7 MB, free: 8.297 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001946/0.09788, allocations: 100 kB / 364.8 MB, free: 8.199 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002697/0.09816, allocations: 167.2 kB / 364.9 MB, free: 8.035 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003007/0.09847, allocations: 203.2 kB / 365.1 MB, free: 7.836 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 5.341e-05/0.09853, allocations: 16 kB / 365.2 MB, free: 7.82 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001644/0.0987, allocations: 59.98 kB / 365.2 MB, free: 7.762 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001003/0.09881, allocations: 79.69 kB / 365.3 MB, free: 7.684 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002051/0.09902, allocations: 216.6 kB / 365.5 MB, free: 7.465 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003867/0.09941, allocations: 359.3 kB / 365.9 MB, free: 7.113 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.198e-06/0.09943, allocations: 0 / 365.9 MB, free: 7.113 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.184e-06/0.09944, allocations: 0 / 365.9 MB, free: 7.113 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.214e-05/0.09945, allocations: 0 / 365.9 MB, free: 7.113 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.000949/0.1004, allocations: 0.6346 MB / 366.5 MB, free: 6.43 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.623e-05/0.1005, allocations: 8.031 kB / 366.5 MB, free: 6.422 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001015/0.1006, allocations: 44.47 kB / 366.5 MB, free: 6.379 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004251/0.101, allocations: 342.6 kB / 366.9 MB, free: 6 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.523e-05/0.101, allocations: 16.75 kB / 366.9 MB, free: 5.984 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.081e-05/0.1011, allocations: 28.11 kB / 366.9 MB, free: 5.957 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004749/0.1016, allocations: 293.5 kB / 367.2 MB, free: 5.629 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.42e-05/0.1016, allocations: 4 kB / 367.2 MB, free: 5.625 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.097e-05/0.1016, allocations: 12 kB / 367.2 MB, free: 5.613 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.925e-06/0.1016, allocations: 4 kB / 367.2 MB, free: 5.609 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002838/0.1019, allocations: 145.7 kB / 367.4 MB, free: 5.469 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.001277/0.1032, allocations: 0.8322 MB / 368.2 MB, free: 4.566 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004022/0.1036, allocations: 187.1 kB / 368.4 MB, free: 4.375 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001425/0.1038, allocations: 76.84 kB / 368.5 MB, free: 4.297 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.957e-05/0.1038, allocations: 7.969 kB / 368.5 MB, free: 4.289 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002625/0.1041, allocations: 138.7 kB / 368.6 MB, free: 4.145 MB / 302.1 MB Notification: Performance of pre-optimization done (n=23): time 3.116e-06/0.1041, allocations: 7.938 kB / 368.6 MB, free: 4.137 MB / 302.1 MB Notification: Performance of matching and sorting (n=23): time 0.0007892/0.1049, allocations: 410.7 kB / 369 MB, free: 3.707 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000129/0.105, allocations: 312.4 kB / 369.3 MB, free: 3.328 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004772/0.1055, allocations: 441.6 kB / 369.7 MB, free: 2.891 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.036e-05/0.1056, allocations: 37.7 kB / 369.8 MB, free: 2.848 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001609/0.1057, allocations: 208.2 kB / 370 MB, free: 2.637 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.305e-05/0.1058, allocations: 70.95 kB / 370.1 MB, free: 2.566 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.732e-05/0.1058, allocations: 29.7 kB / 370.1 MB, free: 2.531 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001284/0.106, allocations: 350.8 kB / 370.4 MB, free: 2.18 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000139/0.1061, allocations: 59.97 kB / 370.5 MB, free: 2.121 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002162/0.1064, allocations: 179.9 kB / 370.7 MB, free: 1.902 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002886/0.1067, allocations: 169 kB / 370.8 MB, free: 1.727 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.248e-06/0.1067, allocations: 7.938 kB / 370.8 MB, free: 1.719 MB / 302.1 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0004954/0.1072, allocations: 277.8 kB / 371.1 MB, free: 1.438 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.102e-05/0.1072, allocations: 4 kB / 371.1 MB, free: 1.434 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.943e-06/0.1072, allocations: 0 / 371.1 MB, free: 1.434 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001379/0.1074, allocations: 32.84 kB / 371.1 MB, free: 1.398 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002205/0.1076, allocations: 55.91 kB / 371.2 MB, free: 1.344 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1606/0.2682, allocations: 1.448 MB / 372.6 MB, free: 18.23 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003743/0.2686, allocations: 25.66 kB / 372.7 MB, free: 18.23 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.853e-05/0.2686, allocations: 9.531 kB / 372.7 MB, free: 18.23 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.000272/0.2689, allocations: 176.7 kB / 372.9 MB, free: 18.12 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.849e-05/0.269, allocations: 43.5 kB / 372.9 MB, free: 18.12 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001121/0.2691, allocations: 43.59 kB / 372.9 MB, free: 18.11 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.55e-06/0.2692, allocations: 1.969 kB / 372.9 MB, free: 18.11 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.649e-06/0.2692, allocations: 2.578 kB / 372.9 MB, free: 18.11 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005048/0.2697, allocations: 0.5797 MB / 373.5 MB, free: 17.58 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001015/0.2707, allocations: 0.709 MB / 374.2 MB, free: 17.25 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.367e-06/0.2707, allocations: 4.609 kB / 374.2 MB, free: 17.25 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002193/0.2709, allocations: 42.64 kB / 374.3 MB, free: 17.25 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.49e-06/0.271, allocations: 1.281 kB / 374.3 MB, free: 17.25 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.888e-05/0.271, allocations: 7.078 kB / 374.3 MB, free: 17.25 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.458e-06/0.271, allocations: 5.156 kB / 374.3 MB, free: 17.25 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.445e-06/0.271, allocations: 0.75 kB / 374.3 MB, free: 17.25 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006143/0.2716, allocations: 404 kB / 374.7 MB, free: 17.12 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001583/0.2718, allocations: 136.8 kB / 374.8 MB, free: 17.02 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.116e-05/0.2719, allocations: 15.8 kB / 374.8 MB, free: 17.02 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002379/0.2721, allocations: 19.28 kB / 374.9 MB, free: 17.02 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.746e-05/0.2722, allocations: 11.78 kB / 374.9 MB, free: 17.02 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.935e-05/0.2722, allocations: 10.81 kB / 374.9 MB, free: 17.02 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0004131/0.2726, allocations: 316.7 kB / 375.2 MB, free: 16.93 MB / 302.1 MB Notification: Performance of sort global known variables: time 2.6e-07/0.2726, allocations: 1.781 kB / 375.2 MB, free: 16.93 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0004697/0.2731, allocations: 94 kB / 375.3 MB, free: 16.93 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.0009846/0.2741, allocations: 416.2 kB / 375.7 MB, free: 16.77 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0006665/0.2748, allocations: 313.4 kB / 376 MB, free: 16.65 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 4.518e-06/0.2748, allocations: 5.531 kB / 376 MB, free: 16.65 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000203/0.275, allocations: 81.11 kB / 376.1 MB, free: 16.65 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006884/0.2757, allocations: 97.39 kB / 376.2 MB, free: 16.64 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001607/0.2773, allocations: 1.001 MB / 377.2 MB, free: 16.09 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002962/0.2776, allocations: 0.7971 MB / 378 MB, free: 15.39 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.723e-05/0.2777, allocations: 33.62 kB / 378 MB, free: 15.38 MB / 302.1 MB Notification: Performance of SimCode: time 5.01e-07/0.2778, allocations: 0 / 378 MB, free: 15.38 MB / 302.1 MB Notification: Performance of Templates: time 0.01187/0.2896, allocations: 5.837 MB / 383.8 MB, free: 14.49 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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Thermal/FluidHeatFlow/Examples/TestOpenTank/TestOpenTank.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches