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.00111/0.00111, allocations: 115.8 kB / 18.4 MB, free: 4.621 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001176/0.001176, allocations: 199.5 kB / 19.34 MB, free: 3.68 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.369/1.369, allocations: 227.4 MB / 247.5 MB, free: 10.43 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001378/0.001378, allocations: 59.28 kB / 308.4 MB, free: 15.91 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1017/0.103, allocations: 50.53 MB / 358.9 MB, free: 13.37 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank): time 0.004783/0.1079, allocations: 2.868 MB / 361.8 MB, free: 10.48 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.002872/0.1108, allocations: 1.402 MB / 363.2 MB, free: 9.074 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002082/0.111, allocations: 7.938 kB / 363.2 MB, free: 9.066 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006346/0.1117, allocations: 175.1 kB / 363.3 MB, free: 8.895 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005377/0.1122, allocations: 250.6 kB / 363.6 MB, free: 8.648 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003067/0.1126, allocations: 135.6 kB / 363.7 MB, free: 8.516 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004799/0.1131, allocations: 465.8 kB / 364.2 MB, free: 8.059 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002081/0.1133, allocations: 109.4 kB / 364.3 MB, free: 7.953 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002054/0.1135, allocations: 179.3 kB / 364.4 MB, free: 7.777 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002455/0.1137, allocations: 215.1 kB / 364.7 MB, free: 7.566 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 4.716e-05/0.1138, allocations: 28 kB / 364.7 MB, free: 7.539 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000137/0.1139, allocations: 67.98 kB / 364.7 MB, free: 7.473 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001122/0.1141, allocations: 87.67 kB / 364.8 MB, free: 7.387 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001957/0.1143, allocations: 202.9 kB / 365 MB, free: 7.188 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005393/0.1148, allocations: 486.3 kB / 365.5 MB, free: 6.711 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.061e-06/0.1148, allocations: 4 kB / 365.5 MB, free: 6.707 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.823e-06/0.1148, allocations: 0 / 365.5 MB, free: 6.707 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.014e-05/0.1148, allocations: 0 / 365.5 MB, free: 6.707 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.001151/0.116, allocations: 0.7007 MB / 366.2 MB, free: 5.957 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.221e-05/0.1161, allocations: 12.03 kB / 366.2 MB, free: 5.945 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.859e-05/0.1162, allocations: 48.38 kB / 366.3 MB, free: 5.898 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005225/0.1167, allocations: 350.5 kB / 366.6 MB, free: 5.512 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.409e-05/0.1167, allocations: 16.81 kB / 366.6 MB, free: 5.496 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.636e-05/0.1168, allocations: 28.09 kB / 366.7 MB, free: 5.469 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004458/0.1172, allocations: 293.5 kB / 366.9 MB, free: 5.141 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.61e-05/0.1173, allocations: 0 / 366.9 MB, free: 5.141 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.151e-05/0.1173, allocations: 12 kB / 367 MB, free: 5.129 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.546e-06/0.1173, allocations: 4 kB / 367 MB, free: 5.125 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003048/0.1176, allocations: 145.7 kB / 367.1 MB, free: 4.984 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.001313/0.1189, allocations: 0.8244 MB / 367.9 MB, free: 4.09 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004044/0.1194, allocations: 190.6 kB / 368.1 MB, free: 3.898 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000147/0.1195, allocations: 76.84 kB / 368.2 MB, free: 3.82 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.267e-05/0.1196, allocations: 11.97 kB / 368.2 MB, free: 3.809 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002422/0.1198, allocations: 131.3 kB / 368.3 MB, free: 3.668 MB / 302.1 MB Notification: Performance of pre-optimization done (n=23): time 3.015e-06/0.1198, allocations: 4 kB / 368.3 MB, free: 3.664 MB / 302.1 MB Notification: Performance of matching and sorting (n=23): time 0.0008311/0.1207, allocations: 409.8 kB / 368.7 MB, free: 3.238 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001358/0.1208, allocations: 320.4 kB / 369 MB, free: 2.852 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004471/0.1213, allocations: 441.6 kB / 369.5 MB, free: 2.41 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.183e-05/0.1213, allocations: 33.7 kB / 369.5 MB, free: 2.371 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001652/0.1215, allocations: 200.3 kB / 369.7 MB, free: 2.168 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.279e-05/0.1215, allocations: 74.86 kB / 369.8 MB, free: 2.094 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.693e-05/0.1216, allocations: 61.69 kB / 369.8 MB, free: 2.027 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001344/0.1218, allocations: 354.8 kB / 370.2 MB, free: 1.672 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00014/0.1219, allocations: 55.98 kB / 370.2 MB, free: 1.617 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002177/0.1222, allocations: 183.9 kB / 370.4 MB, free: 1.395 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002859/0.1225, allocations: 177 kB / 370.6 MB, free: 1.211 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.282e-06/0.1225, allocations: 7.938 kB / 370.6 MB, free: 1.203 MB / 302.1 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0004471/0.1229, allocations: 269.8 kB / 370.9 MB, free: 0.9297 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.764e-05/0.1229, allocations: 8 kB / 370.9 MB, free: 0.9219 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.671e-06/0.123, allocations: 0 / 370.9 MB, free: 0.9219 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001331/0.1231, allocations: 32.84 kB / 370.9 MB, free: 0.8867 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002321/0.1233, allocations: 60 kB / 371 MB, free: 0.8281 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1743/0.2976, allocations: 1.568 MB / 372.5 MB, free: 19.07 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003109/0.298, allocations: 25.75 kB / 372.6 MB, free: 19.07 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.531e-05/0.298, allocations: 10.78 kB / 372.6 MB, free: 19.07 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.0002208/0.2982, allocations: 175.6 kB / 372.7 MB, free: 18.96 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.891e-05/0.2983, allocations: 45.39 kB / 372.8 MB, free: 18.96 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.268e-05/0.2984, allocations: 42.88 kB / 372.8 MB, free: 18.95 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.838e-06/0.2984, allocations: 5.312 kB / 372.8 MB, free: 18.95 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.807e-06/0.2984, allocations: 0.6562 kB / 372.8 MB, free: 18.95 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0004634/0.2989, allocations: 0.5753 MB / 373.4 MB, free: 18.42 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009383/0.2998, allocations: 0.7031 MB / 374.1 MB, free: 18.09 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.025e-06/0.2999, allocations: 0.625 kB / 374.1 MB, free: 18.09 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002207/0.3001, allocations: 47.22 kB / 374.2 MB, free: 18.09 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.888e-06/0.3001, allocations: 1.094 kB / 374.2 MB, free: 18.09 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.965e-05/0.3001, allocations: 6.906 kB / 374.2 MB, free: 18.09 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.926e-06/0.3001, allocations: 2.125 kB / 374.2 MB, free: 18.09 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.31e-07/0.3001, allocations: 1.781 kB / 374.2 MB, free: 18.09 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005468/0.3007, allocations: 407.7 kB / 374.6 MB, free: 17.95 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001235/0.3008, allocations: 140.9 kB / 374.7 MB, free: 17.85 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.87e-05/0.3009, allocations: 11.17 kB / 374.7 MB, free: 17.85 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000206/0.3011, allocations: 11.69 kB / 374.7 MB, free: 17.85 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.451e-05/0.3011, allocations: 13.31 kB / 374.7 MB, free: 17.85 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.65e-05/0.3012, allocations: 13.56 kB / 374.8 MB, free: 17.85 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0003628/0.3015, allocations: 319.1 kB / 375.1 MB, free: 17.76 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.3016, allocations: 4 kB / 375.1 MB, free: 17.76 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0004196/0.302, allocations: 92.56 kB / 375.2 MB, free: 17.75 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.0009017/0.3029, allocations: 416.5 kB / 375.6 MB, free: 17.61 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0005947/0.3035, allocations: 315.3 kB / 375.9 MB, free: 17.49 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.737e-06/0.3035, allocations: 1.781 kB / 375.9 MB, free: 17.49 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001669/0.3037, allocations: 82.47 kB / 376 MB, free: 17.49 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005651/0.3043, allocations: 104.8 kB / 376.1 MB, free: 17.49 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001533/0.3058, allocations: 0.8033 MB / 376.9 MB, free: 17.07 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002731/0.3061, allocations: 0.7985 MB / 377.7 MB, free: 16.36 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001743/0.3063, allocations: 43.89 kB / 377.7 MB, free: 16.35 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.567e-05/0.3064, allocations: 32.5 kB / 377.7 MB, free: 16.34 MB / 302.1 MB Notification: Performance of SimCode: time 3.3e-07/0.3064, allocations: 3.938 kB / 377.7 MB, free: 16.34 MB / 302.1 MB Notification: Performance of Templates: time 0.01203/0.3184, allocations: 6.111 MB / 383.8 MB, free: 15.46 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 -s cvode -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.0.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