Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Media_TestAllProperties_IncompleteMedia_WaterIF97_pT",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Media_TestAllProperties_IncompleteMedia_WaterIF97_pT",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001673/0.001673, allocations: 105.2 kB / 16.4 MB, free: 6.5 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001876/0.001876, allocations: 192.2 kB / 17.34 MB, free: 5.742 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.377/1.377, allocations: 205.1 MB / 223.2 MB, free: 12.21 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2113/0.2113, allocations: 43.52 MB / 314.1 MB, free: 448 kB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001378/0.001379, allocations: 73.45 kB / 441.4 MB, free: 6.109 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1088/0.1102, allocations: 57.79 MB / 499.1 MB, free: 12.25 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT): time 0.01585/0.1261, allocations: 13.82 MB / 0.5009 GB, free: 14.36 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0306/0.1567, allocations: 26.58 MB / 0.5269 GB, free: 3.688 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002853/0.1571, allocations: 3.938 kB / 0.5269 GB, free: 3.684 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004297/0.1575, allocations: 91.45 kB / 0.527 GB, free: 3.594 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.2606/0.4181, allocations: 8.505 MB / 0.5353 GB, free: 4.922 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00112/0.4193, allocations: 345.5 kB / 0.5356 GB, free: 4.918 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.004273/0.4235, allocations: 1.996 MB / 0.5376 GB, free: 4.445 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.117e-05/0.4236, allocations: 21.03 kB / 0.5376 GB, free: 4.441 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004672/0.4241, allocations: 270.7 kB / 0.5379 GB, free: 4.434 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00588/0.43, allocations: 3.253 MB / 0.541 GB, free: 3.484 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 7.4e-05/0.4301, allocations: 14.22 kB / 0.541 GB, free: 3.48 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02663/0.4567, allocations: 11.61 MB / 0.5524 GB, free: 3.445 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001275/0.4569, allocations: 48.45 kB / 0.5524 GB, free: 3.445 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004087/0.4573, allocations: 137.7 kB / 0.5526 GB, free: 3.445 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01673/0.4741, allocations: 6.727 MB / 0.5591 GB, free: 1.129 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.133e-06/0.4741, allocations: 7.984 kB / 0.5591 GB, free: 1.121 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.515e-06/0.4741, allocations: 0 / 0.5591 GB, free: 1.121 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.537e-05/0.4741, allocations: 3.094 kB / 0.5591 GB, free: 1.121 MB / 414.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.004692/0.4788, allocations: 1.61 MB / 0.5607 GB, free: 36 kB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.962e-05/0.4789, allocations: 13.92 kB / 0.5607 GB, free: 32 kB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.195e-05/0.479, allocations: 69.53 kB / 0.5608 GB, free: 15.96 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00147/0.4805, allocations: 185.2 kB / 0.561 GB, free: 15.88 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003913/0.4809, allocations: 268.8 kB / 0.5612 GB, free: 15.61 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.789e-05/0.4809, allocations: 25.84 kB / 0.5612 GB, free: 15.6 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.092e-05/0.481, allocations: 30.97 kB / 0.5613 GB, free: 15.59 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002043/0.483, allocations: 0.7578 MB / 0.562 GB, free: 15.09 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.434e-05/0.483, allocations: 3.844 kB / 0.562 GB, free: 15.09 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.918e-05/0.4831, allocations: 24.94 kB / 0.562 GB, free: 15.07 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.234e-05/0.4831, allocations: 8 kB / 0.562 GB, free: 15.07 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002034/0.4851, allocations: 0.8174 MB / 0.5628 GB, free: 14.7 MB / 430.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.003089/0.4883, allocations: 2.7 MB / 0.5655 GB, free: 12.22 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001142/0.4894, allocations: 344.8 kB / 0.5658 GB, free: 12.04 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000105/0.4895, allocations: 72.44 kB / 0.5659 GB, free: 12.01 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.3949/0.8844, allocations: 142.9 MB / 0.7054 GB, free: 4.871 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001375/0.8858, allocations: 445.4 kB / 0.7058 GB, free: 4.391 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=31): time 3.346e-06/0.8858, allocations: 0 / 0.7058 GB, free: 4.391 MB / 0.5606 GB Notification: Performance of matching and sorting (n=32): time 0.003945/0.8898, allocations: 1.129 MB / 0.7069 GB, free: 3.281 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001651/0.89, allocations: 372.7 kB / 0.7073 GB, free: 2.836 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001778/0.8902, allocations: 187.3 kB / 0.7075 GB, free: 2.645 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 3.839e-05/0.8902, allocations: 33.7 kB / 0.7075 GB, free: 2.605 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001067/0.8903, allocations: 193.7 kB / 0.7077 GB, free: 2.418 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001034/0.8904, allocations: 116.1 kB / 0.7078 GB, free: 2.309 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001659/0.8906, allocations: 122.1 kB / 0.7079 GB, free: 2.184 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001209/0.8907, allocations: 330.8 kB / 0.7082 GB, free: 1.852 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001717/0.8909, allocations: 81.06 kB / 0.7083 GB, free: 1.77 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003559/0.8913, allocations: 347.3 kB / 0.7086 GB, free: 1.309 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000629/0.8919, allocations: 476.5 kB / 0.7091 GB, free: 0.75 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.871e-06/0.8919, allocations: 0 / 0.7091 GB, free: 0.75 MB / 0.5606 GB Notification: Performance of matching and sorting (n=59) (initialization): time 0.0009182/0.8928, allocations: 479.4 kB / 0.7096 GB, free: 344 kB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.471e-05/0.8929, allocations: 12 kB / 0.7096 GB, free: 332 kB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.54e-05/0.8929, allocations: 11.98 kB / 0.7096 GB, free: 320 kB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.488e-05/0.8929, allocations: 12 kB / 0.7096 GB, free: 308 kB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001523/0.8945, allocations: 205.5 kB / 0.7098 GB, free: 112 kB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006472/0.8951, allocations: 1.193 MB / 0.711 GB, free: 14.88 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002997/0.8954, allocations: 20 kB / 0.711 GB, free: 14.86 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.209e-05/0.8955, allocations: 44.97 kB / 0.711 GB, free: 14.81 MB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 42 * Number of states: 0 () * Number of discrete variables: 8 ($whenCondition1,state.phase,state_h_is.phase,medium.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 (59): * Single equations (assignments): 57 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 2 systems {1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001995/0.8957, allocations: 181.7 kB / 0.7112 GB, free: 14.64 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.78e-05/0.8958, allocations: 27.72 kB / 0.7112 GB, free: 14.61 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002976/0.8988, allocations: 2.822 MB / 0.714 GB, free: 11.8 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.693e-05/0.8988, allocations: 23.97 kB / 0.714 GB, free: 11.78 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.764e-06/0.8989, allocations: 4 kB / 0.714 GB, free: 11.77 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.259e-05/0.8989, allocations: 15.3 kB / 0.714 GB, free: 11.76 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001062/0.8999, allocations: 0.9654 MB / 0.715 GB, free: 10.76 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.557e-05/0.9, allocations: 4.375 kB / 0.715 GB, free: 10.76 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005597/0.9005, allocations: 106.5 kB / 0.7151 GB, free: 10.66 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002097/0.9008, allocations: 161.4 kB / 0.7152 GB, free: 10.5 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.196e-05/0.9008, allocations: 11.98 kB / 0.7152 GB, free: 10.49 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004125/0.9012, allocations: 0.6409 MB / 0.7159 GB, free: 9.824 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.428e-06/0.9012, allocations: 4 kB / 0.7159 GB, free: 9.82 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001208/0.9025, allocations: 0.9805 MB / 0.7168 GB, free: 8.789 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001135/0.9026, allocations: 128.5 kB / 0.7169 GB, free: 8.645 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000121/0.9027, allocations: 94.59 kB / 0.717 GB, free: 8.555 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003027/0.903, allocations: 15.98 kB / 0.717 GB, free: 8.539 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.977e-05/0.9031, allocations: 31.91 kB / 0.7171 GB, free: 8.508 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.436e-05/0.9031, allocations: 19.98 kB / 0.7171 GB, free: 8.488 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0005454/0.9037, allocations: 471 kB / 0.7175 GB, free: 8.031 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.2e-07/0.9037, allocations: 3.75 kB / 0.7175 GB, free: 8.031 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.005464/0.9091, allocations: 1.608 MB / 0.7191 GB, free: 6.422 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: 11 ($cse15.phase,$cse15.region,$cse16.phase,$cse16.region,$cse17.phase,$cse17.region,$cse19.phase,$cse19.region,$cse20.phase,$cse20.region,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (36): * Single equations (assignments): 31 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,1)} Notification: Performance of Backend phase and start with SimCode phase: time 0.01122/0.9204, allocations: 3.11 MB / 0.7221 GB, free: 3.41 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.002001/0.9224, allocations: 0.5375 MB / 0.7227 GB, free: 2.898 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 9.588e-06/0.9224, allocations: 4 kB / 0.7227 GB, free: 2.895 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0005977/0.923, allocations: 367 kB / 0.723 GB, free: 2.547 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009939/0.9241, allocations: 128.5 kB / 0.7232 GB, free: 2.426 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.8965/1.821, allocations: 352.2 MB / 1.067 GB, free: 168.3 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003299/1.821, allocations: 0.9858 MB / 1.068 GB, free: 167.3 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0006157/1.822, allocations: 0.5012 MB / 1.069 GB, free: 166.8 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003232/1.822, allocations: 319.3 kB / 1.069 GB, free: 166.5 MB / 0.6075 GB Notification: Performance of SimCode: time 8.11e-07/1.822, allocations: 0 / 1.069 GB, free: 166.5 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09932/1.921, allocations: 66.55 MB / 1.134 GB, free: 99.93 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 16.93/18.85, allocations: 8 kB / 1.134 GB, free: 99.93 MB / 0.6075 GB (rm -f ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Media_TestAllProperties_IncompleteMedia_WaterIF97_pT_fmu --startTime=0 --stopTime=0.1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Media_TestAllProperties_IncompleteMedia_WaterIF97_pT.fmu > ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Media/TestAllProperties/IncompleteMedia/WaterIF97_pT/WaterIF97_pT.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches