Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_pT.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0043/0.0043, allocations: 101.1 kB / 21.96 MB, free: 5.211 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.00127/0.00127, allocations: 213.5 kB / 25.25 MB, free: 3.145 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.26/1.26, allocations: 207.7 MB / 236.1 MB, free: 9.797 MB / 190.1 MB " [Timeout remaining time 179] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_pT,fileNamePrefix="Modelica_3_2_3_Modelica_Media_Examples_Tests_MediaTestModels_Water_WaterIF97_pT",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_pT,fileNamePrefix="Modelica_3_2_3_Modelica_Media_Examples_Tests_MediaTestModels_Water_WaterIF97_pT",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001619/0.001619, allocations: 51.92 kB / 348 MB, free: 9.871 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2118/0.2134, allocations: 49.16 MB / 397.2 MB, free: 9.09 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_pT): time 0.02818/0.2416, allocations: 29.8 MB / 427 MB, free: 3.789 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.01689/0.2585, allocations: 14 MB / 441 MB, free: 7.363 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002355/0.2587, allocations: 7.938 kB / 441 MB, free: 7.355 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007173/0.2595, allocations: 238.5 kB / 441.2 MB, free: 7.121 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006688/0.2601, allocations: 369.9 kB / 441.6 MB, free: 6.758 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01414/0.2743, allocations: 5.711 MB / 447.3 MB, free: 1.027 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001221/0.2755, allocations: 0.9971 MB / 448.3 MB, free: 24 kB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001922/0.2757, allocations: 81.23 kB / 448.4 MB, free: 15.94 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004864/0.2805, allocations: 2.181 MB / 450.5 MB, free: 13.73 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004606/0.281, allocations: 310.8 kB / 450.8 MB, free: 13.43 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 6.118e-05/0.2811, allocations: 36 kB / 450.9 MB, free: 13.39 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0063/0.2874, allocations: 3.617 MB / 454.5 MB, free: 9.773 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001279/0.2875, allocations: 99.67 kB / 454.6 MB, free: 9.676 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002163/0.2877, allocations: 195.3 kB / 454.8 MB, free: 9.484 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002845/0.2906, allocations: 2.362 MB / 457.2 MB, free: 7.117 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.777e-06/0.2906, allocations: 0 / 457.2 MB, free: 7.117 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.985e-06/0.2906, allocations: 3.984 kB / 457.2 MB, free: 7.113 MB / 366.1 MB Notification: Performance of Transformations before backend: time 6.332e-06/0.2906, allocations: 0 / 457.2 MB, free: 7.113 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 78 * Number of variables: 78 Notification: Performance of Generate backend data structure: time 0.001229/0.2918, allocations: 0.7497 MB / 457.9 MB, free: 6.332 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.559e-05/0.2918, allocations: 15.98 kB / 457.9 MB, free: 6.316 MB / 366.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.347e-05/0.2919, allocations: 12.78 kB / 457.9 MB, free: 6.305 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.408e-05/0.2919, allocations: 78.64 kB / 458 MB, free: 6.219 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006588/0.2926, allocations: 84.66 kB / 458.1 MB, free: 6.137 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004079/0.293, allocations: 242 kB / 458.3 MB, free: 5.875 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.092e-05/0.293, allocations: 25.03 kB / 458.4 MB, free: 5.848 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.855e-05/0.2931, allocations: 35.94 kB / 458.4 MB, free: 5.812 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008566/0.2939, allocations: 0.5865 MB / 459 MB, free: 5.145 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.567e-05/0.2939, allocations: 4 kB / 459 MB, free: 5.141 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.63e-05/0.294, allocations: 16 kB / 459 MB, free: 5.125 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.16e-05/0.294, allocations: 8 kB / 459 MB, free: 5.117 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005959/0.2946, allocations: 314.2 kB / 459.3 MB, free: 4.809 MB / 366.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.002336/0.2969, allocations: 1.911 MB / 461.2 MB, free: 2.809 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005372/0.2975, allocations: 246.5 kB / 461.5 MB, free: 2.559 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001511/0.2976, allocations: 96.77 kB / 461.6 MB, free: 2.461 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02751/0.3251, allocations: 8.35 MB / 469.9 MB, free: 10.1 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.284e-05/0.3252, allocations: 34.56 kB / 469.9 MB, free: 10.06 MB / 382.1 MB Notification: Performance of pre-optimization done (n=25): time 1.833e-06/0.3252, allocations: 0 / 469.9 MB, free: 10.06 MB / 382.1 MB Notification: Performance of matching and sorting (n=30): time 0.004413/0.3296, allocations: 1.159 MB / 471.1 MB, free: 8.859 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.197e-05/0.3297, allocations: 59.39 kB / 471.2 MB, free: 8.789 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003083/0.33, allocations: 269.7 kB / 471.4 MB, free: 8.516 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.472e-05/0.33, allocations: 37.7 kB / 471.5 MB, free: 8.473 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000145/0.3301, allocations: 200.4 kB / 471.7 MB, free: 8.273 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.484e-05/0.3302, allocations: 107 kB / 471.8 MB, free: 8.168 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000125/0.3304, allocations: 82.08 kB / 471.8 MB, free: 8.082 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001546/0.3305, allocations: 338.8 kB / 472.2 MB, free: 7.742 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001848/0.3307, allocations: 104.8 kB / 472.3 MB, free: 7.641 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002729/0.331, allocations: 218.9 kB / 472.5 MB, free: 7.371 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004855/0.3315, allocations: 354.4 kB / 472.8 MB, free: 6.973 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.907e-06/0.3315, allocations: 7.938 kB / 472.8 MB, free: 6.965 MB / 382.1 MB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0007751/0.3322, allocations: 430.7 kB / 473.3 MB, free: 6.531 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.878e-05/0.3323, allocations: 4.5 kB / 473.3 MB, free: 6.527 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.749e-06/0.3323, allocations: 8 kB / 473.3 MB, free: 6.52 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003354/0.3356, allocations: 273.3 kB / 473.5 MB, free: 6.246 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002991/0.3359, allocations: 79.89 kB / 473.6 MB, free: 6.168 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001739/0.3377, allocations: 1.874 MB / 475.5 MB, free: 4.152 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002018/0.3379, allocations: 8 kB / 475.5 MB, free: 4.145 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.852e-05/0.3379, allocations: 20 kB / 475.5 MB, free: 4.125 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 17 * Number of states: 0 () * Number of discrete variables: 3 (ambient.medium.phase,fixedMassFlowRate.medium.phase,volume.medium.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (45): * Single equations (assignments): 43 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * 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): 2 systems {(2,1), (1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0001937/0.3381, allocations: 157.9 kB / 475.7 MB, free: 3.961 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.21e-05/0.3382, allocations: 35.81 kB / 475.7 MB, free: 3.926 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001197/0.3394, allocations: 0.97 MB / 476.7 MB, free: 2.949 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.399e-05/0.3394, allocations: 12.05 kB / 476.7 MB, free: 2.938 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.166e-06/0.3394, allocations: 11.94 kB / 476.7 MB, free: 2.926 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001087/0.3405, allocations: 1.149 MB / 477.8 MB, free: 1.688 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001813/0.3423, allocations: 1.504 MB / 479.4 MB, free: 132 kB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.378e-06/0.3423, allocations: 0 / 479.4 MB, free: 132 kB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001973/0.3425, allocations: 51.91 kB / 479.4 MB, free: 80 kB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001665/0.3441, allocations: 296 kB / 479.7 MB, free: 15.79 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.549e-05/0.3442, allocations: 4 kB / 479.7 MB, free: 15.78 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005563/0.3447, allocations: 0.6811 MB / 480.4 MB, free: 15.07 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.3447, allocations: 4.062 kB / 480.4 MB, free: 15.07 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001173/0.3459, allocations: 0.9807 MB / 481.4 MB, free: 14.07 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.525e-05/0.346, allocations: 35.73 kB / 481.4 MB, free: 14.04 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.381e-05/0.346, allocations: 15.89 kB / 481.4 MB, free: 14.02 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001806/0.3462, allocations: 8 kB / 481.4 MB, free: 14.01 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.571e-05/0.3462, allocations: 19.95 kB / 481.4 MB, free: 13.99 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.337e-05/0.3462, allocations: 12 kB / 481.5 MB, free: 13.98 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0002603/0.3465, allocations: 247 kB / 481.7 MB, free: 13.74 MB / 398.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3465, allocations: 0 / 481.7 MB, free: 13.74 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.001292/0.3478, allocations: 0.4916 MB / 482.2 MB, free: 13.25 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (volume.medium.p,volume.medium.T) * Number of discrete variables: 4 ($cse2.phase,$cse2.region,$cse3.phase,$cse3.region) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (30): * Single equations (assignments): 27 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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 {(2,1)} Notification: Performance of Backend phase and start with SimCode phase: time 0.003024/0.3508, allocations: 1.934 MB / 484.1 MB, free: 11.28 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0008585/0.3517, allocations: 0.5108 MB / 484.6 MB, free: 10.75 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.334e-06/0.3517, allocations: 4 kB / 484.6 MB, free: 10.75 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004383/0.3521, allocations: 296.2 kB / 484.9 MB, free: 10.46 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009441/0.3531, allocations: 188.7 kB / 485.1 MB, free: 10.27 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005003/0.3581, allocations: 3.976 MB / 489.1 MB, free: 6.109 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001997/0.3583, allocations: 213.2 kB / 489.3 MB, free: 5.879 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0002819/0.3585, allocations: 115.1 kB / 489.4 MB, free: 5.766 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001849/0.3587, allocations: 143.4 kB / 489.5 MB, free: 5.625 MB / 398.1 MB Notification: Performance of SimCode: time 5.71e-07/0.3587, allocations: 0 / 489.5 MB, free: 5.625 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05162/0.4104, allocations: 24.17 MB / 0.5017 GB, free: 13.36 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.68/13.09, allocations: 15.94 kB / 0.5017 GB, free: 13.34 MB / 430.1 MB " [Timeout remaining time 647] (rm -f Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_pT.pipe ; mkfifo Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_pT.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_pT.pipe >> ../files/Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_pT.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_pT_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Media_Examples_Tests_MediaTestModels_Water_WaterIF97_pT_fmu --startTime=0 --stopTime=1.01 --stepSize=0.000201919 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Media_Examples_Tests_MediaTestModels_Water_WaterIF97_pT.fmu > Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_pT.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_pT_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Media/Examples/Tests/MediaTestModels/Water/WaterIF97_pT/WaterIF97_pT.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_pT.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 15.572351573966444]