Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001392/0.001392, allocations: 119.1 kB / 20.45 MB, free: 1.176 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001457/0.001457, allocations: 204.3 kB / 23.72 MB, free: 4.391 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.43/1.43, allocations: 230.5 MB / 257.4 MB, free: 7.754 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2182/0.2182, allocations: 46.95 MB / 360.8 MB, free: 3.91 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) 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(ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Media_TestAllProperties_IncompleteMedia_WaterIF97_ph",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Media_TestAllProperties_IncompleteMedia_WaterIF97_ph",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002417/0.002417, allocations: 83.88 kB / 0.4962 GB, free: 7.488 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.308/0.3104, allocations: 66.09 MB / 0.5607 GB, free: 3.859 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph): time 0.01668/0.3271, allocations: 12.7 MB / 0.5732 GB, free: 7.105 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.03199/0.359, allocations: 23.37 MB / 0.596 GB, free: 15.65 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002405/0.3593, allocations: 4 kB / 0.596 GB, free: 15.65 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004108/0.3597, allocations: 83.44 kB / 0.5961 GB, free: 15.57 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.02429/0.384, allocations: 8.503 MB / 0.6044 GB, free: 7.062 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009696/0.385, allocations: 361.3 kB / 0.6047 GB, free: 6.715 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.004173/0.3891, allocations: 2.006 MB / 0.6067 GB, free: 4.684 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.907e-05/0.3892, allocations: 12.59 kB / 0.6067 GB, free: 4.668 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005191/0.3897, allocations: 270.8 kB / 0.6069 GB, free: 4.402 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006383/0.3961, allocations: 3.266 MB / 0.6101 GB, free: 1.082 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 5.729e-05/0.3962, allocations: 15.94 kB / 0.6101 GB, free: 1.066 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02064/0.4168, allocations: 10.32 MB / 0.6202 GB, free: 6.727 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001044/0.4169, allocations: 51.83 kB / 0.6203 GB, free: 6.676 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002073/0.4171, allocations: 123.5 kB / 0.6204 GB, free: 6.555 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01567/0.4328, allocations: 6.329 MB / 0.6266 GB, free: 216 kB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.773e-06/0.4328, allocations: 3.938 kB / 0.6266 GB, free: 212 kB / 462.1 MB Notification: Performance of FrontEnd: time 1.924e-06/0.4328, allocations: 0 / 0.6266 GB, free: 212 kB / 462.1 MB Notification: Performance of Transformations before backend: time 8.776e-06/0.4328, allocations: 0 / 0.6266 GB, free: 212 kB / 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.004728/0.4375, allocations: 1.529 MB / 0.6281 GB, free: 14.64 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.387e-05/0.4376, allocations: 8.031 kB / 0.6281 GB, free: 14.63 MB / 478.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9e-05/0.4377, allocations: 70.72 kB / 0.6281 GB, free: 14.55 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00165/0.4393, allocations: 224.5 kB / 0.6284 GB, free: 14.34 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000387/0.4397, allocations: 214.2 kB / 0.6286 GB, free: 14.1 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.27e-05/0.4397, allocations: 21.03 kB / 0.6286 GB, free: 14.08 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.734e-05/0.4398, allocations: 39.94 kB / 0.6286 GB, free: 14.04 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002455/0.4422, allocations: 0.8753 MB / 0.6295 GB, free: 13.11 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.323e-05/0.4423, allocations: 0 / 0.6295 GB, free: 13.11 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.074e-05/0.4423, allocations: 16 kB / 0.6295 GB, free: 13.09 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.246e-05/0.4423, allocations: 8 kB / 0.6295 GB, free: 13.09 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002561/0.4449, allocations: 0.9273 MB / 0.6304 GB, free: 12.16 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.003323/0.4482, allocations: 2.002 MB / 0.6324 GB, free: 10.07 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001465/0.4497, allocations: 378.1 kB / 0.6327 GB, free: 9.695 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001652/0.4498, allocations: 68.83 kB / 0.6328 GB, free: 9.625 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.8079/1.258, allocations: 161 MB / 0.79 GB, free: 120.3 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001266/1.259, allocations: 473.1 kB / 0.7905 GB, free: 119.8 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=32): time 2.054e-06/1.259, allocations: 4 kB / 0.7905 GB, free: 119.8 MB / 0.5606 GB Notification: Performance of matching and sorting (n=32): time 0.0027/1.262, allocations: 0.7775 MB / 0.7913 GB, free: 119.1 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.016e-05/1.262, allocations: 376 kB / 0.7916 GB, free: 118.6 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001224/1.262, allocations: 194.6 kB / 0.7918 GB, free: 118.4 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 3.034e-05/1.262, allocations: 37.7 kB / 0.7918 GB, free: 118.4 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 6.222e-05/1.262, allocations: 190.3 kB / 0.792 GB, free: 118.2 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 6.008e-05/1.262, allocations: 118.3 kB / 0.7921 GB, free: 118.1 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001098/1.262, allocations: 126.1 kB / 0.7923 GB, free: 118 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 4.777e-05/1.262, allocations: 334.8 kB / 0.7926 GB, free: 117.6 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001747/1.262, allocations: 80.94 kB / 0.7926 GB, free: 117.6 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002504/1.263, allocations: 340.1 kB / 0.793 GB, free: 117.1 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000484/1.263, allocations: 486.3 kB / 0.7934 GB, free: 116.5 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.687e-06/1.263, allocations: 3.938 kB / 0.7934 GB, free: 116.5 MB / 0.5606 GB Notification: Performance of matching and sorting (n=58) (initialization): time 0.000766/1.264, allocations: 469.5 kB / 0.7939 GB, free: 116 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.788e-05/1.264, allocations: 8.188 kB / 0.7939 GB, free: 116 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.547e-06/1.264, allocations: 12 kB / 0.7939 GB, free: 116 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.21e-05/1.264, allocations: 12 kB / 0.7939 GB, free: 116 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003838/1.264, allocations: 139.8 kB / 0.7941 GB, free: 115.9 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.328e-05/1.264, allocations: 19.94 kB / 0.7941 GB, free: 115.9 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002819/1.265, allocations: 52.61 kB / 0.7941 GB, free: 115.8 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.387e-05/1.265, allocations: 43.97 kB / 0.7942 GB, free: 115.8 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.0001238/1.265, allocations: 164.6 kB / 0.7943 GB, free: 115.6 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.341e-05/1.265, allocations: 38.78 kB / 0.7944 GB, free: 115.6 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001961/1.267, allocations: 2.832 MB / 0.7971 GB, free: 112.8 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.625e-05/1.267, allocations: 23.97 kB / 0.7971 GB, free: 112.8 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.51e-06/1.267, allocations: 0 / 0.7971 GB, free: 112.8 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.29e-06/1.267, allocations: 4 kB / 0.7972 GB, free: 112.8 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000693/1.268, allocations: 0.9128 MB / 0.798 GB, free: 111.9 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5e-06/1.268, allocations: 4 kB / 0.798 GB, free: 111.9 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000284/1.268, allocations: 75.86 kB / 0.7981 GB, free: 111.8 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.521e-06/1.268, allocations: 4 kB / 0.7981 GB, free: 111.8 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.126e-05/1.268, allocations: 12 kB / 0.7981 GB, free: 111.8 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.639e-06/1.268, allocations: 4 kB / 0.7981 GB, free: 111.8 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.867e-06/1.268, allocations: 7.938 kB / 0.7981 GB, free: 111.8 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000755/1.269, allocations: 0.7282 MB / 0.7989 GB, free: 111 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 4.601e-05/1.269, allocations: 51.56 kB / 0.7989 GB, free: 110.9 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001074/1.269, allocations: 110.9 kB / 0.799 GB, free: 110.8 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002817/1.269, allocations: 19.98 kB / 0.799 GB, free: 110.8 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.862e-05/1.269, allocations: 31.89 kB / 0.7991 GB, free: 110.8 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.923e-05/1.269, allocations: 12 kB / 0.7991 GB, free: 110.8 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0004371/1.27, allocations: 0.504 MB / 0.7996 GB, free: 110.2 MB / 0.5606 GB Notification: Performance of sort global known variables: time 8e-08/1.27, allocations: 11.59 kB / 0.7996 GB, free: 110.2 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.003414/1.273, allocations: 1.52 MB / 0.8011 GB, free: 108.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.00684/1.28, allocations: 2.924 MB / 0.8039 GB, free: 105.9 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0007733/1.281, allocations: 412.9 kB / 0.8043 GB, free: 105.5 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 4.588e-06/1.281, allocations: 0 / 0.8043 GB, free: 105.5 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0002746/1.281, allocations: 236.7 kB / 0.8045 GB, free: 105.2 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000833/1.282, allocations: 131.6 kB / 0.8047 GB, free: 105.1 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 1.167/2.449, allocations: 0.6073 GB / 1.412 GB, free: 68.84 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002131/2.449, allocations: 397.6 kB / 1.412 GB, free: 68.42 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.0005657/2.45, allocations: 0.5228 MB / 1.413 GB, free: 67.91 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002921/2.45, allocations: 343.3 kB / 1.413 GB, free: 67.58 MB / 0.6387 GB Notification: Performance of SimCode: time 8.41e-07/2.45, allocations: 0 / 1.413 GB, free: 67.58 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09037/2.54, allocations: 64.64 MB / 1.476 GB, free: 3.145 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 15/17.54, allocations: 11.77 kB / 1.476 GB, free: 3.137 MB / 0.6387 GB " [Timeout remaining time 642] (rm -f ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Media_TestAllProperties_IncompleteMedia_WaterIF97_ph_fmu --startTime=0 --stopTime=0.1 --stepSize=1.9992e-05 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Media_TestAllProperties_IncompleteMedia_WaterIF97_ph.fmu > ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Media/TestAllProperties/IncompleteMedia/WaterIF97_ph/WaterIF97_ph.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_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: 21.014801875688136]