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.00134/0.00134, allocations: 111.2 kB / 17.29 MB, free: 6.059 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.001382/0.001382, allocations: 193.3 kB / 18.21 MB, free: 5.145 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.406/1.406, allocations: 222.9 MB / 241.9 MB, free: 13.66 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001066/0.001066, allocations: 50.58 kB / 300.8 MB, free: 5.949 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09774/0.09882, allocations: 49.45 MB / 350.2 MB, free: 4.496 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank): time 0.004676/0.1035, allocations: 2.889 MB / 353.1 MB, free: 1.586 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.002208/0.1058, allocations: 1.243 MB / 354.4 MB, free: 344 kB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003467/0.1062, allocations: 7.938 kB / 354.4 MB, free: 336 kB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006207/0.1068, allocations: 159.4 kB / 354.5 MB, free: 176 kB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006299/0.1075, allocations: 195 kB / 354.7 MB, free: 15.98 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005029/0.108, allocations: 148.7 kB / 354.9 MB, free: 15.84 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006569/0.1087, allocations: 456.9 kB / 355.3 MB, free: 15.39 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002176/0.1089, allocations: 99.47 kB / 355.4 MB, free: 15.29 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003027/0.1092, allocations: 179.3 kB / 355.6 MB, free: 15.12 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003079/0.1095, allocations: 211.2 kB / 355.8 MB, free: 14.91 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 7.246e-05/0.1096, allocations: 31.98 kB / 355.8 MB, free: 14.88 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001941/0.1098, allocations: 71.98 kB / 355.9 MB, free: 14.81 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000123/0.1099, allocations: 87.67 kB / 356 MB, free: 14.72 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002064/0.1101, allocations: 195 kB / 356.2 MB, free: 14.53 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004387/0.1106, allocations: 371.4 kB / 356.5 MB, free: 14.17 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.019e-06/0.1106, allocations: 0 / 356.5 MB, free: 14.17 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.723e-06/0.1106, allocations: 4 kB / 356.5 MB, free: 14.16 MB / 302.1 MB Notification: Performance of Transformations before backend: time 2.214e-05/0.1106, allocations: 0 / 356.5 MB, free: 14.16 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.001155/0.1118, allocations: 0.6992 MB / 357.2 MB, free: 13.42 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.028e-05/0.1119, allocations: 8.031 kB / 357.2 MB, free: 13.41 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001142/0.112, allocations: 48.47 kB / 357.3 MB, free: 13.36 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000455/0.1124, allocations: 342.6 kB / 357.6 MB, free: 12.99 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.452e-05/0.1125, allocations: 20.75 kB / 357.6 MB, free: 12.97 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.064e-05/0.1125, allocations: 20.12 kB / 357.7 MB, free: 12.95 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004953/0.113, allocations: 289.5 kB / 357.9 MB, free: 12.63 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.61e-05/0.1131, allocations: 0 / 357.9 MB, free: 12.63 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.084e-05/0.1131, allocations: 15.94 kB / 358 MB, free: 12.61 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.195e-06/0.1131, allocations: 4 kB / 358 MB, free: 12.61 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002834/0.1134, allocations: 145.7 kB / 358.1 MB, free: 12.46 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.001389/0.1148, allocations: 0.8359 MB / 358.9 MB, free: 11.56 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003837/0.1152, allocations: 191.1 kB / 359.1 MB, free: 11.36 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001377/0.1153, allocations: 76.83 kB / 359.2 MB, free: 11.29 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.195e-05/0.1154, allocations: 4 kB / 359.2 MB, free: 11.28 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003236/0.1157, allocations: 135.3 kB / 359.3 MB, free: 11.14 MB / 302.1 MB Notification: Performance of pre-optimization done (n=23): time 2.134e-06/0.1157, allocations: 3.938 kB / 359.3 MB, free: 11.13 MB / 302.1 MB Notification: Performance of matching and sorting (n=23): time 0.0008502/0.1166, allocations: 410.4 kB / 359.7 MB, free: 10.71 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001453/0.1167, allocations: 312.4 kB / 360.1 MB, free: 10.33 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004604/0.1172, allocations: 437.6 kB / 360.5 MB, free: 9.895 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.39e-05/0.1172, allocations: 33.7 kB / 360.5 MB, free: 9.855 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001472/0.1174, allocations: 204.3 kB / 360.7 MB, free: 9.652 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.761e-05/0.1175, allocations: 78.86 kB / 360.8 MB, free: 9.574 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.758e-05/0.1176, allocations: 61.69 kB / 360.8 MB, free: 9.508 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001257/0.1177, allocations: 350.8 kB / 361.2 MB, free: 9.156 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001287/0.1178, allocations: 55.98 kB / 361.2 MB, free: 9.102 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002158/0.1181, allocations: 175.9 kB / 361.4 MB, free: 8.887 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00028/0.1183, allocations: 171.3 kB / 361.6 MB, free: 8.707 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.817e-06/0.1184, allocations: 7.938 kB / 361.6 MB, free: 8.699 MB / 302.1 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0004705/0.1188, allocations: 265.9 kB / 361.9 MB, free: 8.43 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.219e-05/0.1189, allocations: 11.98 kB / 361.9 MB, free: 8.418 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.803e-06/0.1189, allocations: 0 / 361.9 MB, free: 8.418 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001428/0.119, allocations: 32.84 kB / 361.9 MB, free: 8.383 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002048/0.1192, allocations: 51.92 kB / 361.9 MB, free: 8.332 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001431/0.1207, allocations: 1.574 MB / 363.5 MB, free: 6.609 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000225/0.1209, allocations: 23.84 kB / 363.5 MB, free: 6.586 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.191e-05/0.121, allocations: 8 kB / 363.6 MB, free: 6.578 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.000187/0.1212, allocations: 162 kB / 363.7 MB, free: 6.41 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000136/0.1213, allocations: 47.53 kB / 363.8 MB, free: 6.363 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.596e-05/0.1214, allocations: 51.56 kB / 363.8 MB, free: 6.305 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.053e-06/0.1214, allocations: 7.938 kB / 363.8 MB, free: 6.297 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.236e-06/0.1214, allocations: 3.938 kB / 363.8 MB, free: 6.293 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005345/0.122, allocations: 0.575 MB / 364.4 MB, free: 5.613 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009459/0.1229, allocations: 0.7016 MB / 365.1 MB, free: 4.852 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.194e-06/0.1229, allocations: 0 / 365.1 MB, free: 4.852 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002042/0.1231, allocations: 55.91 kB / 365.1 MB, free: 4.797 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.08e-06/0.1232, allocations: 4 kB / 365.2 MB, free: 4.793 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.689e-05/0.1232, allocations: 0 / 365.2 MB, free: 4.793 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.274e-06/0.1232, allocations: 0 / 365.2 MB, free: 4.793 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.1232, allocations: 0 / 365.2 MB, free: 4.793 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005456/0.1237, allocations: 409.6 kB / 365.6 MB, free: 4.379 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001486/0.1239, allocations: 136.6 kB / 365.7 MB, free: 4.227 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.401e-05/0.124, allocations: 8 kB / 365.7 MB, free: 4.219 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002156/0.1242, allocations: 16.05 kB / 365.7 MB, free: 4.203 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.562e-05/0.1242, allocations: 15.92 kB / 365.7 MB, free: 4.188 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.357e-05/0.1243, allocations: 8 kB / 365.7 MB, free: 4.18 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0003133/0.1246, allocations: 315.1 kB / 366 MB, free: 3.875 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.61e-07/0.1246, allocations: 96 / 366 MB, free: 3.875 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0004088/0.125, allocations: 99.77 kB / 366.1 MB, free: 3.777 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.0009451/0.126, allocations: 410.1 kB / 366.5 MB, free: 3.531 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0006275/0.1266, allocations: 326.4 kB / 366.9 MB, free: 3.199 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.737e-06/0.1266, allocations: 0 / 366.9 MB, free: 3.199 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002198/0.1268, allocations: 79.91 kB / 366.9 MB, free: 3.121 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005889/0.1274, allocations: 117.5 kB / 367.1 MB, free: 3.004 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001524/0.129, allocations: 0.9261 MB / 368 MB, free: 2.047 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003586/0.1293, allocations: 0.796 MB / 368.8 MB, free: 1.223 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.136e-05/0.1294, allocations: 31.44 kB / 368.8 MB, free: 1.191 MB / 302.1 MB Notification: Performance of SimCode: time 5.61e-07/0.1294, allocations: 3.938 kB / 368.8 MB, free: 1.188 MB / 302.1 MB Notification: Performance of Templates: time 0.1717/0.3011, allocations: 5.803 MB / 374.6 MB, free: 23.78 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