Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph.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.001761/0.001761, allocations: 111.1 kB / 20.44 MB, free: 1.062 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.002127/0.002127, allocations: 214.3 kB / 23.73 MB, free: 4.16 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.438/1.438, allocations: 230.6 MB / 257.5 MB, free: 7.82 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2321/0.2321, allocations: 44.94 MB / 358.9 MB, free: 6.066 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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(ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Media_TestAllProperties_IncompleteMedia_WaterIF97_ph",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Media_TestAllProperties_IncompleteMedia_WaterIF97_ph",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: ModelicaTest requested package Modelica of version 4.0.0. Modelica 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.002214/0.002214, allocations: 67.89 kB / 0.4931 GB, free: 10.51 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3465/0.3487, allocations: 65.47 MB / 0.557 GB, free: 7.348 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph): time 0.01966/0.3684, allocations: 12.71 MB / 0.5694 GB, free: 10.78 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.03892/0.4073, allocations: 23.38 MB / 0.5923 GB, free: 3.32 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003035/0.4076, allocations: 0 / 0.5923 GB, free: 3.32 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004836/0.4081, allocations: 91.36 kB / 0.5923 GB, free: 3.23 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.02905/0.4371, allocations: 8.506 MB / 0.6006 GB, free: 10.72 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001182/0.4383, allocations: 346.7 kB / 0.601 GB, free: 10.39 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.00455/0.4429, allocations: 2.013 MB / 0.6029 GB, free: 8.352 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.309e-05/0.443, allocations: 16.59 kB / 0.603 GB, free: 8.332 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006422/0.4436, allocations: 254.9 kB / 0.6032 GB, free: 8.082 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007667/0.4513, allocations: 3.274 MB / 0.6064 GB, free: 4.754 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 8.704e-05/0.4513, allocations: 12 kB / 0.6064 GB, free: 4.742 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02277/0.4741, allocations: 10.32 MB / 0.6165 GB, free: 10.4 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000132/0.4743, allocations: 55.73 kB / 0.6165 GB, free: 10.35 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001979/0.4745, allocations: 123.5 kB / 0.6167 GB, free: 10.23 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01709/0.4915, allocations: 6.329 MB / 0.6228 GB, free: 3.883 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.52e-06/0.4916, allocations: 0 / 0.6228 GB, free: 3.883 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.974e-06/0.4916, allocations: 0 / 0.6228 GB, free: 3.883 MB / 462.1 MB Notification: Performance of Transformations before backend: time 8.355e-06/0.4916, allocations: 4 kB / 0.6229 GB, free: 3.879 MB / 462.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 77 * Number of variables: 77 Notification: Performance of Generate backend data structure: time 0.005034/0.4966, allocations: 1.525 MB / 0.6243 GB, free: 2.316 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.461e-05/0.4966, allocations: 8.031 kB / 0.6243 GB, free: 2.309 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.972e-05/0.4967, allocations: 74.72 kB / 0.6244 GB, free: 2.227 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001716/0.4984, allocations: 216.5 kB / 0.6246 GB, free: 2.016 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004108/0.4988, allocations: 222.1 kB / 0.6248 GB, free: 1.773 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.991e-05/0.4989, allocations: 25.03 kB / 0.6249 GB, free: 1.75 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.195e-05/0.4989, allocations: 35.92 kB / 0.6249 GB, free: 1.715 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002511/0.5015, allocations: 0.8714 MB / 0.6257 GB, free: 0.7852 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.391e-05/0.5015, allocations: 4 kB / 0.6257 GB, free: 0.7812 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.406e-05/0.5015, allocations: 16 kB / 0.6258 GB, free: 0.7656 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.303e-05/0.5015, allocations: 12 kB / 0.6258 GB, free: 0.7539 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002645/0.5042, allocations: 0.9195 MB / 0.6267 GB, free: 15.84 MB / 478.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.003644/0.5078, allocations: 2.006 MB / 0.6286 GB, free: 13.75 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001458/0.5093, allocations: 378.1 kB / 0.629 GB, free: 13.37 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001676/0.5094, allocations: 68.81 kB / 0.6291 GB, free: 13.3 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.8958/1.405, allocations: 161 MB / 0.7863 GB, free: 127.3 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001426/1.407, allocations: 467.3 kB / 0.7868 GB, free: 126.8 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=32): time 2.766e-06/1.407, allocations: 0 / 0.7868 GB, free: 126.8 MB / 0.5606 GB Notification: Performance of matching and sorting (n=32): time 0.002949/1.41, allocations: 0.784 MB / 0.7875 GB, free: 126 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.023e-05/1.41, allocations: 375.8 kB / 0.7879 GB, free: 125.6 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001588/1.41, allocations: 190.6 kB / 0.7881 GB, free: 125.4 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 4.139e-05/1.41, allocations: 33.7 kB / 0.7881 GB, free: 125.4 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 8.367e-05/1.41, allocations: 188.2 kB / 0.7883 GB, free: 125.2 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 7.846e-05/1.41, allocations: 118.6 kB / 0.7884 GB, free: 125.1 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001239/1.41, allocations: 130 kB / 0.7885 GB, free: 124.9 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 5.761e-05/1.41, allocations: 335 kB / 0.7888 GB, free: 124.6 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001867/1.41, allocations: 88.92 kB / 0.7889 GB, free: 124.5 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002723/1.411, allocations: 340.1 kB / 0.7893 GB, free: 124.1 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005393/1.411, allocations: 483.7 kB / 0.7897 GB, free: 123.5 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.185e-06/1.411, allocations: 0 / 0.7897 GB, free: 123.5 MB / 0.5606 GB Notification: Performance of matching and sorting (n=58) (initialization): time 0.0008392/1.412, allocations: 469.3 kB / 0.7902 GB, free: 123 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.907e-05/1.412, allocations: 8 kB / 0.7902 GB, free: 123 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.232e-05/1.412, allocations: 8 kB / 0.7902 GB, free: 123 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.689e-05/1.412, allocations: 15.98 kB / 0.7902 GB, free: 123 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003893/1.413, allocations: 135.8 kB / 0.7903 GB, free: 122.8 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.712e-05/1.413, allocations: 19.92 kB / 0.7903 GB, free: 122.8 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003081/1.413, allocations: 60.22 kB / 0.7904 GB, free: 122.8 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.878e-05/1.413, allocations: 51.97 kB / 0.7904 GB, free: 122.7 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 41 * Number of states: 0 () * Number of discrete variables: 8 ($whenCondition1,medium.phase,state.phase,state_h_is.phase,state5.phase,state4.phase,state3.phase,state2.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (58): * Single equations (assignments): 58 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001484/1.413, allocations: 160.7 kB / 0.7906 GB, free: 122.6 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.725e-05/1.413, allocations: 27.86 kB / 0.7906 GB, free: 122.5 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002158/1.415, allocations: 2.835 MB / 0.7934 GB, free: 119.8 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.064e-05/1.415, allocations: 15.98 kB / 0.7934 GB, free: 119.8 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.426e-06/1.415, allocations: 7.984 kB / 0.7934 GB, free: 119.8 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.384e-06/1.415, allocations: 4 kB / 0.7934 GB, free: 119.8 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008006/1.416, allocations: 0.915 MB / 0.7943 GB, free: 118.8 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.512e-06/1.416, allocations: 4 kB / 0.7943 GB, free: 118.8 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002929/1.416, allocations: 80.19 kB / 0.7944 GB, free: 118.8 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.262e-06/1.416, allocations: 4 kB / 0.7944 GB, free: 118.8 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.278e-05/1.416, allocations: 15.98 kB / 0.7944 GB, free: 118.7 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.779e-06/1.416, allocations: 4 kB / 0.7944 GB, free: 118.7 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.817e-06/1.416, allocations: 4 kB / 0.7944 GB, free: 118.7 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008975/1.417, allocations: 0.7242 MB / 0.7951 GB, free: 118 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 7.65e-05/1.417, allocations: 47.58 kB / 0.7952 GB, free: 117.9 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001318/1.418, allocations: 107 kB / 0.7953 GB, free: 117.8 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003067/1.418, allocations: 19.98 kB / 0.7953 GB, free: 117.8 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.137e-05/1.418, allocations: 35.83 kB / 0.7953 GB, free: 117.8 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.206e-05/1.418, allocations: 19.98 kB / 0.7953 GB, free: 117.7 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0004732/1.418, allocations: 0.504 MB / 0.7958 GB, free: 117.2 MB / 0.5606 GB Notification: Performance of sort global known variables: time 8.1e-08/1.418, allocations: 3.938 kB / 0.7958 GB, free: 117.2 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.003579/1.422, allocations: 1.528 MB / 0.7973 GB, free: 115.7 MB / 0.5606 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 10 ($cse15.phase,$cse15.region,$cse18.phase,$cse18.region,$cse19.phase,$cse19.region,$cse21.phase,$cse21.region,$whenCondition1,medium.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (36): * Single equations (assignments): 32 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 0 * 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.008112/1.43, allocations: 2.914 MB / 0.8002 GB, free: 112.9 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0008303/1.431, allocations: 420.3 kB / 0.8006 GB, free: 112.5 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 6.763e-06/1.431, allocations: 0 / 0.8006 GB, free: 112.5 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0003221/1.431, allocations: 235.2 kB / 0.8008 GB, free: 112.2 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008809/1.432, allocations: 136.9 kB / 0.8009 GB, free: 112.1 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 1.346/2.778, allocations: 0.6073 GB / 1.408 GB, free: 34.57 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002826/2.778, allocations: 399.2 kB / 1.409 GB, free: 34.14 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.000738/2.779, allocations: 0.5215 MB / 1.409 GB, free: 33.64 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000366/2.779, allocations: 339.3 kB / 1.409 GB, free: 33.3 MB / 0.6231 GB Notification: Performance of SimCode: time 9.12e-07/2.779, allocations: 0 / 1.409 GB, free: 33.3 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4107/3.19, allocations: 64.65 MB / 1.473 GB, free: 191.9 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.48/18.67, allocations: 19.97 kB / 1.473 GB, free: 191.9 MB / 0.6231 GB " [Timeout remaining time 641] (rm -f ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Media_TestAllProperties_IncompleteMedia_WaterIF97_ph_fmu --startTime=0 --stopTime=0.1 --stepSize=1.9992e-05 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Media_TestAllProperties_IncompleteMedia_WaterIF97_ph.fmu > ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestAllProperties/IncompleteMedia/WaterIF97_ph/WaterIF97_ph.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph.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: 22.137016375083476]