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.001103/0.001103, allocations: 119.9 kB / 18.41 MB, free: 4.688 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001268/0.001268, allocations: 203.5 kB / 19.36 MB, free: 3.746 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.332/1.332, allocations: 227.4 MB / 247.5 MB, free: 10.32 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001193/0.001193, allocations: 60.19 kB / 308.4 MB, free: 15.86 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08895/0.09016, allocations: 50.53 MB / 358.9 MB, free: 13.3 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank): time 0.004154/0.09436, allocations: 2.871 MB / 361.8 MB, free: 10.42 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.002112/0.09649, allocations: 1.398 MB / 363.2 MB, free: 9.012 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001477/0.09666, allocations: 4 kB / 363.2 MB, free: 9.008 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000523/0.09721, allocations: 179.1 kB / 363.3 MB, free: 8.832 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004925/0.09771, allocations: 250.6 kB / 363.6 MB, free: 8.586 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002881/0.09801, allocations: 143.5 kB / 363.7 MB, free: 8.445 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.000475/0.0985, allocations: 454 kB / 364.2 MB, free: 8 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002081/0.09872, allocations: 117.4 kB / 364.3 MB, free: 7.887 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001904/0.09892, allocations: 183.3 kB / 364.5 MB, free: 7.707 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002498/0.09917, allocations: 207.1 kB / 364.7 MB, free: 7.504 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 4.976e-05/0.09925, allocations: 32 kB / 364.7 MB, free: 7.473 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001512/0.09941, allocations: 63.98 kB / 364.8 MB, free: 7.41 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001079/0.09952, allocations: 95.61 kB / 364.9 MB, free: 7.316 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001888/0.09972, allocations: 198.9 kB / 365.1 MB, free: 7.121 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000453/0.1002, allocations: 486.4 kB / 365.5 MB, free: 6.645 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.689e-06/0.1002, allocations: 0 / 365.5 MB, free: 6.645 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.362e-06/0.1002, allocations: 4 kB / 365.5 MB, free: 6.641 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.228e-05/0.1002, allocations: 0 / 365.5 MB, free: 6.641 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.001053/0.1013, allocations: 0.7084 MB / 366.2 MB, free: 5.883 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.24e-05/0.1013, allocations: 12.03 kB / 366.3 MB, free: 5.871 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.662e-05/0.1014, allocations: 44.38 kB / 366.3 MB, free: 5.828 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004651/0.1019, allocations: 354.6 kB / 366.6 MB, free: 5.438 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.3e-05/0.1019, allocations: 16.8 kB / 366.7 MB, free: 5.422 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.97e-05/0.102, allocations: 24.12 kB / 366.7 MB, free: 5.398 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004469/0.1024, allocations: 289.5 kB / 367 MB, free: 5.074 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.332e-05/0.1024, allocations: 0 / 367 MB, free: 5.074 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.825e-05/0.1025, allocations: 8 kB / 367 MB, free: 5.066 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.783e-06/0.1025, allocations: 4 kB / 367 MB, free: 5.062 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000286/0.1028, allocations: 153.6 kB / 367.1 MB, free: 4.914 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.001253/0.104, allocations: 0.8166 MB / 367.9 MB, free: 4.027 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003863/0.1044, allocations: 184.5 kB / 368.1 MB, free: 3.84 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001474/0.1046, allocations: 72.84 kB / 368.2 MB, free: 3.766 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.364e-05/0.1046, allocations: 7.984 kB / 368.2 MB, free: 3.758 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002415/0.1049, allocations: 147.2 kB / 368.3 MB, free: 3.602 MB / 302.1 MB Notification: Performance of pre-optimization done (n=23): time 1.733e-06/0.1049, allocations: 0 / 368.3 MB, free: 3.602 MB / 302.1 MB Notification: Performance of matching and sorting (n=23): time 0.0007855/0.1057, allocations: 410.8 kB / 368.7 MB, free: 3.172 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000134/0.1058, allocations: 312.4 kB / 369 MB, free: 2.793 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004345/0.1063, allocations: 445.6 kB / 369.5 MB, free: 2.348 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.951e-05/0.1063, allocations: 29.7 kB / 369.5 MB, free: 2.312 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001402/0.1065, allocations: 212.2 kB / 369.7 MB, free: 2.098 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.61e-05/0.1065, allocations: 74.86 kB / 369.8 MB, free: 2.023 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.73e-05/0.1066, allocations: 61.69 kB / 369.9 MB, free: 1.957 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001201/0.1068, allocations: 350.8 kB / 370.2 MB, free: 1.605 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00013/0.1069, allocations: 63.98 kB / 370.3 MB, free: 1.543 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002142/0.1071, allocations: 176 kB / 370.4 MB, free: 1.328 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002984/0.1074, allocations: 177 kB / 370.6 MB, free: 1.145 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.737e-06/0.1074, allocations: 3.938 kB / 370.6 MB, free: 1.141 MB / 302.1 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.000448/0.1079, allocations: 277.8 kB / 370.9 MB, free: 0.8594 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.855e-05/0.1079, allocations: 10.19 kB / 370.9 MB, free: 0.8516 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.34e-06/0.1079, allocations: 0 / 370.9 MB, free: 0.8516 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001273/0.1081, allocations: 32.84 kB / 370.9 MB, free: 0.8164 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002129/0.1083, allocations: 48.06 kB / 371 MB, free: 0.7695 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1529/0.2612, allocations: 1.573 MB / 372.5 MB, free: 18.96 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003055/0.2616, allocations: 20.84 kB / 372.6 MB, free: 18.96 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.259e-05/0.2616, allocations: 10.14 kB / 372.6 MB, free: 18.96 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.0002213/0.2618, allocations: 172.8 kB / 372.7 MB, free: 18.84 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.661e-05/0.2619, allocations: 45.88 kB / 372.8 MB, free: 18.84 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.22e-05/0.262, allocations: 45.25 kB / 372.8 MB, free: 18.84 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.068e-06/0.262, allocations: 2.641 kB / 372.8 MB, free: 18.84 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.016e-06/0.262, allocations: 0.5625 kB / 372.8 MB, free: 18.84 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0004451/0.2624, allocations: 0.578 MB / 373.4 MB, free: 18.3 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009148/0.2634, allocations: 0.7067 MB / 374.1 MB, free: 17.97 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.346e-06/0.2634, allocations: 0 / 374.1 MB, free: 17.97 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002162/0.2636, allocations: 45.92 kB / 374.2 MB, free: 17.97 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.387e-06/0.2636, allocations: 1.031 kB / 374.2 MB, free: 17.97 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.877e-05/0.2636, allocations: 8.297 kB / 374.2 MB, free: 17.97 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.915e-06/0.2637, allocations: 1.859 kB / 374.2 MB, free: 17.97 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.382e-06/0.2637, allocations: 0.5 kB / 374.2 MB, free: 17.97 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005418/0.2642, allocations: 414.3 kB / 374.6 MB, free: 17.83 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001268/0.2643, allocations: 138.9 kB / 374.7 MB, free: 17.73 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.913e-05/0.2644, allocations: 6.75 kB / 374.7 MB, free: 17.73 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002067/0.2646, allocations: 11.92 kB / 374.7 MB, free: 17.73 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.315e-05/0.2647, allocations: 15.44 kB / 374.7 MB, free: 17.73 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.819e-05/0.2647, allocations: 14.61 kB / 374.8 MB, free: 17.73 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0003356/0.2651, allocations: 323.5 kB / 375.1 MB, free: 17.64 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.2651, allocations: 0 / 375.1 MB, free: 17.64 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0004034/0.2655, allocations: 95.45 kB / 375.2 MB, free: 17.64 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.0008977/0.2664, allocations: 416.6 kB / 375.6 MB, free: 17.48 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0005575/0.2669, allocations: 318.3 kB / 375.9 MB, free: 17.37 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 4.067e-06/0.267, allocations: 1.281 kB / 375.9 MB, free: 17.37 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001671/0.2671, allocations: 80.62 kB / 376 MB, free: 17.37 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006092/0.2678, allocations: 106.1 kB / 376.1 MB, free: 17.36 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001528/0.2693, allocations: 0.7961 MB / 376.9 MB, free: 16.95 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003064/0.2696, allocations: 0.795 MB / 377.7 MB, free: 16.24 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001674/0.2698, allocations: 44.5 kB / 377.7 MB, free: 16.23 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.083e-05/0.2699, allocations: 32.7 kB / 377.7 MB, free: 16.22 MB / 302.1 MB Notification: Performance of SimCode: time 2.5e-07/0.2699, allocations: 0 / 377.7 MB, free: 16.22 MB / 302.1 MB Notification: Performance of Templates: time 0.01221/0.2821, allocations: 6.12 MB / 383.9 MB, free: 15.34 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 -s gbode -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