Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Media.Examples.WaterIF97.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.Media.Examples.WaterIF97,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|V|medium.h|medium.p",fileNamePrefix="Modelica_trunk_Modelica.Media.Examples.WaterIF97") translateModel(Modelica.Media.Examples.WaterIF97,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|V|medium.h|medium.p",fileNamePrefix="Modelica_trunk_Modelica.Media.Examples.WaterIF97") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001128/0.001128, allocations: 114.7 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.001193/0.001193, allocations: 200.6 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.321/1.321, allocations: 227.4 MB / 247.5 MB, free: 10.36 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001118/0.001118, allocations: 59.58 kB / 308.4 MB, free: 15.91 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08114/0.08227, allocations: 50.53 MB / 358.9 MB, free: 13.37 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.WaterIF97): time 0.01401/0.09631, allocations: 13.01 MB / 371.9 MB, free: 312 kB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.1593/0.2557, allocations: 11.54 MB / 383.4 MB, free: 7.469 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000129/0.2558, allocations: 1.5 kB / 383.4 MB, free: 7.469 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003182/0.2561, allocations: 70.39 kB / 383.5 MB, free: 7.434 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002685/0.2565, allocations: 91.73 kB / 383.6 MB, free: 7.379 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01351/0.27, allocations: 5.074 MB / 388.7 MB, free: 5.996 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003428/0.2703, allocations: 231.2 kB / 388.9 MB, free: 5.891 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.644e-05/0.2704, allocations: 28.5 kB / 388.9 MB, free: 5.867 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003842/0.2708, allocations: 191.3 kB / 389.1 MB, free: 5.785 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001094/0.2709, allocations: 72.2 kB / 389.2 MB, free: 5.754 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 2.053e-05/0.2709, allocations: 7.25 kB / 389.2 MB, free: 5.754 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01266/0.2836, allocations: 7.003 MB / 396.2 MB, free: 2.242 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 7.939e-05/0.2837, allocations: 29.94 kB / 396.2 MB, free: 2.219 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001521/0.2839, allocations: 63.58 kB / 396.3 MB, free: 2.188 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007923/0.2918, allocations: 3.88 MB / 400.2 MB, free: 15.71 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.468e-06/0.2918, allocations: 1.625 kB / 400.2 MB, free: 15.71 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.014e-06/0.2919, allocations: 0 / 400.2 MB, free: 15.71 MB / 318.1 MB Notification: Performance of Transformations before backend: time 7.083e-06/0.2919, allocations: 0 / 400.2 MB, free: 15.71 MB / 318.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 34 * Number of variables: 34 Notification: Performance of Generate backend data structure: time 0.005071/0.297, allocations: 1.143 MB / 401.3 MB, free: 14.91 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.213e-05/0.297, allocations: 8.281 kB / 401.3 MB, free: 14.91 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004866/0.2975, allocations: 47.67 kB / 401.4 MB, free: 14.89 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003525/0.2979, allocations: 223.7 kB / 401.6 MB, free: 14.64 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.37e-05/0.2979, allocations: 16.28 kB / 401.6 MB, free: 14.64 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.001e-05/0.298, allocations: 17.61 kB / 401.6 MB, free: 14.63 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001191/0.2992, allocations: 385.7 kB / 402 MB, free: 14.36 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.282e-05/0.2992, allocations: 1.75 kB / 402 MB, free: 14.36 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.179e-05/0.2992, allocations: 5.844 kB / 402 MB, free: 14.35 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.373e-06/0.2992, allocations: 3.938 kB / 402 MB, free: 14.35 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001392/0.3006, allocations: 362.9 kB / 402.4 MB, free: 14.18 MB / 318.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.001371/0.302, allocations: 1.194 MB / 403.5 MB, free: 12.99 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007963/0.3028, allocations: 269.5 kB / 403.8 MB, free: 12.82 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002725/0.3031, allocations: 117.7 kB / 403.9 MB, free: 12.75 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.09719/0.4003, allocations: 52.8 MB / 456.7 MB, free: 2.125 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.541e-05/0.4004, allocations: 45.55 kB / 456.8 MB, free: 2.074 MB / 366.1 MB Notification: Performance of pre-optimization done (n=23): time 2.475e-06/0.4004, allocations: 0 / 456.8 MB, free: 2.074 MB / 366.1 MB Notification: Performance of matching and sorting (n=33): time 0.006962/0.4074, allocations: 1.579 MB / 458.3 MB, free: 452 kB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.39e-05/0.4074, allocations: 106.8 kB / 458.5 MB, free: 320 kB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000119/0.4076, allocations: 121.8 kB / 458.6 MB, free: 188 kB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.637e-05/0.4076, allocations: 29.7 kB / 458.6 MB, free: 152 kB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.266e-05/0.4077, allocations: 104.5 kB / 458.7 MB, free: 44 kB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001315/0.4078, allocations: 118.4 kB / 458.8 MB, free: 15.93 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001222/0.408, allocations: 73.59 kB / 458.9 MB, free: 15.85 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001192/0.4081, allocations: 330.8 kB / 459.2 MB, free: 15.52 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000374/0.4085, allocations: 131.7 kB / 459.3 MB, free: 15.39 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004165/0.4089, allocations: 202.7 kB / 459.5 MB, free: 15.16 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007842/0.4097, allocations: 350.6 kB / 459.9 MB, free: 14.8 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.051e-06/0.4097, allocations: 3.938 kB / 459.9 MB, free: 14.79 MB / 382.1 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.001056/0.4108, allocations: 425.9 kB / 460.3 MB, free: 14.37 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.073e-05/0.4108, allocations: 10.19 kB / 460.3 MB, free: 14.36 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.226e-06/0.4108, allocations: 3.984 kB / 460.3 MB, free: 14.36 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002312/0.4111, allocations: 36.78 kB / 460.4 MB, free: 14.32 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004714/0.4115, allocations: 87.88 kB / 460.4 MB, free: 14.23 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003878/0.4119, allocations: 0.5564 MB / 461 MB, free: 13.65 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002962/0.4122, allocations: 19.98 kB / 461 MB, free: 13.63 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.927e-05/0.4123, allocations: 19.92 kB / 461 MB, free: 13.61 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 3 (medium.phase,state.phase,state2.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (40): * Single equations (assignments): 39 * 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 {(1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0001471/0.4124, allocations: 138.8 kB / 461.2 MB, free: 13.46 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001029/0.4126, allocations: 23.84 kB / 461.2 MB, free: 13.44 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002051/0.4146, allocations: 1.43 MB / 462.6 MB, free: 12 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.23e-05/0.4147, allocations: 27.91 kB / 462.7 MB, free: 11.97 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.721e-06/0.4147, allocations: 0 / 462.7 MB, free: 11.97 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.413e-06/0.4147, allocations: 3.984 kB / 462.7 MB, free: 11.97 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002879/0.4176, allocations: 1.975 MB / 464.6 MB, free: 9.922 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.891e-06/0.4176, allocations: 0 / 464.6 MB, free: 9.922 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004458/0.418, allocations: 80.23 kB / 464.7 MB, free: 9.844 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003115/0.4184, allocations: 76.83 kB / 464.8 MB, free: 9.766 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.984e-05/0.4184, allocations: 17.48 kB / 464.8 MB, free: 9.75 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003312/0.4187, allocations: 0.5836 MB / 465.4 MB, free: 9.141 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.927e-06/0.4188, allocations: 7.875 kB / 465.4 MB, free: 9.133 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00212/0.4209, allocations: 1.694 MB / 467.1 MB, free: 7.41 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.158e-05/0.421, allocations: 120.5 kB / 467.2 MB, free: 7.273 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.634e-05/0.421, allocations: 8 kB / 467.2 MB, free: 7.266 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003796/0.4214, allocations: 32.02 kB / 467.2 MB, free: 7.234 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.217e-05/0.4215, allocations: 31.91 kB / 467.3 MB, free: 7.203 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.319e-05/0.4215, allocations: 11.98 kB / 467.3 MB, free: 7.191 MB / 382.1 MB Notification: Performance of sorting global known variables: time 5.088e-05/0.4216, allocations: 91.27 kB / 467.4 MB, free: 7.102 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.4216, allocations: 0 / 467.4 MB, free: 7.102 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.003064/0.4247, allocations: 0.9644 MB / 468.3 MB, free: 6.137 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 3 (medium.p,medium.h,V) * Number of discrete variables: 11 ($cse2.phase,$cse2.region,$cse3.phase,$cse3.region,$cse4.phase,$cse4.region,$cse5.region3boundary,$cse6.region3boundary,medium.phase,$cse1.phase,$cse1.region) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (38): * Single equations (assignments): 31 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 6 * 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 {(1,1)} Notification: Performance of Backend phase and start with SimCode phase: time 0.005411/0.4301, allocations: 1.141 MB / 469.5 MB, free: 4.988 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001344/0.4315, allocations: 0.6124 MB / 470.1 MB, free: 4.375 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 6.733e-06/0.4315, allocations: 8.438 kB / 470.1 MB, free: 4.367 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000817/0.4323, allocations: 0.5045 MB / 470.6 MB, free: 3.863 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00075/0.4331, allocations: 80.52 kB / 470.7 MB, free: 3.785 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002229/0.4353, allocations: 1.295 MB / 472 MB, free: 2.445 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000364/0.4357, allocations: 0.8178 MB / 472.8 MB, free: 1.598 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0003512/0.436, allocations: 137.6 kB / 472.9 MB, free: 1.465 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001269/0.4362, allocations: 39.41 kB / 473 MB, free: 1.426 MB / 382.1 MB Notification: Performance of SimCode: time 3.51e-07/0.4362, allocations: 4 kB / 473 MB, free: 1.422 MB / 382.1 MB Notification: Performance of Templates: time 0.04942/0.4856, allocations: 36.23 MB / 0.4973 GB, free: 13.18 MB / 430.1 MB make -j1 -f Modelica_trunk_Modelica.Media.Examples.WaterIF97.makefile (rm -f Modelica_trunk_Modelica.Media.Examples.WaterIF97.pipe ; mkfifo Modelica_trunk_Modelica.Media.Examples.WaterIF97.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Media.Examples.WaterIF97.pipe >> ../files/Modelica_trunk_Modelica.Media.Examples.WaterIF97.sim & ./Modelica_trunk_Modelica.Media.Examples.WaterIF97 -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Media.Examples.WaterIF97.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Media.Examples.WaterIF97_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Media/Examples/WaterIF97/WaterIF97.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Media.Examples.WaterIF97.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches