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.001578/0.001578, allocations: 118.7 kB / 18.5 MB, free: 4.602 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.00191/0.00191, allocations: 210.5 kB / 21.46 MB, free: 1.648 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.497/1.497, allocations: 230.2 MB / 254.5 MB, free: 15.23 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.2305/0.2305, allocations: 46.9 MB / 357.4 MB, free: 10.49 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.002185/0.002185, allocations: 79.86 kB / 0.4913 GB, free: 8.426 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1385/0.1407, allocations: 65.99 MB / 0.5557 GB, free: 6.309 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph): time 0.01827/0.159, allocations: 13.98 MB / 0.5694 GB, free: 8.258 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.3229/0.4818, allocations: 26.68 MB / 0.5954 GB, free: 3.664 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002374/0.4821, allocations: 3 kB / 0.5954 GB, free: 3.664 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003785/0.4825, allocations: 101.4 kB / 0.5955 GB, free: 3.664 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.02692/0.5094, allocations: 8.541 MB / 0.6039 GB, free: 3.578 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001101/0.5105, allocations: 351.7 kB / 0.6042 GB, free: 3.562 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.004616/0.5151, allocations: 2.01 MB / 0.6062 GB, free: 3.09 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.195e-05/0.5152, allocations: 12.45 kB / 0.6062 GB, free: 3.09 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005094/0.5157, allocations: 268.4 kB / 0.6064 GB, free: 3.055 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006406/0.5221, allocations: 3.279 MB / 0.6097 GB, free: 2.09 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 6.453e-05/0.5222, allocations: 10.84 kB / 0.6097 GB, free: 2.09 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02239/0.5445, allocations: 10.84 MB / 0.6203 GB, free: 56 kB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001149/0.5447, allocations: 48.16 kB / 0.6203 GB, free: 32 kB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003109/0.545, allocations: 147.8 kB / 0.6204 GB, free: 0 / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01609/0.5611, allocations: 6.342 MB / 0.6266 GB, free: 12.42 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.741e-06/0.5611, allocations: 2.875 kB / 0.6266 GB, free: 12.42 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.463e-06/0.5611, allocations: 0 / 0.6266 GB, free: 12.42 MB / 462.1 MB Notification: Performance of Transformations before backend: time 7.164e-06/0.5611, allocations: 0 / 0.6266 GB, free: 12.42 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.005095/0.5662, allocations: 1.605 MB / 0.6282 GB, free: 11.28 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.877e-05/0.5662, allocations: 7.969 kB / 0.6282 GB, free: 11.28 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.298e-05/0.5663, allocations: 69.72 kB / 0.6283 GB, free: 11.21 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001648/0.5679, allocations: 222.3 kB / 0.6285 GB, free: 11.12 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004618/0.5684, allocations: 279 kB / 0.6288 GB, free: 10.83 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.901e-05/0.5684, allocations: 24 kB / 0.6288 GB, free: 10.82 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.532e-05/0.5685, allocations: 39.53 kB / 0.6288 GB, free: 10.8 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002407/0.5709, allocations: 0.8195 MB / 0.6296 GB, free: 10.28 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.444e-05/0.5709, allocations: 3.844 kB / 0.6296 GB, free: 10.28 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.122e-05/0.571, allocations: 14.84 kB / 0.6296 GB, free: 10.27 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.139e-05/0.571, allocations: 7.562 kB / 0.6296 GB, free: 10.27 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002374/0.5733, allocations: 0.9407 MB / 0.6306 GB, free: 9.828 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.003379/0.5767, allocations: 2.568 MB / 0.6331 GB, free: 7.477 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001369/0.5781, allocations: 366.4 kB / 0.6334 GB, free: 7.285 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001548/0.5782, allocations: 73.31 kB / 0.6335 GB, free: 7.246 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.8912/1.469, allocations: 241.3 MB / 0.8691 GB, free: 256.6 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00145/1.471, allocations: 467 kB / 0.8695 GB, free: 256.3 MB / 0.67 GB Notification: Performance of pre-optimization done (n=32): time 2.525e-06/1.471, allocations: 0 / 0.8695 GB, free: 256.3 MB / 0.67 GB Notification: Performance of matching and sorting (n=32): time 0.002943/1.474, allocations: 0.7883 MB / 0.8703 GB, free: 256.1 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.991e-05/1.474, allocations: 371.7 kB / 0.8707 GB, free: 255.6 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001399/1.474, allocations: 186.7 kB / 0.8708 GB, free: 255.5 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 2.996e-05/1.474, allocations: 34.16 kB / 0.8709 GB, free: 255.5 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 7.412e-05/1.474, allocations: 191.2 kB / 0.8711 GB, free: 255.3 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 6.692e-05/1.474, allocations: 117.9 kB / 0.8712 GB, free: 255.2 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000146/1.474, allocations: 123.6 kB / 0.8713 GB, free: 255.2 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 5.908e-05/1.474, allocations: 331.1 kB / 0.8716 GB, free: 254.9 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000189/1.475, allocations: 82.09 kB / 0.8717 GB, free: 254.9 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002989/1.475, allocations: 348.8 kB / 0.872 GB, free: 254.5 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005104/1.475, allocations: 483.7 kB / 0.8725 GB, free: 254.1 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.931e-06/1.475, allocations: 3.75 kB / 0.8725 GB, free: 254.1 MB / 0.67 GB Notification: Performance of matching and sorting (n=58) (initialization): time 0.0008349/1.476, allocations: 472.7 kB / 0.8729 GB, free: 253.9 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 2.393e-05/1.476, allocations: 13.5 kB / 0.8729 GB, free: 253.9 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.585e-05/1.476, allocations: 9.594 kB / 0.8729 GB, free: 253.9 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.194e-05/1.476, allocations: 12.81 kB / 0.873 GB, free: 253.9 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004066/1.477, allocations: 142 kB / 0.8731 GB, free: 253.9 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.558e-05/1.477, allocations: 25.8 kB / 0.8731 GB, free: 253.9 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002921/1.477, allocations: 46.31 kB / 0.8732 GB, free: 253.9 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.931e-05/1.477, allocations: 39.8 kB / 0.8732 GB, free: 253.9 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.0001376/1.477, allocations: 164.6 kB / 0.8734 GB, free: 253.8 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001004/1.477, allocations: 30.3 kB / 0.8734 GB, free: 253.8 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002096/1.479, allocations: 2.612 MB / 0.8759 GB, free: 252.3 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.488e-05/1.479, allocations: 19.45 kB / 0.876 GB, free: 252.3 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.011e-06/1.479, allocations: 3.969 kB / 0.876 GB, free: 252.3 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.251e-06/1.479, allocations: 3.984 kB / 0.876 GB, free: 252.2 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006793/1.48, allocations: 0.9296 MB / 0.8769 GB, free: 251.6 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.34e-06/1.48, allocations: 11.28 kB / 0.8769 GB, free: 251.6 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002969/1.48, allocations: 79.27 kB / 0.877 GB, free: 251.6 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.911e-06/1.48, allocations: 9.875 kB / 0.877 GB, free: 251.6 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.013e-05/1.48, allocations: 11.75 kB / 0.877 GB, free: 251.6 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.589e-06/1.48, allocations: 7.766 kB / 0.877 GB, free: 251.6 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.575e-06/1.48, allocations: 3.844 kB / 0.877 GB, free: 251.6 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007683/1.481, allocations: 0.7015 MB / 0.8777 GB, free: 251.1 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 6.177e-05/1.481, allocations: 130.6 kB / 0.8778 GB, free: 251 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001226/1.481, allocations: 106.7 kB / 0.8779 GB, free: 250.9 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002837/1.482, allocations: 15.89 kB / 0.8779 GB, free: 250.9 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.678e-05/1.482, allocations: 27.81 kB / 0.8779 GB, free: 250.9 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.14e-05/1.482, allocations: 23.86 kB / 0.878 GB, free: 250.9 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.000435/1.482, allocations: 0.5009 MB / 0.8785 GB, free: 250.6 MB / 0.67 GB Notification: Performance of sort global known variables: time 7e-08/1.482, allocations: 0 / 0.8785 GB, free: 250.6 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.004226/1.486, allocations: 1.537 MB / 0.88 GB, free: 250.4 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.007882/1.494, allocations: 2.883 MB / 0.8828 GB, free: 247.8 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.0007196/1.495, allocations: 417.1 kB / 0.8832 GB, free: 247.4 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 4.258e-06/1.495, allocations: 128 / 0.8832 GB, free: 247.4 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.0002466/1.495, allocations: 221.3 kB / 0.8834 GB, free: 247.1 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007925/1.496, allocations: 141.5 kB / 0.8835 GB, free: 247 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 1.215/2.711, allocations: 0.6073 GB / 1.491 GB, free: 106 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003299/2.711, allocations: 0.9817 MB / 1.492 GB, free: 105 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.0006345/2.712, allocations: 0.5241 MB / 1.492 GB, free: 104.5 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003067/2.712, allocations: 339.3 kB / 1.493 GB, free: 104.2 MB / 0.67 GB Notification: Performance of SimCode: time 9.32e-07/2.712, allocations: 4 kB / 1.493 GB, free: 104.2 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3779/3.09, allocations: 63.54 MB / 1.555 GB, free: 265.6 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.48/16.57, allocations: 8.578 kB / 1.555 GB, free: 265.6 MB / 0.67 GB " [Timeout remaining time 643] (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_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestAllProperties/IncompleteMedia/WaterIF97_ph/WaterIF97_ph.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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: 20.07419053837657]