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: "" <> buildModelFMU(Modelica.Media.Examples.WaterIF97,fileNamePrefix="Modelica_trunk_Modelica_Media_Examples_WaterIF97",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Examples.WaterIF97,fileNamePrefix="Modelica_trunk_Modelica_Media_Examples_WaterIF97",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001305/0.001305, allocations: 108.7 kB / 17.21 MB, free: 6.266 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00145/0.00145, allocations: 209.7 kB / 18.14 MB, free: 5.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.235/1.235, allocations: 227.4 MB / 246.3 MB, free: 9.043 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001181/0.001181, allocations: 62.56 kB / 306.3 MB, free: 0.7266 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08156/0.08276, allocations: 50.53 MB / 356.9 MB, free: 14.19 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.WaterIF97): time 0.01675/0.09954, allocations: 13.85 MB / 370.7 MB, free: 296 kB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.1472/0.2468, allocations: 12.47 MB / 383.2 MB, free: 7.059 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.036e-05/0.2469, allocations: 1.281 kB / 383.2 MB, free: 7.059 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002808/0.2472, allocations: 64.97 kB / 383.3 MB, free: 7.027 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002555/0.2475, allocations: 80.72 kB / 383.3 MB, free: 6.984 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0111/0.2586, allocations: 4.018 MB / 387.4 MB, free: 5.738 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003051/0.2589, allocations: 268.1 kB / 387.6 MB, free: 5.633 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.908e-05/0.259, allocations: 19.7 kB / 387.6 MB, free: 5.625 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003528/0.2593, allocations: 183.4 kB / 387.8 MB, free: 5.543 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001033/0.2594, allocations: 77.86 kB / 387.9 MB, free: 5.512 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 2.163e-05/0.2595, allocations: 5.5 kB / 387.9 MB, free: 5.512 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01161/0.2711, allocations: 6.911 MB / 394.8 MB, free: 2.488 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 6.687e-05/0.2712, allocations: 27.06 kB / 394.8 MB, free: 2.469 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001278/0.2713, allocations: 68.47 kB / 394.9 MB, free: 2.434 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006967/0.2783, allocations: 3.898 MB / 398.8 MB, free: 15.94 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.137e-06/0.2783, allocations: 0.9375 kB / 398.8 MB, free: 15.94 MB / 318.1 MB Notification: Performance of FrontEnd: time 9.62e-07/0.2783, allocations: 0 / 398.8 MB, free: 15.94 MB / 318.1 MB Notification: Performance of Transformations before backend: time 5.801e-06/0.2783, allocations: 0 / 398.8 MB, free: 15.94 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.005219/0.2836, allocations: 1.14 MB / 399.9 MB, free: 15.14 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.886e-05/0.2836, allocations: 7.5 kB / 399.9 MB, free: 15.14 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.285e-05/0.2837, allocations: 52.08 kB / 400 MB, free: 15.09 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004693/0.2842, allocations: 47.89 kB / 400 MB, free: 15.07 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002483/0.2844, allocations: 224.3 kB / 400.3 MB, free: 14.83 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.618e-05/0.2845, allocations: 9.75 kB / 400.3 MB, free: 14.82 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.401e-05/0.2845, allocations: 23.19 kB / 400.3 MB, free: 14.81 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001256/0.2858, allocations: 382.9 kB / 400.7 MB, free: 14.54 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.404e-05/0.2858, allocations: 0 / 400.7 MB, free: 14.54 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.782e-05/0.2859, allocations: 11.34 kB / 400.7 MB, free: 14.54 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.862e-06/0.2859, allocations: 4.344 kB / 400.7 MB, free: 14.54 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001418/0.2873, allocations: 357.1 kB / 401 MB, free: 14.36 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.0013/0.2886, allocations: 1.191 MB / 402.2 MB, free: 13.18 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008161/0.2894, allocations: 280.8 kB / 402.5 MB, free: 13 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002716/0.2897, allocations: 112.2 kB / 402.6 MB, free: 12.93 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.09045/0.3802, allocations: 52.58 MB / 455.2 MB, free: 2.711 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.029e-05/0.3803, allocations: 42.56 kB / 455.2 MB, free: 2.66 MB / 366.1 MB Notification: Performance of pre-optimization done (n=23): time 3.075e-06/0.3803, allocations: 0 / 455.2 MB, free: 2.66 MB / 366.1 MB Notification: Performance of matching and sorting (n=33): time 0.006701/0.387, allocations: 1.574 MB / 456.8 MB, free: 1.031 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.05e-05/0.387, allocations: 110.9 kB / 456.9 MB, free: 0.8984 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.254e-05/0.3871, allocations: 121.8 kB / 457 MB, free: 0.7695 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.395e-05/0.3872, allocations: 29.7 kB / 457.1 MB, free: 0.7344 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.053e-05/0.3872, allocations: 108.4 kB / 457.2 MB, free: 0.625 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.931e-05/0.3873, allocations: 122.3 kB / 457.3 MB, free: 0.5039 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001127/0.3875, allocations: 65.69 kB / 457.4 MB, free: 444 kB / 366.1 MB Notification: Performance of setup shared object (initialization): time 9.123e-05/0.3876, allocations: 322.8 kB / 457.7 MB, free: 112 kB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003814/0.3879, allocations: 140.9 kB / 457.8 MB, free: 15.97 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004091/0.3884, allocations: 202.5 kB / 458 MB, free: 15.75 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007422/0.3891, allocations: 350.5 kB / 458.3 MB, free: 15.38 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.783e-06/0.3891, allocations: 0 / 458.3 MB, free: 15.38 MB / 382.1 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.001043/0.3902, allocations: 425.9 kB / 458.8 MB, free: 14.95 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.156e-05/0.3902, allocations: 8 kB / 458.8 MB, free: 14.95 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.152e-06/0.3902, allocations: 3.938 kB / 458.8 MB, free: 14.94 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002216/0.3904, allocations: 41.05 kB / 458.8 MB, free: 14.9 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000451/0.3909, allocations: 95.75 kB / 458.9 MB, free: 14.81 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003297/0.3913, allocations: 0.5407 MB / 459.4 MB, free: 14.24 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003041/0.3916, allocations: 32.06 kB / 459.5 MB, free: 14.21 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.561e-05/0.3916, allocations: 12 kB / 459.5 MB, free: 14.2 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.0001444/0.3918, allocations: 149.7 kB / 459.6 MB, free: 14.05 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001005/0.3919, allocations: 15.81 kB / 459.6 MB, free: 14.03 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002003/0.3939, allocations: 1.439 MB / 461.1 MB, free: 12.58 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.163e-05/0.3939, allocations: 19.97 kB / 461.1 MB, free: 12.56 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.412e-06/0.3939, allocations: 0 / 461.1 MB, free: 12.56 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.265e-06/0.3939, allocations: 11.92 kB / 461.1 MB, free: 12.55 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002707/0.3966, allocations: 1.979 MB / 463.1 MB, free: 10.5 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.812e-06/0.3967, allocations: 4 kB / 463.1 MB, free: 10.5 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004284/0.3971, allocations: 83.86 kB / 463.2 MB, free: 10.42 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002824/0.3974, allocations: 72.83 kB / 463.3 MB, free: 10.34 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.706e-05/0.3974, allocations: 15.98 kB / 463.3 MB, free: 10.33 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003134/0.3978, allocations: 0.5874 MB / 463.9 MB, free: 9.715 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.998e-06/0.3978, allocations: 4.031 kB / 463.9 MB, free: 9.711 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002014/0.3998, allocations: 1.686 MB / 465.5 MB, free: 7.992 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.038e-05/0.3999, allocations: 132.3 kB / 465.7 MB, free: 7.844 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.731e-05/0.3999, allocations: 8 kB / 465.7 MB, free: 7.836 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003907/0.4003, allocations: 28.73 kB / 465.7 MB, free: 7.809 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.052e-05/0.4004, allocations: 31.89 kB / 465.7 MB, free: 7.777 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.226e-05/0.4005, allocations: 19.98 kB / 465.8 MB, free: 7.758 MB / 382.1 MB Notification: Performance of sorting global known variables: time 4.943e-05/0.4005, allocations: 91.27 kB / 465.9 MB, free: 7.668 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.61e-07/0.4005, allocations: 0 / 465.9 MB, free: 7.668 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.003083/0.4036, allocations: 0.9605 MB / 466.8 MB, free: 6.707 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.007607/0.4112, allocations: 3.28 MB / 470.1 MB, free: 3.387 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001231/0.4125, allocations: 0.6156 MB / 470.7 MB, free: 2.77 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.594e-06/0.4125, allocations: 448 / 470.7 MB, free: 2.77 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007302/0.4132, allocations: 0.5163 MB / 471.2 MB, free: 2.254 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007322/0.414, allocations: 76.3 kB / 471.3 MB, free: 2.18 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006979/0.421, allocations: 4.063 MB / 475.4 MB, free: 13.96 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003469/0.4213, allocations: 0.8139 MB / 476.2 MB, free: 13.12 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0003802/0.4217, allocations: 133.8 kB / 476.3 MB, free: 12.98 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000209/0.4219, allocations: 131.4 kB / 476.4 MB, free: 12.86 MB / 398.1 MB Notification: Performance of SimCode: time 3.51e-07/0.4219, allocations: 288 / 476.4 MB, free: 12.86 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05772/0.4797, allocations: 40.16 MB / 0.5045 GB, free: 4.762 MB / 430.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002076/0.4799, allocations: 211.2 kB / 0.5047 GB, free: 4.504 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.647/4.127, allocations: 0 / 0.5047 GB, free: 4.504 MB / 430.1 MB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Media.Examples.WaterIF97_res.mat --tempDir=temp_Modelica_trunk_Modelica_Media_Examples_WaterIF97_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Media_Examples_WaterIF97.fmu > 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