Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_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 4.1.0-beta.om/package.mo", uses=false) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/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_4.1.0-beta.om_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.1.0-beta.om_Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001342/0.001342, allocations: 105.8 kB / 18.3 MB, free: 4.887 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001328/0.001328, allocations: 207.8 kB / 19.25 MB, free: 3.941 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.408/1.408, allocations: 227.7 MB / 247.7 MB, free: 10.36 MB / 206.1 MB Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.001931/0.001931, allocations: 63.83 kB / 307.9 MB, free: 0.5117 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1005/0.1025, allocations: 50.53 MB / 358.4 MB, free: 13.96 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank): time 0.00459/0.1071, allocations: 2.866 MB / 361.3 MB, free: 11.08 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.002322/0.1094, allocations: 1.402 MB / 362.7 MB, free: 9.668 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001664/0.1096, allocations: 7.938 kB / 362.7 MB, free: 9.66 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004951/0.1101, allocations: 179.1 kB / 362.9 MB, free: 9.484 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005278/0.1107, allocations: 246.6 kB / 363.1 MB, free: 9.242 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003104/0.111, allocations: 131.6 kB / 363.3 MB, free: 9.113 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005348/0.1115, allocations: 461.3 kB / 363.7 MB, free: 8.664 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002188/0.1118, allocations: 113.4 kB / 363.8 MB, free: 8.555 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002197/0.112, allocations: 183.3 kB / 364 MB, free: 8.375 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002765/0.1123, allocations: 207.2 kB / 364.2 MB, free: 8.172 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 6.943e-05/0.1124, allocations: 28 kB / 364.2 MB, free: 8.145 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001638/0.1125, allocations: 79.86 kB / 364.3 MB, free: 8.066 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001107/0.1127, allocations: 83.73 kB / 364.4 MB, free: 7.984 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000201/0.1129, allocations: 195 kB / 364.6 MB, free: 7.793 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005192/0.1134, allocations: 482.6 kB / 365 MB, free: 7.32 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.047e-06/0.1134, allocations: 7.938 kB / 365.1 MB, free: 7.312 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.092e-06/0.1134, allocations: 0 / 365.1 MB, free: 7.312 MB / 302.1 MB Notification: Performance of Transformations before backend: time 7.003e-06/0.1134, allocations: 4 kB / 365.1 MB, free: 7.309 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.001062/0.1145, allocations: 0.6968 MB / 365.8 MB, free: 6.562 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.761e-05/0.1145, allocations: 16.02 kB / 365.8 MB, free: 6.547 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001025/0.1147, allocations: 48.38 kB / 365.8 MB, free: 6.5 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004455/0.1151, allocations: 334.6 kB / 366.1 MB, free: 6.129 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.446e-05/0.1151, allocations: 20.81 kB / 366.2 MB, free: 6.109 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.076e-05/0.1152, allocations: 24.12 kB / 366.2 MB, free: 6.086 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000486/0.1157, allocations: 289.5 kB / 366.5 MB, free: 5.762 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.339e-05/0.1157, allocations: 0 / 366.5 MB, free: 5.762 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.138e-05/0.1157, allocations: 12 kB / 366.5 MB, free: 5.75 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.396e-06/0.1158, allocations: 7.984 kB / 366.5 MB, free: 5.742 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002936/0.1161, allocations: 149.6 kB / 366.6 MB, free: 5.598 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.001342/0.1174, allocations: 0.8244 MB / 367.5 MB, free: 4.703 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004113/0.1178, allocations: 191.1 kB / 367.6 MB, free: 4.508 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001537/0.118, allocations: 80.83 kB / 367.7 MB, free: 4.426 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.126e-05/0.118, allocations: 7.984 kB / 367.7 MB, free: 4.418 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003194/0.1184, allocations: 139.2 kB / 367.9 MB, free: 4.27 MB / 302.1 MB Notification: Performance of pre-optimization done (n=23): time 1.703e-06/0.1184, allocations: 0 / 367.9 MB, free: 4.27 MB / 302.1 MB Notification: Performance of matching and sorting (n=23): time 0.0008587/0.1192, allocations: 410.9 kB / 368.3 MB, free: 3.844 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001792/0.1194, allocations: 320.4 kB / 368.6 MB, free: 3.457 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005005/0.1199, allocations: 441.6 kB / 369 MB, free: 3.016 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.243e-05/0.12, allocations: 33.7 kB / 369 MB, free: 2.977 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001663/0.1201, allocations: 196.3 kB / 369.2 MB, free: 2.777 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.266e-05/0.1202, allocations: 82.84 kB / 369.3 MB, free: 2.695 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.379e-05/0.1203, allocations: 57.7 kB / 369.4 MB, free: 2.633 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001805/0.1205, allocations: 354.8 kB / 369.7 MB, free: 2.277 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001403/0.1207, allocations: 63.97 kB / 369.8 MB, free: 2.215 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002436/0.1209, allocations: 180 kB / 370 MB, free: 1.996 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003058/0.1212, allocations: 167.3 kB / 370.1 MB, free: 1.82 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.128e-06/0.1212, allocations: 3.938 kB / 370.1 MB, free: 1.816 MB / 302.1 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0004872/0.1217, allocations: 281.8 kB / 370.4 MB, free: 1.531 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.555e-05/0.1218, allocations: 4 kB / 370.4 MB, free: 1.527 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.032e-06/0.1218, allocations: 0 / 370.4 MB, free: 1.527 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001336/0.1219, allocations: 36.83 kB / 370.4 MB, free: 1.488 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002219/0.1221, allocations: 51.92 kB / 370.5 MB, free: 1.438 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.149/0.2712, allocations: 1.565 MB / 372.1 MB, free: 19.23 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003156/0.2715, allocations: 21.52 kB / 372.1 MB, free: 19.23 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.249e-05/0.2716, allocations: 10.69 kB / 372.1 MB, free: 19.23 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.0002109/0.2718, allocations: 171.2 kB / 372.3 MB, free: 19.12 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.798e-05/0.2719, allocations: 45.19 kB / 372.3 MB, free: 19.12 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.721e-05/0.272, allocations: 44.81 kB / 372.3 MB, free: 19.11 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.26e-06/0.272, allocations: 3.125 kB / 372.3 MB, free: 19.11 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.918e-06/0.272, allocations: 0.5625 kB / 372.3 MB, free: 19.11 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0004466/0.2724, allocations: 0.5748 MB / 372.9 MB, free: 18.58 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008391/0.2733, allocations: 0.7053 MB / 373.6 MB, free: 18.25 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.244e-06/0.2733, allocations: 4.766 kB / 373.6 MB, free: 18.25 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002175/0.2735, allocations: 47.22 kB / 373.7 MB, free: 18.25 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.929e-06/0.2735, allocations: 0.5625 kB / 373.7 MB, free: 18.25 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.842e-05/0.2736, allocations: 8.219 kB / 373.7 MB, free: 18.25 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.206e-06/0.2736, allocations: 1.281 kB / 373.7 MB, free: 18.25 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.363e-06/0.2736, allocations: 2.562 kB / 373.7 MB, free: 18.25 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005241/0.2741, allocations: 414 kB / 374.1 MB, free: 18.12 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001112/0.2742, allocations: 140.8 kB / 374.2 MB, free: 18.03 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.897e-05/0.2743, allocations: 7.906 kB / 374.2 MB, free: 18.03 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002084/0.2745, allocations: 14.47 kB / 374.3 MB, free: 18.03 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.879e-05/0.2745, allocations: 11.83 kB / 374.3 MB, free: 18.03 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.668e-05/0.2746, allocations: 10.09 kB / 374.3 MB, free: 18.03 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0003144/0.2749, allocations: 322.1 kB / 374.6 MB, free: 17.94 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.2749, allocations: 0 / 374.6 MB, free: 17.94 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0003923/0.2753, allocations: 90.56 kB / 374.7 MB, free: 17.94 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.001438/0.2767, allocations: 419.5 kB / 375.1 MB, free: 17.8 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0005985/0.2774, allocations: 327.3 kB / 375.4 MB, free: 17.68 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.797e-06/0.2774, allocations: 1.188 kB / 375.4 MB, free: 17.68 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001605/0.2775, allocations: 87.27 kB / 375.5 MB, free: 17.68 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005715/0.2781, allocations: 115.4 kB / 375.6 MB, free: 17.67 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001343/0.2795, allocations: 0.83 MB / 376.4 MB, free: 17.26 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002314/0.2797, allocations: 0.7979 MB / 377.2 MB, free: 16.55 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.267e-05/0.2798, allocations: 32.5 kB / 377.3 MB, free: 16.54 MB / 302.1 MB Notification: Performance of SimCode: time 2.3e-07/0.2798, allocations: 0 / 377.3 MB, free: 16.54 MB / 302.1 MB Notification: Performance of Templates: time 0.009258/0.2891, allocations: 5.874 MB / 383.1 MB, free: 15.64 MB / 302.1 MB make -j1 -f Modelica_4.1.0-beta.om_Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank.makefile (rm -f Modelica_4.1.0-beta.om_Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank.sim & ./Modelica_4.1.0-beta.om_Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank.pipe 2>&1) diffSimulationResults("Modelica_4.1.0-beta.om_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_4.1.0-beta.om_Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches