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.001325/0.001325, allocations: 120.2 kB / 18.49 MB, free: 4.559 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.001433/0.001433, allocations: 214.2 kB / 21.46 MB, free: 1.605 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.444/1.444, allocations: 230.4 MB / 254.7 MB, free: 15.02 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.2213/0.2213, allocations: 46.92 MB / 357.7 MB, free: 10.17 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.00219/0.00219, allocations: 83.88 kB / 0.4917 GB, free: 7.648 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1303/0.1325, allocations: 66.05 MB / 0.5562 GB, free: 5.473 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph): time 0.01891/0.1514, allocations: 13.98 MB / 0.5699 GB, free: 7.422 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.2932/0.4446, allocations: 26.67 MB / 0.5959 GB, free: 3.695 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002096/0.4448, allocations: 0.8438 kB / 0.5959 GB, free: 3.695 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003795/0.4452, allocations: 99.88 kB / 0.596 GB, free: 3.695 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.02483/0.47, allocations: 8.548 MB / 0.6043 GB, free: 3.598 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001008/0.4711, allocations: 344.3 kB / 0.6047 GB, free: 3.59 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.004368/0.4754, allocations: 2.01 MB / 0.6066 GB, free: 3.012 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.807e-05/0.4755, allocations: 12.91 kB / 0.6066 GB, free: 3.012 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005173/0.476, allocations: 275.8 kB / 0.6069 GB, free: 2.973 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006067/0.4821, allocations: 3.275 MB / 0.6101 GB, free: 2.012 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 6.746e-05/0.4821, allocations: 10.78 kB / 0.6101 GB, free: 2.012 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02173/0.5039, allocations: 10.85 MB / 0.6207 GB, free: 15.95 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001184/0.504, allocations: 53 kB / 0.6208 GB, free: 15.93 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002808/0.5043, allocations: 137.9 kB / 0.6209 GB, free: 15.89 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02329/0.5276, allocations: 6.338 MB / 0.6271 GB, free: 12.3 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.139e-06/0.5276, allocations: 0 / 0.6271 GB, free: 12.3 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.523e-06/0.5276, allocations: 0 / 0.6271 GB, free: 12.3 MB / 462.1 MB Notification: Performance of Transformations before backend: time 8.696e-06/0.5276, allocations: 0 / 0.6271 GB, free: 12.3 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.006634/0.5342, allocations: 1.614 MB / 0.6287 GB, free: 11.16 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.191e-05/0.5343, allocations: 8 kB / 0.6287 GB, free: 11.16 MB / 462.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.349e-05/0.5343, allocations: 13.06 kB / 0.6287 GB, free: 11.16 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.578e-05/0.5344, allocations: 72.22 kB / 0.6288 GB, free: 11.09 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001684/0.536, allocations: 219 kB / 0.629 GB, free: 11 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000399/0.5364, allocations: 281.7 kB / 0.6292 GB, free: 10.71 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.984e-05/0.5365, allocations: 25.69 kB / 0.6293 GB, free: 10.7 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.291e-05/0.5365, allocations: 33.97 kB / 0.6293 GB, free: 10.68 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002399/0.5389, allocations: 0.8202 MB / 0.6301 GB, free: 10.16 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.352e-05/0.5389, allocations: 4 kB / 0.6301 GB, free: 10.15 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.8e-05/0.539, allocations: 23.62 kB / 0.6301 GB, free: 10.14 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.024e-05/0.539, allocations: 10.03 kB / 0.6301 GB, free: 10.14 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002368/0.5414, allocations: 0.9264 MB / 0.631 GB, free: 9.711 MB / 462.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.003492/0.5449, allocations: 2.578 MB / 0.6335 GB, free: 7.348 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001374/0.5462, allocations: 363.9 kB / 0.6339 GB, free: 7.16 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001522/0.5464, allocations: 73.19 kB / 0.634 GB, free: 7.121 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.9093/1.456, allocations: 241.3 MB / 0.8696 GB, free: 255.9 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001544/1.457, allocations: 483 kB / 0.87 GB, free: 255.6 MB / 0.67 GB Notification: Performance of pre-optimization done (n=32): time 4.699e-06/1.457, allocations: 0 / 0.87 GB, free: 255.6 MB / 0.67 GB Notification: Performance of matching and sorting (n=32): time 0.003099/1.46, allocations: 0.7777 MB / 0.8708 GB, free: 255.3 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.279e-05/1.46, allocations: 376.6 kB / 0.8711 GB, free: 254.9 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001536/1.461, allocations: 184.1 kB / 0.8713 GB, free: 254.8 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 3.674e-05/1.461, allocations: 38.77 kB / 0.8714 GB, free: 254.7 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 7.689e-05/1.461, allocations: 189.5 kB / 0.8715 GB, free: 254.6 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 7.599e-05/1.461, allocations: 118.5 kB / 0.8716 GB, free: 254.5 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001626/1.461, allocations: 125.1 kB / 0.8718 GB, free: 254.5 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 6.47e-05/1.461, allocations: 330.8 kB / 0.8721 GB, free: 254.2 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002062/1.461, allocations: 88.17 kB / 0.8722 GB, free: 254.1 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003157/1.462, allocations: 343.4 kB / 0.8725 GB, free: 253.8 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005873/1.462, allocations: 478.2 kB / 0.8729 GB, free: 253.4 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.801e-06/1.462, allocations: 6.375 kB / 0.873 GB, free: 253.4 MB / 0.67 GB Notification: Performance of matching and sorting (n=58) (initialization): time 0.0008801/1.463, allocations: 472.6 kB / 0.8734 GB, free: 253.2 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 2.172e-05/1.463, allocations: 12.17 kB / 0.8734 GB, free: 253.2 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.514e-05/1.463, allocations: 10.42 kB / 0.8734 GB, free: 253.2 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.882e-05/1.463, allocations: 16.56 kB / 0.8734 GB, free: 253.2 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000444/1.463, allocations: 136.7 kB / 0.8736 GB, free: 253.2 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.316e-05/1.464, allocations: 20.27 kB / 0.8736 GB, free: 253.2 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003151/1.464, allocations: 48.17 kB / 0.8736 GB, free: 253.2 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.644e-05/1.464, allocations: 46.97 kB / 0.8737 GB, free: 253.2 MB / 0.67 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.0001557/1.464, allocations: 162.4 kB / 0.8738 GB, free: 253 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000101/1.464, allocations: 27.23 kB / 0.8739 GB, free: 253 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002245/1.466, allocations: 2.616 MB / 0.8764 GB, free: 251.7 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.921e-05/1.466, allocations: 20.52 kB / 0.8764 GB, free: 251.7 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.913e-06/1.466, allocations: 10.16 kB / 0.8764 GB, free: 251.7 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.674e-06/1.466, allocations: 3.938 kB / 0.8765 GB, free: 251.7 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007234/1.467, allocations: 0.9306 MB / 0.8774 GB, free: 251.1 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.068e-06/1.467, allocations: 3.75 kB / 0.8774 GB, free: 251.1 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002953/1.467, allocations: 70.81 kB / 0.8774 GB, free: 251.1 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.19e-06/1.467, allocations: 7.938 kB / 0.8774 GB, free: 251 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.462e-05/1.467, allocations: 23.33 kB / 0.8775 GB, free: 251 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.419e-06/1.467, allocations: 4.844 kB / 0.8775 GB, free: 251 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.625e-06/1.467, allocations: 3.781 kB / 0.8775 GB, free: 251 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007989/1.468, allocations: 0.7016 MB / 0.8782 GB, free: 250.6 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 5.682e-05/1.468, allocations: 132.8 kB / 0.8783 GB, free: 250.4 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001039/1.468, allocations: 107.2 kB / 0.8784 GB, free: 250.4 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002915/1.469, allocations: 15.86 kB / 0.8784 GB, free: 250.4 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.718e-05/1.469, allocations: 31.61 kB / 0.8784 GB, free: 250.4 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.146e-05/1.469, allocations: 15.88 kB / 0.8784 GB, free: 250.4 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.000457/1.469, allocations: 0.5084 MB / 0.8789 GB, free: 250.1 MB / 0.67 GB Notification: Performance of sort global known variables: time 8e-08/1.469, allocations: 0 / 0.8789 GB, free: 250.1 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.005209/1.474, allocations: 1.532 MB / 0.8804 GB, free: 249.8 MB / 0.67 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.008584/1.483, allocations: 2.895 MB / 0.8833 GB, free: 247.2 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.0007888/1.484, allocations: 416.5 kB / 0.8837 GB, free: 246.8 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 5.149e-06/1.484, allocations: 0.6875 kB / 0.8837 GB, free: 246.8 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.000269/1.484, allocations: 224.7 kB / 0.8839 GB, free: 246.6 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008511/1.485, allocations: 128.2 kB / 0.884 GB, free: 246.4 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 1.217/2.702, allocations: 0.6073 GB / 1.491 GB, free: 105.8 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002907/2.703, allocations: 0.9856 MB / 1.492 GB, free: 104.8 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.0005953/2.703, allocations: 0.5296 MB / 1.493 GB, free: 104.3 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003157/2.704, allocations: 339.3 kB / 1.493 GB, free: 104 MB / 0.67 GB Notification: Performance of SimCode: time 1.664e-06/2.704, allocations: 0 / 1.493 GB, free: 104 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3538/3.057, allocations: 63.58 MB / 1.555 GB, free: 264.7 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.98/16.03, allocations: 5.25 kB / 1.555 GB, free: 264.7 MB / 0.67 GB " [Timeout remaining time 644] (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: 19.792339042003732]