Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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_4.0.0_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_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001366/0.001366, allocations: 104.2 kB / 17.59 MB, free: 5.559 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001428/0.001428, allocations: 191.4 kB / 18.51 MB, free: 4.641 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.581/1.581, allocations: 222.9 MB / 242.2 MB, free: 15.21 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001087/0.001087, allocations: 58.92 kB / 301.3 MB, free: 5.883 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09414/0.09525, allocations: 49.45 MB / 350.7 MB, free: 4.43 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank): time 0.005039/0.1003, allocations: 2.847 MB / 353.6 MB, free: 1.559 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.002256/0.1026, allocations: 1.258 MB / 354.8 MB, free: 300 kB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003253/0.103, allocations: 7.938 kB / 354.8 MB, free: 292 kB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005649/0.1036, allocations: 179.2 kB / 355 MB, free: 112 kB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006044/0.1042, allocations: 202.8 kB / 355.2 MB, free: 15.91 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005236/0.1047, allocations: 178.9 kB / 355.4 MB, free: 15.74 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006268/0.1054, allocations: 450 kB / 355.8 MB, free: 15.3 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002187/0.1056, allocations: 95.48 kB / 355.9 MB, free: 15.2 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002863/0.1059, allocations: 171.4 kB / 356.1 MB, free: 15.04 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003075/0.1062, allocations: 219.1 kB / 356.3 MB, free: 14.82 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 6.717e-05/0.1063, allocations: 28 kB / 356.3 MB, free: 14.79 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001882/0.1065, allocations: 71.98 kB / 356.4 MB, free: 14.72 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001056/0.1066, allocations: 87.62 kB / 356.5 MB, free: 14.64 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002143/0.1068, allocations: 202.9 kB / 356.7 MB, free: 14.44 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000549/0.1074, allocations: 474.7 kB / 357.1 MB, free: 13.97 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.919e-06/0.1074, allocations: 0 / 357.1 MB, free: 13.97 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.523e-06/0.1074, allocations: 0 / 357.1 MB, free: 13.97 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.466e-05/0.1074, allocations: 0 / 357.1 MB, free: 13.97 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.001179/0.1086, allocations: 0.6968 MB / 357.8 MB, free: 13.23 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.793e-05/0.1087, allocations: 19.89 kB / 357.9 MB, free: 13.21 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001111/0.1088, allocations: 48.45 kB / 357.9 MB, free: 13.16 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004552/0.1092, allocations: 334.6 kB / 358.2 MB, free: 12.79 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.371e-05/0.1093, allocations: 16.81 kB / 358.3 MB, free: 12.78 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.54e-05/0.1093, allocations: 24.06 kB / 358.3 MB, free: 12.75 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004829/0.1098, allocations: 289.5 kB / 358.6 MB, free: 12.43 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.563e-05/0.1098, allocations: 0 / 358.6 MB, free: 12.43 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.349e-05/0.1099, allocations: 15.98 kB / 358.6 MB, free: 12.42 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.164e-06/0.1099, allocations: 4 kB / 358.6 MB, free: 12.41 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002863/0.1102, allocations: 149.7 kB / 358.7 MB, free: 12.27 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.001357/0.1116, allocations: 0.8244 MB / 359.5 MB, free: 11.37 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003963/0.112, allocations: 191.1 kB / 359.7 MB, free: 11.18 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001467/0.1121, allocations: 76.83 kB / 359.8 MB, free: 11.1 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.66e-05/0.1122, allocations: 4 kB / 359.8 MB, free: 11.09 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000337/0.1125, allocations: 131.3 kB / 359.9 MB, free: 10.95 MB / 302.1 MB Notification: Performance of pre-optimization done (n=23): time 1.964e-06/0.1125, allocations: 4 kB / 359.9 MB, free: 10.95 MB / 302.1 MB Notification: Performance of matching and sorting (n=23): time 0.000835/0.1134, allocations: 408.4 kB / 360.3 MB, free: 10.52 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001564/0.1135, allocations: 316.4 kB / 360.7 MB, free: 10.14 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004786/0.114, allocations: 433.6 kB / 361.1 MB, free: 9.707 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.191e-05/0.1141, allocations: 33.7 kB / 361.1 MB, free: 9.668 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002025/0.1143, allocations: 200.3 kB / 361.3 MB, free: 9.469 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.518e-05/0.1144, allocations: 86.78 kB / 361.4 MB, free: 9.383 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.157e-05/0.1145, allocations: 57.69 kB / 361.4 MB, free: 9.32 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001661/0.1146, allocations: 350.8 kB / 361.8 MB, free: 8.969 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001494/0.1148, allocations: 63.98 kB / 361.9 MB, free: 8.906 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002314/0.115, allocations: 180.4 kB / 362 MB, free: 8.688 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002858/0.1153, allocations: 167.3 kB / 362.2 MB, free: 8.512 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.308e-06/0.1153, allocations: 3.938 kB / 362.2 MB, free: 8.508 MB / 302.1 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0004947/0.1158, allocations: 281.8 kB / 362.5 MB, free: 8.223 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.643e-05/0.1159, allocations: 4 kB / 362.5 MB, free: 8.219 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.621e-06/0.1159, allocations: 0 / 362.5 MB, free: 8.219 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001301/0.116, allocations: 28.84 kB / 362.5 MB, free: 8.188 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002117/0.1162, allocations: 55.91 kB / 362.6 MB, free: 8.133 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001607/0.1179, allocations: 1.586 MB / 364.1 MB, free: 6.398 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002321/0.1181, allocations: 23.78 kB / 364.2 MB, free: 6.375 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.644e-05/0.1181, allocations: 8 kB / 364.2 MB, free: 6.367 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.0001918/0.1183, allocations: 173.3 kB / 364.3 MB, free: 6.191 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.653e-05/0.1184, allocations: 39.53 kB / 364.4 MB, free: 6.152 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.979e-05/0.1185, allocations: 47.58 kB / 364.4 MB, free: 6.098 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.709e-06/0.1185, allocations: 7.938 kB / 364.4 MB, free: 6.09 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.755e-06/0.1185, allocations: 0 / 364.4 MB, free: 6.09 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005128/0.119, allocations: 0.5746 MB / 365 MB, free: 5.414 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009763/0.12, allocations: 0.7039 MB / 365.7 MB, free: 4.648 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.735e-06/0.1201, allocations: 4 kB / 365.7 MB, free: 4.645 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002025/0.1203, allocations: 43.91 kB / 365.8 MB, free: 4.602 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.627e-06/0.1203, allocations: 8 kB / 365.8 MB, free: 4.594 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.689e-05/0.1203, allocations: 4 kB / 365.8 MB, free: 4.59 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.297e-06/0.1203, allocations: 4 kB / 365.8 MB, free: 4.586 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.223e-06/0.1203, allocations: 0 / 365.8 MB, free: 4.586 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005502/0.1209, allocations: 405.8 kB / 366.2 MB, free: 4.176 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001545/0.121, allocations: 132.5 kB / 366.3 MB, free: 4.027 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.393e-05/0.1211, allocations: 8 kB / 366.3 MB, free: 4.02 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002188/0.1213, allocations: 16.03 kB / 366.3 MB, free: 4.004 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.206e-05/0.1214, allocations: 23.92 kB / 366.3 MB, free: 3.98 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.198e-05/0.1214, allocations: 4 kB / 366.4 MB, free: 3.977 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0003318/0.1217, allocations: 315.1 kB / 366.7 MB, free: 3.676 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.8e-07/0.1218, allocations: 3.938 kB / 366.7 MB, free: 3.672 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0004681/0.1222, allocations: 99.83 kB / 366.8 MB, free: 3.574 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.0009567/0.1232, allocations: 418.2 kB / 367.2 MB, free: 3.316 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0006622/0.1239, allocations: 318.4 kB / 367.5 MB, free: 2.992 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 4.548e-06/0.1239, allocations: 0 / 367.5 MB, free: 2.992 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001651/0.1241, allocations: 79.91 kB / 367.6 MB, free: 2.914 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006058/0.1247, allocations: 105.6 kB / 367.7 MB, free: 2.809 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001626/0.1263, allocations: 0.8392 MB / 368.5 MB, free: 1.945 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004092/0.1267, allocations: 0.7921 MB / 369.3 MB, free: 1.125 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.663e-05/0.1268, allocations: 35.44 kB / 369.3 MB, free: 1.09 MB / 302.1 MB Notification: Performance of SimCode: time 3.4e-07/0.1268, allocations: 0 / 369.3 MB, free: 1.09 MB / 302.1 MB Notification: Performance of Templates: time 0.1552/0.282, allocations: 5.804 MB / 375.1 MB, free: 23.89 MB / 302.1 MB make -j1 -f Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank.makefile (rm -f Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank.pipe ; mkfifo Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank.pipe >> ../files/Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank.sim & ./Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_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_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches