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.001382/0.001382, allocations: 105.1 kB / 21.22 MB, free: 0.6289 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.001451/0.001451, allocations: 212.7 kB / 24.52 MB, free: 3.91 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.414/1.414, allocations: 230.5 MB / 258.2 MB, free: 7.793 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.2245/0.2245, allocations: 46.94 MB / 361.6 MB, free: 3.938 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Media_TestAllProperties_IncompleteMedia_WaterIF97_ph",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002196/0.002196, allocations: 79.88 kB / 0.497 GB, free: 7.52 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3319/0.3341, allocations: 66.08 MB / 0.5615 GB, free: 4.023 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph): time 0.01584/0.3499, allocations: 12.7 MB / 0.5739 GB, free: 7.277 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.02995/0.3799, allocations: 23.34 MB / 0.5967 GB, free: 15.86 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001894/0.3801, allocations: 0 / 0.5967 GB, free: 15.86 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003642/0.3804, allocations: 87.42 kB / 0.5968 GB, free: 15.77 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.02451/0.4049, allocations: 8.513 MB / 0.6051 GB, free: 7.254 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001032/0.406, allocations: 349.5 kB / 0.6054 GB, free: 6.918 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.004771/0.4108, allocations: 2.017 MB / 0.6074 GB, free: 4.875 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.995e-05/0.4108, allocations: 12.59 kB / 0.6074 GB, free: 4.859 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005588/0.4114, allocations: 262.8 kB / 0.6076 GB, free: 4.602 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007094/0.4185, allocations: 3.277 MB / 0.6108 GB, free: 1.27 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 5.016e-05/0.4185, allocations: 12 kB / 0.6109 GB, free: 1.258 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02132/0.4399, allocations: 10.76 MB / 0.6214 GB, free: 6.484 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000129/0.44, allocations: 55.73 kB / 0.6214 GB, free: 6.43 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002313/0.4402, allocations: 123.5 kB / 0.6215 GB, free: 6.309 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01548/0.4557, allocations: 6.329 MB / 0.6277 GB, free: 15.96 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.37e-06/0.4557, allocations: 0 / 0.6277 GB, free: 15.96 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.283e-06/0.4557, allocations: 4 kB / 0.6277 GB, free: 15.96 MB / 478.1 MB Notification: Performance of Transformations before backend: time 7.875e-06/0.4557, allocations: 0 / 0.6277 GB, free: 15.96 MB / 478.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.004258/0.46, allocations: 1.529 MB / 0.6292 GB, free: 14.39 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.006e-05/0.46, allocations: 8.031 kB / 0.6292 GB, free: 14.39 MB / 478.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.72e-05/0.46, allocations: 8.844 kB / 0.6292 GB, free: 14.38 MB / 478.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.824e-05/0.4601, allocations: 70.72 kB / 0.6293 GB, free: 14.3 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001727/0.4618, allocations: 228.5 kB / 0.6295 GB, free: 14.08 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003305/0.4622, allocations: 210.1 kB / 0.6297 GB, free: 13.85 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.908e-05/0.4622, allocations: 28.78 kB / 0.6297 GB, free: 13.82 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.482e-05/0.4623, allocations: 28 kB / 0.6298 GB, free: 13.79 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002502/0.4648, allocations: 0.8753 MB / 0.6306 GB, free: 12.86 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.365e-05/0.4648, allocations: 7.938 kB / 0.6306 GB, free: 12.85 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.629e-05/0.4648, allocations: 16 kB / 0.6306 GB, free: 12.84 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.02e-05/0.4648, allocations: 8 kB / 0.6307 GB, free: 12.83 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002611/0.4674, allocations: 0.9391 MB / 0.6316 GB, free: 11.89 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.00309/0.4705, allocations: 1.998 MB / 0.6335 GB, free: 9.809 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001462/0.472, allocations: 379.2 kB / 0.6339 GB, free: 9.434 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001628/0.4722, allocations: 68.81 kB / 0.6339 GB, free: 9.363 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.8139/1.286, allocations: 161 MB / 0.7912 GB, free: 120.2 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001356/1.287, allocations: 476.3 kB / 0.7917 GB, free: 119.7 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=32): time 3.266e-06/1.287, allocations: 3.609 kB / 0.7917 GB, free: 119.7 MB / 0.5606 GB Notification: Performance of matching and sorting (n=32): time 0.002864/1.29, allocations: 0.7803 MB / 0.7924 GB, free: 118.9 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.231e-05/1.29, allocations: 379.7 kB / 0.7928 GB, free: 118.4 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001184/1.29, allocations: 181.6 kB / 0.793 GB, free: 118.2 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 3.05e-05/1.291, allocations: 29.7 kB / 0.793 GB, free: 118.2 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 6.324e-05/1.291, allocations: 192.1 kB / 0.7932 GB, free: 118 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 6.307e-05/1.291, allocations: 118.9 kB / 0.7933 GB, free: 117.9 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001239/1.291, allocations: 126.1 kB / 0.7934 GB, free: 117.8 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 5.078e-05/1.291, allocations: 334.6 kB / 0.7937 GB, free: 117.5 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001845/1.291, allocations: 84.88 kB / 0.7938 GB, free: 117.4 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002709/1.291, allocations: 344.1 kB / 0.7941 GB, free: 116.9 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005069/1.292, allocations: 483.1 kB / 0.7946 GB, free: 116.3 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.398e-06/1.292, allocations: 4 kB / 0.7946 GB, free: 116.3 MB / 0.5606 GB Notification: Performance of matching and sorting (n=58) (initialization): time 0.0007817/1.293, allocations: 471.4 kB / 0.795 GB, free: 115.9 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.747e-05/1.293, allocations: 8 kB / 0.7951 GB, free: 115.9 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.679e-06/1.293, allocations: 8 kB / 0.7951 GB, free: 115.9 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.268e-05/1.293, allocations: 12.81 kB / 0.7951 GB, free: 115.8 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004094/1.293, allocations: 151.7 kB / 0.7952 GB, free: 115.7 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.343e-05/1.293, allocations: 15.94 kB / 0.7952 GB, free: 115.7 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000295/1.293, allocations: 53.08 kB / 0.7953 GB, free: 115.6 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.041e-05/1.293, allocations: 50.89 kB / 0.7953 GB, free: 115.6 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.0001274/1.294, allocations: 163.7 kB / 0.7955 GB, free: 115.4 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.812e-05/1.294, allocations: 27.86 kB / 0.7955 GB, free: 115.4 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001919/1.296, allocations: 2.748 MB / 0.7982 GB, free: 112.7 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.558e-05/1.296, allocations: 19.97 kB / 0.7982 GB, free: 112.7 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.452e-06/1.296, allocations: 8.312 kB / 0.7982 GB, free: 112.7 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.023e-06/1.296, allocations: 11.98 kB / 0.7982 GB, free: 112.6 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006226/1.296, allocations: 0.9147 MB / 0.7991 GB, free: 111.7 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.849e-06/1.296, allocations: 4 kB / 0.7991 GB, free: 111.7 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003136/1.296, allocations: 75.86 kB / 0.7992 GB, free: 111.7 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.751e-06/1.296, allocations: 4 kB / 0.7992 GB, free: 111.7 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.106e-05/1.297, allocations: 8 kB / 0.7992 GB, free: 111.7 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.179e-06/1.297, allocations: 11.92 kB / 0.7992 GB, free: 111.6 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.595e-06/1.297, allocations: 4 kB / 0.7992 GB, free: 111.6 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007748/1.297, allocations: 0.7204 MB / 0.7999 GB, free: 110.9 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 4.451e-05/1.297, allocations: 55.56 kB / 0.8 GB, free: 110.8 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001123/1.297, allocations: 111 kB / 0.8001 GB, free: 110.7 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003038/1.298, allocations: 15.98 kB / 0.8001 GB, free: 110.7 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.385e-05/1.298, allocations: 35.83 kB / 0.8001 GB, free: 110.6 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.26e-05/1.298, allocations: 16 kB / 0.8002 GB, free: 110.6 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0004432/1.298, allocations: 0.5001 MB / 0.8007 GB, free: 110.1 MB / 0.5606 GB Notification: Performance of sort global known variables: time 8e-08/1.298, allocations: 0 / 0.8007 GB, free: 110.1 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.003637/1.302, allocations: 1.532 MB / 0.8021 GB, free: 108.6 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.00628/1.308, allocations: 2.914 MB / 0.805 GB, free: 105.8 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0006663/1.309, allocations: 417.3 kB / 0.8054 GB, free: 105.4 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 3.827e-06/1.309, allocations: 4.188 kB / 0.8054 GB, free: 105.4 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0002504/1.309, allocations: 228.7 kB / 0.8056 GB, free: 105.1 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007648/1.31, allocations: 137.5 kB / 0.8057 GB, free: 105 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 1.185/2.494, allocations: 0.6073 GB / 1.413 GB, free: 69.25 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002133/2.495, allocations: 396.3 kB / 1.413 GB, free: 68.83 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.0005486/2.495, allocations: 0.5169 MB / 1.414 GB, free: 68.32 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003001/2.495, allocations: 335.3 kB / 1.414 GB, free: 68 MB / 0.6387 GB Notification: Performance of SimCode: time 7.02e-07/2.495, allocations: 0 / 1.414 GB, free: 68 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08066/2.576, allocations: 64.56 MB / 1.477 GB, free: 3.605 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 16.02/18.59, allocations: 8.062 kB / 1.477 GB, free: 3.598 MB / 0.6387 GB " [Timeout remaining time 641] (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: 22.479477246059105]