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.00151/0.001511, allocations: 113.4 kB / 17.99 MB, free: 5.395 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001395/0.001395, allocations: 205.8 kB / 18.92 MB, free: 4.465 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.44/1.44, allocations: 227.4 MB / 247.1 MB, free: 10.77 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001875/0.001876, allocations: 65.8 kB / 307.1 MB, free: 0.9414 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1001/0.102, allocations: 50.54 MB / 357.7 MB, free: 14.41 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank): time 0.004629/0.1066, allocations: 2.917 MB / 360.6 MB, free: 11.47 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.002218/0.1089, allocations: 1.387 MB / 362 MB, free: 10.07 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001472/0.109, allocations: 4 kB / 362 MB, free: 10.07 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000487/0.1095, allocations: 167.4 kB / 362.1 MB, free: 9.906 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004878/0.11, allocations: 222.9 kB / 362.4 MB, free: 9.688 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002789/0.1103, allocations: 111.8 kB / 362.5 MB, free: 9.578 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005212/0.1109, allocations: 461.9 kB / 362.9 MB, free: 9.125 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001975/0.1111, allocations: 107.8 kB / 363 MB, free: 9.02 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002164/0.1113, allocations: 183.3 kB / 363.2 MB, free: 8.84 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002479/0.1116, allocations: 207.2 kB / 363.4 MB, free: 8.637 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 5.071e-05/0.1116, allocations: 35.98 kB / 363.4 MB, free: 8.602 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001535/0.1118, allocations: 71.98 kB / 363.5 MB, free: 8.531 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001045/0.1119, allocations: 87.61 kB / 363.6 MB, free: 8.445 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002015/0.1121, allocations: 199 kB / 363.8 MB, free: 8.25 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004237/0.1125, allocations: 375.4 kB / 364.2 MB, free: 7.883 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.088e-06/0.1125, allocations: 0 / 364.2 MB, free: 7.883 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.423e-06/0.1125, allocations: 0 / 364.2 MB, free: 7.883 MB / 302.1 MB Notification: Performance of Transformations before backend: time 7.244e-06/0.1126, allocations: 0 / 364.2 MB, free: 7.883 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.001072/0.1136, allocations: 0.6994 MB / 364.9 MB, free: 7.137 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.73e-05/0.1137, allocations: 12.03 kB / 364.9 MB, free: 7.125 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.178e-05/0.1138, allocations: 44.38 kB / 364.9 MB, free: 7.082 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004526/0.1142, allocations: 350.5 kB / 365.3 MB, free: 6.695 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.319e-05/0.1143, allocations: 12.81 kB / 365.3 MB, free: 6.684 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.722e-05/0.1143, allocations: 24.12 kB / 365.3 MB, free: 6.66 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005034/0.1148, allocations: 293.5 kB / 365.6 MB, free: 6.332 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.473e-05/0.1149, allocations: 3.938 kB / 365.6 MB, free: 6.328 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.827e-05/0.1149, allocations: 12 kB / 365.6 MB, free: 6.316 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.776e-06/0.1149, allocations: 8 kB / 365.6 MB, free: 6.309 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002982/0.1152, allocations: 149.6 kB / 365.7 MB, free: 6.164 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.001405/0.1166, allocations: 0.8244 MB / 366.6 MB, free: 5.27 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000405/0.117, allocations: 183.1 kB / 366.8 MB, free: 5.082 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001632/0.1172, allocations: 87.08 kB / 366.8 MB, free: 4.996 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.396e-05/0.1173, allocations: 3.984 kB / 366.8 MB, free: 4.992 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003375/0.1176, allocations: 139.2 kB / 367 MB, free: 4.844 MB / 302.1 MB Notification: Performance of pre-optimization done (n=23): time 2.204e-06/0.1176, allocations: 0 / 367 MB, free: 4.844 MB / 302.1 MB Notification: Performance of matching and sorting (n=23): time 0.0009171/0.1185, allocations: 413.9 kB / 367.4 MB, free: 4.414 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001867/0.1187, allocations: 316.4 kB / 367.7 MB, free: 4.031 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005193/0.1193, allocations: 445.6 kB / 368.1 MB, free: 3.59 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.526e-05/0.1193, allocations: 33.7 kB / 368.2 MB, free: 3.551 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001693/0.1195, allocations: 196.3 kB / 368.3 MB, free: 3.352 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.345e-05/0.1196, allocations: 74.84 kB / 368.4 MB, free: 3.277 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.799e-05/0.1197, allocations: 57.7 kB / 368.5 MB, free: 3.215 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001844/0.1199, allocations: 354.8 kB / 368.8 MB, free: 2.859 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001417/0.12, allocations: 67.91 kB / 368.9 MB, free: 2.793 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002463/0.1203, allocations: 172 kB / 369.1 MB, free: 2.582 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003107/0.1206, allocations: 173 kB / 369.2 MB, free: 2.402 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.58e-06/0.1206, allocations: 3.938 kB / 369.2 MB, free: 2.398 MB / 302.1 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0004874/0.1211, allocations: 273.8 kB / 369.5 MB, free: 2.121 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.706e-05/0.1211, allocations: 8 kB / 369.5 MB, free: 2.113 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.059e-06/0.1211, allocations: 0 / 369.5 MB, free: 2.113 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001359/0.1213, allocations: 44.86 kB / 369.5 MB, free: 2.066 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000222/0.1215, allocations: 43.98 kB / 369.6 MB, free: 2.023 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001617/0.1231, allocations: 1.582 MB / 371.2 MB, free: 304 kB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002109/0.1234, allocations: 23.84 kB / 371.2 MB, free: 280 kB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.578e-05/0.1234, allocations: 8 kB / 371.2 MB, free: 272 kB / 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.000196/0.1236, allocations: 169.7 kB / 371.4 MB, free: 92 kB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.445e-05/0.1237, allocations: 43.53 kB / 371.4 MB, free: 48 kB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.167e-05/0.1238, allocations: 43.59 kB / 371.5 MB, free: 4 kB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.1544/0.2782, allocations: 8.828 kB / 371.5 MB, free: 20.49 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.792e-06/0.2782, allocations: 0 / 371.5 MB, free: 20.49 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006149/0.2788, allocations: 0.5763 MB / 372 MB, free: 19.96 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0011/0.2799, allocations: 0.7012 MB / 372.7 MB, free: 19.63 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.749e-06/0.28, allocations: 0 / 372.7 MB, free: 19.63 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002259/0.2802, allocations: 44.41 kB / 372.8 MB, free: 19.63 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.534e-06/0.2802, allocations: 1.656 kB / 372.8 MB, free: 19.63 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.008e-05/0.2802, allocations: 4.656 kB / 372.8 MB, free: 19.63 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.16e-06/0.2802, allocations: 1.828 kB / 372.8 MB, free: 19.63 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.743e-06/0.2803, allocations: 1.562 kB / 372.8 MB, free: 19.63 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005631/0.2808, allocations: 408 kB / 373.2 MB, free: 19.5 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000119/0.281, allocations: 137.8 kB / 373.3 MB, free: 19.4 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.129e-05/0.281, allocations: 8.688 kB / 373.3 MB, free: 19.4 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002173/0.2812, allocations: 12.81 kB / 373.3 MB, free: 19.4 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.68e-05/0.2813, allocations: 14.78 kB / 373.4 MB, free: 19.4 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.836e-05/0.2813, allocations: 13.61 kB / 373.4 MB, free: 19.4 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0004129/0.2818, allocations: 321.1 kB / 373.7 MB, free: 19.32 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.2818, allocations: 0 / 373.7 MB, free: 19.32 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0004609/0.2822, allocations: 97.09 kB / 373.8 MB, free: 19.32 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.001443/0.2837, allocations: 420.5 kB / 374.2 MB, free: 19.17 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0006948/0.2844, allocations: 324.7 kB / 374.5 MB, free: 19.05 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 4.248e-06/0.2844, allocations: 1.031 kB / 374.5 MB, free: 19.05 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001592/0.2846, allocations: 82.14 kB / 374.6 MB, free: 19.05 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005973/0.2852, allocations: 106.1 kB / 374.7 MB, free: 19.04 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00158/0.2868, allocations: 0.9356 MB / 375.6 MB, free: 18.53 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002953/0.2871, allocations: 0.7992 MB / 376.4 MB, free: 17.82 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.182e-05/0.2872, allocations: 32.41 kB / 376.5 MB, free: 17.81 MB / 302.1 MB Notification: Performance of SimCode: time 3.4e-07/0.2872, allocations: 0 / 376.5 MB, free: 17.81 MB / 302.1 MB Notification: Performance of Templates: time 0.01035/0.2975, allocations: 5.894 MB / 382.4 MB, free: 16.86 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.1.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