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.00143/0.00143, allocations: 106.3 kB / 17.16 MB, free: 6.324 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.001452/0.001452, allocations: 198.9 kB / 18.08 MB, free: 5.422 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.326/1.326, allocations: 222.9 MB / 241.8 MB, free: 15.48 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001167/0.001166, allocations: 46.39 kB / 300.6 MB, free: 6.258 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1009/0.1021, allocations: 49.44 MB / 350 MB, free: 4.809 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank): time 0.004981/0.1071, allocations: 2.892 MB / 352.9 MB, free: 1.895 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.002341/0.1095, allocations: 1.243 MB / 354.2 MB, free: 0.6445 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003039/0.1098, allocations: 4 kB / 354.2 MB, free: 0.6406 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006067/0.1104, allocations: 179.4 kB / 354.4 MB, free: 476 kB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006512/0.1111, allocations: 179 kB / 354.5 MB, free: 296 kB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006053/0.1117, allocations: 145.7 kB / 354.7 MB, free: 152 kB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006743/0.1124, allocations: 438.1 kB / 355.1 MB, free: 15.71 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000225/0.1127, allocations: 99.58 kB / 355.2 MB, free: 15.62 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002888/0.113, allocations: 167.3 kB / 355.4 MB, free: 15.45 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003136/0.1133, allocations: 203.1 kB / 355.6 MB, free: 15.25 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 7.192e-05/0.1134, allocations: 24 kB / 355.6 MB, free: 15.23 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000196/0.1136, allocations: 51.98 kB / 355.6 MB, free: 15.18 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001105/0.1137, allocations: 79.67 kB / 355.7 MB, free: 15.1 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002375/0.1139, allocations: 183 kB / 355.9 MB, free: 14.92 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004671/0.1144, allocations: 371.4 kB / 356.3 MB, free: 14.56 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.079e-06/0.1144, allocations: 7.938 kB / 356.3 MB, free: 14.55 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.042e-06/0.1144, allocations: 0 / 356.3 MB, free: 14.55 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.433e-05/0.1144, allocations: 0 / 356.3 MB, free: 14.55 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.001337/0.1158, allocations: 0.693 MB / 357 MB, free: 13.81 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.365e-05/0.1158, allocations: 8.031 kB / 357 MB, free: 13.8 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001203/0.116, allocations: 44.47 kB / 357 MB, free: 13.76 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004828/0.1165, allocations: 338.6 kB / 357.3 MB, free: 13.39 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.283e-05/0.1165, allocations: 20.81 kB / 357.4 MB, free: 13.37 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.093e-05/0.1166, allocations: 28.12 kB / 357.4 MB, free: 13.34 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004891/0.1171, allocations: 289.5 kB / 357.7 MB, free: 13.02 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.846e-05/0.1171, allocations: 0 / 357.7 MB, free: 13.02 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.317e-05/0.1171, allocations: 11.94 kB / 357.7 MB, free: 13.01 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.193e-06/0.1171, allocations: 7.938 kB / 357.7 MB, free: 13 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003032/0.1174, allocations: 149.7 kB / 357.8 MB, free: 12.85 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.001423/0.1189, allocations: 0.8244 MB / 358.7 MB, free: 11.96 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004134/0.1193, allocations: 186.6 kB / 358.8 MB, free: 11.77 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001816/0.1195, allocations: 88.75 kB / 358.9 MB, free: 11.68 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.611e-05/0.1195, allocations: 7.984 kB / 358.9 MB, free: 11.67 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003679/0.1199, allocations: 139.2 kB / 359.1 MB, free: 11.52 MB / 302.1 MB Notification: Performance of pre-optimization done (n=23): time 1.683e-06/0.1199, allocations: 0 / 359.1 MB, free: 11.52 MB / 302.1 MB Notification: Performance of matching and sorting (n=23): time 0.0009217/0.1209, allocations: 410.2 kB / 359.5 MB, free: 11.1 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001748/0.121, allocations: 320.4 kB / 359.8 MB, free: 10.71 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004897/0.1215, allocations: 429.6 kB / 360.2 MB, free: 10.29 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.488e-05/0.1216, allocations: 29.7 kB / 360.2 MB, free: 10.25 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002307/0.1218, allocations: 204.3 kB / 360.4 MB, free: 10.05 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.028e-05/0.1219, allocations: 74.86 kB / 360.5 MB, free: 9.973 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001048/0.122, allocations: 57.69 kB / 360.6 MB, free: 9.91 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001759/0.1222, allocations: 354.8 kB / 360.9 MB, free: 9.555 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001437/0.1224, allocations: 59.98 kB / 361 MB, free: 9.496 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002334/0.1226, allocations: 176 kB / 361.1 MB, free: 9.281 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003002/0.1229, allocations: 167.4 kB / 361.3 MB, free: 9.105 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.548e-06/0.1229, allocations: 3.938 kB / 361.3 MB, free: 9.102 MB / 302.1 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.000494/0.1234, allocations: 277.9 kB / 361.6 MB, free: 8.82 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.952e-05/0.1235, allocations: 8 kB / 361.6 MB, free: 8.812 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.556e-06/0.1235, allocations: 4 kB / 361.6 MB, free: 8.809 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001411/0.1236, allocations: 32.84 kB / 361.6 MB, free: 8.773 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002182/0.1238, allocations: 51.91 kB / 361.7 MB, free: 8.723 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001414/0.1253, allocations: 1.448 MB / 363.1 MB, free: 7.133 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002311/0.1255, allocations: 31.72 kB / 363.2 MB, free: 7.102 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.712e-05/0.1255, allocations: 4 kB / 363.2 MB, free: 7.098 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.0001869/0.1257, allocations: 165.8 kB / 363.3 MB, free: 6.926 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.443e-05/0.1258, allocations: 43.47 kB / 363.4 MB, free: 6.883 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.091e-05/0.1259, allocations: 43.59 kB / 363.4 MB, free: 6.832 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.789e-06/0.1259, allocations: 4 kB / 363.4 MB, free: 6.828 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.723e-06/0.1259, allocations: 4.234 kB / 363.4 MB, free: 6.824 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005162/0.1264, allocations: 0.5865 MB / 364 MB, free: 6.133 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001019/0.1275, allocations: 0.704 MB / 364.7 MB, free: 5.367 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.945e-06/0.1275, allocations: 0 / 364.7 MB, free: 5.367 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002123/0.1277, allocations: 43.92 kB / 364.7 MB, free: 5.324 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.9e-06/0.1277, allocations: 7.984 kB / 364.8 MB, free: 5.316 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.79e-05/0.1277, allocations: 4 kB / 364.8 MB, free: 5.312 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.058e-06/0.1278, allocations: 4 kB / 364.8 MB, free: 5.309 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.305e-06/0.1278, allocations: 0 / 364.8 MB, free: 5.309 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006087/0.1284, allocations: 396.2 kB / 365.1 MB, free: 4.906 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001649/0.1285, allocations: 144.5 kB / 365.3 MB, free: 4.746 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.752e-05/0.1286, allocations: 8 kB / 365.3 MB, free: 4.738 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002068/0.1288, allocations: 8.062 kB / 365.3 MB, free: 4.73 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.046e-05/0.1289, allocations: 19.97 kB / 365.3 MB, free: 4.711 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.482e-05/0.1289, allocations: 8 kB / 365.3 MB, free: 4.703 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0003242/0.1292, allocations: 311.2 kB / 365.6 MB, free: 4.402 MB / 302.1 MB Notification: Performance of sort global known variables: time 2.71e-07/0.1293, allocations: 3.938 kB / 365.6 MB, free: 4.398 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0004062/0.1297, allocations: 99.84 kB / 365.7 MB, free: 4.301 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.001016/0.1307, allocations: 420.4 kB / 366.1 MB, free: 4.043 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0006462/0.1313, allocations: 309.2 kB / 366.4 MB, free: 3.73 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.066e-06/0.1314, allocations: 0 / 366.4 MB, free: 3.73 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001868/0.1316, allocations: 87.91 kB / 366.5 MB, free: 3.645 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006441/0.1322, allocations: 101.5 kB / 366.6 MB, free: 3.543 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001798/0.134, allocations: 0.932 MB / 367.6 MB, free: 2.578 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004395/0.1345, allocations: 0.8002 MB / 368.4 MB, free: 1.754 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001062/0.1346, allocations: 31.44 kB / 368.4 MB, free: 1.723 MB / 302.1 MB Notification: Performance of SimCode: time 5e-07/0.1346, allocations: 0 / 368.4 MB, free: 1.723 MB / 302.1 MB Notification: Performance of Templates: time 0.1625/0.2971, allocations: 5.801 MB / 374.2 MB, free: 24.5 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