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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) 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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001156/0.001156, allocations: 118.8 kB / 17.79 MB, free: 5.281 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001192/0.001192, allocations: 201.2 kB / 18.73 MB, free: 4.34 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.368/1.368, allocations: 227.4 MB / 246.9 MB, free: 10.49 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2083/0.2083, allocations: 46.08 MB / 344.3 MB, free: 11.54 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00159/0.00159, allocations: 79.88 kB / 480.9 MB, free: 4.559 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3626/0.3642, allocations: 62.43 MB / 0.5306 GB, free: 13.45 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph): time 0.01625/0.3805, allocations: 13.92 MB / 0.5442 GB, free: 2.309 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.02954/0.4101, allocations: 26.61 MB / 0.5701 GB, free: 9.137 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003329/0.4105, allocations: 0 / 0.5701 GB, free: 9.137 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004758/0.411, allocations: 95.38 kB / 0.5702 GB, free: 9.043 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.02551/0.4365, allocations: 8.525 MB / 0.5786 GB, free: 0.5156 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009315/0.4375, allocations: 338.4 kB / 0.5789 GB, free: 192 kB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.003813/0.4413, allocations: 2.006 MB / 0.5808 GB, free: 14.16 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.718e-05/0.4414, allocations: 24.34 kB / 0.5809 GB, free: 14.13 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005043/0.4419, allocations: 282.8 kB / 0.5811 GB, free: 13.86 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005848/0.4478, allocations: 3.258 MB / 0.5843 GB, free: 10.54 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 5.172e-05/0.4478, allocations: 12 kB / 0.5843 GB, free: 10.53 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02204/0.4699, allocations: 10.83 MB / 0.5949 GB, free: 15.7 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001131/0.47, allocations: 51.75 kB / 0.595 GB, free: 15.64 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002284/0.4703, allocations: 143.3 kB / 0.5951 GB, free: 15.5 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0163/0.4866, allocations: 6.308 MB / 0.6012 GB, free: 9.18 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.611e-06/0.4866, allocations: 4 kB / 0.6013 GB, free: 9.176 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.694e-06/0.4866, allocations: 4 kB / 0.6013 GB, free: 9.172 MB / 462.1 MB Notification: Performance of Transformations before backend: time 6.512e-06/0.4866, allocations: 0 / 0.6013 GB, free: 9.172 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.004504/0.4911, allocations: 1.56 MB / 0.6028 GB, free: 7.562 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.86e-05/0.4912, allocations: 12.03 kB / 0.6028 GB, free: 7.551 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.744e-05/0.4913, allocations: 70.72 kB / 0.6029 GB, free: 7.473 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001622/0.4929, allocations: 216.4 kB / 0.6031 GB, free: 7.262 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004092/0.4933, allocations: 283.8 kB / 0.6033 GB, free: 6.945 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.989e-05/0.4934, allocations: 25.03 kB / 0.6034 GB, free: 6.922 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.694e-05/0.4934, allocations: 31.94 kB / 0.6034 GB, free: 6.891 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002226/0.4956, allocations: 0.821 MB / 0.6042 GB, free: 6.027 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.369e-05/0.4957, allocations: 11.92 kB / 0.6042 GB, free: 6.016 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.919e-05/0.4957, allocations: 16 kB / 0.6042 GB, free: 6 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.117e-06/0.4957, allocations: 8 kB / 0.6042 GB, free: 5.992 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002302/0.498, allocations: 0.9308 MB / 0.6051 GB, free: 5.059 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.003111/0.5012, allocations: 2.57 MB / 0.6076 GB, free: 2.277 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00132/0.5025, allocations: 378.2 kB / 0.608 GB, free: 1.898 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001578/0.5027, allocations: 76.83 kB / 0.6081 GB, free: 1.82 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.8984/1.401, allocations: 241.2 MB / 0.8436 GB, free: 72.44 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001688/1.403, allocations: 480.7 kB / 0.8441 GB, free: 71.93 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=32): time 5.2e-06/1.403, allocations: 0 / 0.8441 GB, free: 71.93 MB / 0.5762 GB Notification: Performance of matching and sorting (n=32): time 0.003167/1.406, allocations: 0.7764 MB / 0.8449 GB, free: 71.16 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001086/1.406, allocations: 383.8 kB / 0.8452 GB, free: 70.7 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001981/1.406, allocations: 178.5 kB / 0.8454 GB, free: 70.52 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 4.332e-05/1.406, allocations: 33.7 kB / 0.8454 GB, free: 70.48 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 9.15e-05/1.407, allocations: 191.9 kB / 0.8456 GB, free: 70.29 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 8.777e-05/1.407, allocations: 104.3 kB / 0.8457 GB, free: 70.2 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001522/1.407, allocations: 126.1 kB / 0.8458 GB, free: 70.06 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 6.689e-05/1.407, allocations: 333.1 kB / 0.8461 GB, free: 69.73 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002004/1.407, allocations: 85.06 kB / 0.8462 GB, free: 69.65 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002871/1.407, allocations: 344.5 kB / 0.8466 GB, free: 69.19 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000643/1.408, allocations: 475.5 kB / 0.847 GB, free: 68.6 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.668e-06/1.408, allocations: 4 kB / 0.847 GB, free: 68.6 MB / 0.5762 GB Notification: Performance of matching and sorting (n=58) (initialization): time 0.0009007/1.409, allocations: 477 kB / 0.8475 GB, free: 68.12 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.375e-05/1.409, allocations: 8 kB / 0.8475 GB, free: 68.12 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.427e-05/1.409, allocations: 12 kB / 0.8475 GB, free: 68.11 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.284e-05/1.409, allocations: 15.94 kB / 0.8475 GB, free: 68.09 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004272/1.409, allocations: 139.8 kB / 0.8476 GB, free: 67.95 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.932e-05/1.41, allocations: 15.94 kB / 0.8477 GB, free: 67.94 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003306/1.41, allocations: 57.86 kB / 0.8477 GB, free: 67.89 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.647e-05/1.41, allocations: 47.97 kB / 0.8478 GB, free: 67.84 MB / 0.5762 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.0001731/1.41, allocations: 157.6 kB / 0.8479 GB, free: 67.68 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001127/1.41, allocations: 31.7 kB / 0.8479 GB, free: 67.64 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002228/1.412, allocations: 2.593 MB / 0.8505 GB, free: 65.05 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.68e-05/1.412, allocations: 23.97 kB / 0.8505 GB, free: 65.03 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.844e-06/1.413, allocations: 4 kB / 0.8505 GB, free: 65.02 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.018e-05/1.413, allocations: 4 kB / 0.8505 GB, free: 65.02 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008993/1.413, allocations: 0.9253 MB / 0.8514 GB, free: 64.05 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.215e-06/1.413, allocations: 6.719 kB / 0.8514 GB, free: 64.05 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002944/1.414, allocations: 75.88 kB / 0.8515 GB, free: 63.98 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.636e-06/1.414, allocations: 7.984 kB / 0.8515 GB, free: 63.97 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.81e-05/1.414, allocations: 11.94 kB / 0.8515 GB, free: 63.96 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.61e-06/1.414, allocations: 7.938 kB / 0.8515 GB, free: 63.95 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.838e-06/1.414, allocations: 7.938 kB / 0.8515 GB, free: 63.94 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009357/1.415, allocations: 0.7013 MB / 0.8522 GB, free: 63.19 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 9.375e-05/1.415, allocations: 124.5 kB / 0.8523 GB, free: 63.05 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001259/1.415, allocations: 110.4 kB / 0.8524 GB, free: 62.94 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003138/1.415, allocations: 12 kB / 0.8524 GB, free: 62.93 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.906e-05/1.415, allocations: 35.95 kB / 0.8525 GB, free: 62.89 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.404e-05/1.415, allocations: 16 kB / 0.8525 GB, free: 62.88 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0004865/1.416, allocations: 0.504 MB / 0.853 GB, free: 62.36 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.1e-07/1.416, allocations: 0 / 0.853 GB, free: 62.36 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.004407/1.42, allocations: 1.509 MB / 0.8544 GB, free: 60.94 MB / 0.5762 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.008628/1.429, allocations: 2.878 MB / 0.8573 GB, free: 58.16 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0008842/1.43, allocations: 419.6 kB / 0.8577 GB, free: 57.75 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 6.953e-06/1.43, allocations: 0 / 0.8577 GB, free: 57.75 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0003601/1.43, allocations: 286 kB / 0.8579 GB, free: 57.47 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009561/1.431, allocations: 123.7 kB / 0.8581 GB, free: 57.36 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 1.514/2.945, allocations: 0.6069 GB / 1.465 GB, free: 201.8 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003536/2.945, allocations: 0.9856 MB / 1.466 GB, free: 200.8 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0005964/2.946, allocations: 0.5308 MB / 1.466 GB, free: 200.3 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003115/2.946, allocations: 335.3 kB / 1.467 GB, free: 200 MB / 0.6231 GB Notification: Performance of SimCode: time 9.32e-07/2.946, allocations: 0 / 1.467 GB, free: 200 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0993/3.046, allocations: 63.78 MB / 1.529 GB, free: 136.3 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 13/16.05, allocations: 4.688 kB / 1.529 GB, free: 136.3 MB / 0.6231 GB (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 --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) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.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) Reference file matches