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.001515/0.001515, allocations: 109.1 kB / 21.22 MB, free: 0.7539 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.001682/0.001682, allocations: 216.9 kB / 24.53 MB, free: 4.012 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.413/1.413, allocations: 230.5 MB / 258.2 MB, free: 7.992 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.2227/0.2227, allocations: 46.92 MB / 361.6 MB, free: 4.18 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.002345/0.002345, allocations: 79.88 kB / 0.497 GB, free: 7.707 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3419/0.3442, allocations: 66.09 MB / 0.5616 GB, free: 4.289 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph): time 0.01966/0.3639, allocations: 14.04 MB / 0.5753 GB, free: 6.199 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.0334/0.3972, allocations: 26.78 MB / 0.6014 GB, free: 11.33 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002557/0.3975, allocations: 0 / 0.6014 GB, free: 11.33 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004746/0.398, allocations: 95.39 kB / 0.6015 GB, free: 11.23 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.02402/0.422, allocations: 8.561 MB / 0.6099 GB, free: 2.672 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009437/0.4229, allocations: 353.5 kB / 0.6102 GB, free: 2.332 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.004233/0.4272, allocations: 2.017 MB / 0.6122 GB, free: 296 kB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.851e-05/0.4272, allocations: 8.594 kB / 0.6122 GB, free: 284 kB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005498/0.4278, allocations: 278.8 kB / 0.6124 GB, free: 4 kB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006644/0.4344, allocations: 3.281 MB / 0.6156 GB, free: 12.66 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 5.747e-05/0.4345, allocations: 11.98 kB / 0.6157 GB, free: 12.65 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02158/0.4561, allocations: 10.86 MB / 0.6263 GB, free: 1.777 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001044/0.4562, allocations: 47.77 kB / 0.6263 GB, free: 1.73 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002159/0.4564, allocations: 139.3 kB / 0.6264 GB, free: 1.594 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01401/0.4704, allocations: 6.337 MB / 0.6326 GB, free: 11.24 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.062e-06/0.4704, allocations: 0 / 0.6326 GB, free: 11.24 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.743e-06/0.4704, allocations: 0 / 0.6326 GB, free: 11.24 MB / 478.1 MB Notification: Performance of Transformations before backend: time 1.819e-05/0.4704, allocations: 0 / 0.6326 GB, free: 11.24 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.0049/0.4753, allocations: 1.544 MB / 0.6341 GB, free: 9.66 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.986e-05/0.4754, allocations: 8.031 kB / 0.6342 GB, free: 9.652 MB / 478.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.247e-05/0.4754, allocations: 8.844 kB / 0.6342 GB, free: 9.645 MB / 478.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.569e-05/0.4755, allocations: 70.72 kB / 0.6342 GB, free: 9.566 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00184/0.4773, allocations: 224.5 kB / 0.6344 GB, free: 9.348 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003793/0.4777, allocations: 218.1 kB / 0.6346 GB, free: 9.109 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.457e-05/0.4777, allocations: 28.78 kB / 0.6347 GB, free: 9.082 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.889e-05/0.4778, allocations: 31.94 kB / 0.6347 GB, free: 9.051 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002553/0.4804, allocations: 0.8174 MB / 0.6355 GB, free: 8.188 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.351e-05/0.4804, allocations: 0 / 0.6355 GB, free: 8.188 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.99e-05/0.4804, allocations: 20 kB / 0.6355 GB, free: 8.168 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.557e-05/0.4804, allocations: 8 kB / 0.6355 GB, free: 8.16 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002638/0.4831, allocations: 0.9351 MB / 0.6364 GB, free: 7.227 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.00343/0.4865, allocations: 2.3 MB / 0.6387 GB, free: 4.781 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001407/0.4879, allocations: 378.1 kB / 0.6391 GB, free: 4.402 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000167/0.4881, allocations: 68.83 kB / 0.6391 GB, free: 4.332 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.7906/1.279, allocations: 160.4 MB / 0.7957 GB, free: 116.1 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00138/1.28, allocations: 482.8 kB / 0.7962 GB, free: 115.6 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=32): time 3.196e-06/1.28, allocations: 3.844 kB / 0.7962 GB, free: 115.6 MB / 0.5606 GB Notification: Performance of matching and sorting (n=32): time 0.002998/1.283, allocations: 0.7742 MB / 0.797 GB, free: 114.9 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.308e-05/1.283, allocations: 379.7 kB / 0.7973 GB, free: 114.4 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001602/1.283, allocations: 180.2 kB / 0.7975 GB, free: 114.2 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 4.597e-05/1.283, allocations: 33.7 kB / 0.7975 GB, free: 114.2 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 8.917e-05/1.283, allocations: 196.4 kB / 0.7977 GB, free: 114 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 8.192e-05/1.284, allocations: 110.1 kB / 0.7978 GB, free: 113.9 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001469/1.284, allocations: 133.9 kB / 0.798 GB, free: 113.8 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 6.243e-05/1.284, allocations: 334.8 kB / 0.7983 GB, free: 113.4 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001973/1.284, allocations: 80.94 kB / 0.7983 GB, free: 113.4 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002715/1.284, allocations: 344.1 kB / 0.7987 GB, free: 112.9 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005199/1.285, allocations: 484.4 kB / 0.7991 GB, free: 112.3 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.1e-06/1.285, allocations: 0 / 0.7991 GB, free: 112.3 MB / 0.5606 GB Notification: Performance of matching and sorting (n=58) (initialization): time 0.0008305/1.286, allocations: 473 kB / 0.7996 GB, free: 111.8 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.802e-05/1.286, allocations: 12 kB / 0.7996 GB, free: 111.8 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.158e-05/1.286, allocations: 8 kB / 0.7996 GB, free: 111.8 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.1e-05/1.286, allocations: 12 kB / 0.7996 GB, free: 111.8 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004082/1.286, allocations: 140.4 kB / 0.7998 GB, free: 111.7 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.642e-05/1.286, allocations: 15.94 kB / 0.7998 GB, free: 111.6 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000322/1.286, allocations: 59.06 kB / 0.7998 GB, free: 111.6 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.993e-05/1.286, allocations: 43.97 kB / 0.7999 GB, free: 111.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.0001945/1.287, allocations: 166.1 kB / 0.8 GB, free: 111.4 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001204/1.287, allocations: 30.97 kB / 0.8001 GB, free: 111.4 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002384/1.289, allocations: 2.756 MB / 0.8027 GB, free: 108.6 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.274e-05/1.289, allocations: 23.97 kB / 0.8028 GB, free: 108.6 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.057e-06/1.289, allocations: 4 kB / 0.8028 GB, free: 108.6 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.147e-06/1.289, allocations: 0 / 0.8028 GB, free: 108.6 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009388/1.29, allocations: 0.9369 MB / 0.8037 GB, free: 107.7 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.183e-06/1.29, allocations: 0 / 0.8037 GB, free: 107.7 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003015/1.29, allocations: 75.88 kB / 0.8038 GB, free: 107.6 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.752e-06/1.29, allocations: 4 kB / 0.8038 GB, free: 107.6 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.601e-05/1.29, allocations: 11.98 kB / 0.8038 GB, free: 107.6 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.69e-06/1.29, allocations: 11.94 kB / 0.8038 GB, free: 107.6 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.069e-06/1.29, allocations: 7.938 kB / 0.8038 GB, free: 107.6 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001028/1.291, allocations: 0.7204 MB / 0.8045 GB, free: 106.8 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001029/1.292, allocations: 51.8 kB / 0.8045 GB, free: 106.8 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001759/1.292, allocations: 103 kB / 0.8046 GB, free: 106.7 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003324/1.292, allocations: 19.98 kB / 0.8047 GB, free: 106.6 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.878e-05/1.292, allocations: 35.64 kB / 0.8047 GB, free: 106.6 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.796e-05/1.292, allocations: 19.98 kB / 0.8047 GB, free: 106.6 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0005368/1.293, allocations: 0.5078 MB / 0.8052 GB, free: 106.1 MB / 0.5606 GB Notification: Performance of sort global known variables: time 7e-08/1.293, allocations: 0 / 0.8052 GB, free: 106.1 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0053/1.298, allocations: 1.528 MB / 0.8067 GB, free: 104.5 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.007241/1.305, allocations: 2.92 MB / 0.8096 GB, free: 101.7 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0007017/1.306, allocations: 412.3 kB / 0.81 GB, free: 101.3 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 4.128e-06/1.306, allocations: 4 kB / 0.81 GB, free: 101.3 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0002527/1.306, allocations: 230.7 kB / 0.8102 GB, free: 101.1 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000781/1.307, allocations: 135.1 kB / 0.8103 GB, free: 101 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 1.162/2.469, allocations: 0.6073 GB / 1.418 GB, free: 65.78 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002817/2.469, allocations: 0.9856 MB / 1.419 GB, free: 64.77 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.0005669/2.47, allocations: 0.526 MB / 1.419 GB, free: 64.25 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003132/2.47, allocations: 339.3 kB / 1.419 GB, free: 63.92 MB / 0.6387 GB Notification: Performance of SimCode: time 1.242e-06/2.47, allocations: 0 / 1.419 GB, free: 63.92 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3154/2.785, allocations: 64.25 MB / 1.482 GB, free: 244.8 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.74/18.52, allocations: 5.344 kB / 1.482 GB, free: 244.8 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.21228884003358]