Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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_4_0_0_ModelicaTest_Media_TestAllProperties_IncompleteMedia_WaterIF97_pT",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT,fileNamePrefix="ModelicaTest_4_0_0_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.001029/0.001029, allocations: 110.4 kB / 17.78 MB, free: 5.289 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.001089/0.001089, allocations: 187.1 kB / 18.71 MB, free: 4.371 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.324/1.324, allocations: 222.9 MB / 242.4 MB, free: 15.19 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2147/0.2147, allocations: 44.19 MB / 336.8 MB, free: 2.684 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001294/0.001294, allocations: 63.89 kB / 470.1 MB, free: 13.63 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3468/0.3481, allocations: 60.83 MB / 0.5185 GB, free: 3.297 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT): time 0.01702/0.3651, allocations: 13.81 MB / 0.532 GB, free: 9.285 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.03152/0.3967, allocations: 26.59 MB / 0.5579 GB, free: 3.574 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002681/0.397, allocations: 11.94 kB / 0.5579 GB, free: 3.562 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004261/0.3975, allocations: 95.38 kB / 0.558 GB, free: 3.469 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.02438/0.4219, allocations: 8.531 MB / 0.5664 GB, free: 10.93 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009525/0.4229, allocations: 357.8 kB / 0.5667 GB, free: 10.59 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.004065/0.4269, allocations: 1.994 MB / 0.5686 GB, free: 8.57 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.257e-05/0.427, allocations: 20.39 kB / 0.5687 GB, free: 8.551 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005785/0.4276, allocations: 266.8 kB / 0.5689 GB, free: 8.289 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006311/0.4339, allocations: 3.262 MB / 0.5721 GB, free: 4.973 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 5.956e-05/0.434, allocations: 8 kB / 0.5721 GB, free: 4.965 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02572/0.4597, allocations: 11.6 MB / 0.5834 GB, free: 9.348 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001178/0.4599, allocations: 51.7 kB / 0.5835 GB, free: 9.297 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002233/0.4601, allocations: 135.4 kB / 0.5836 GB, free: 9.164 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01678/0.4769, allocations: 6.745 MB / 0.5902 GB, free: 2.398 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.881e-06/0.477, allocations: 0 / 0.5902 GB, free: 2.398 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.305e-06/0.477, allocations: 0 / 0.5902 GB, free: 2.398 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.006e-05/0.477, allocations: 4 kB / 0.5902 GB, free: 2.395 MB / 446.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.004832/0.4818, allocations: 1.607 MB / 0.5918 GB, free: 0.7383 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.862e-05/0.4819, allocations: 8.031 kB / 0.5918 GB, free: 0.7305 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.635e-05/0.482, allocations: 70.72 kB / 0.5919 GB, free: 0.6523 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001625/0.4836, allocations: 184.5 kB / 0.592 GB, free: 484 kB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005167/0.4842, allocations: 279.8 kB / 0.5923 GB, free: 164 kB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.936e-05/0.4842, allocations: 25.03 kB / 0.5923 GB, free: 140 kB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.457e-05/0.4843, allocations: 35.88 kB / 0.5924 GB, free: 104 kB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002214/0.4865, allocations: 0.7603 MB / 0.5931 GB, free: 15.29 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.476e-05/0.4865, allocations: 0 / 0.5931 GB, free: 15.29 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.459e-05/0.4866, allocations: 20 kB / 0.5931 GB, free: 15.27 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.157e-05/0.4866, allocations: 8 kB / 0.5931 GB, free: 15.26 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002149/0.4887, allocations: 0.8176 MB / 0.5939 GB, free: 14.44 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.003485/0.4922, allocations: 2.707 MB / 0.5966 GB, free: 11.51 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001252/0.4935, allocations: 346.4 kB / 0.5969 GB, free: 11.16 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001237/0.4937, allocations: 76.8 kB / 0.597 GB, free: 11.09 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.6606/1.154, allocations: 142.7 MB / 0.7363 GB, free: 166.3 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001229/1.156, allocations: 445.1 kB / 0.7368 GB, free: 166.2 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=31): time 2.755e-06/1.156, allocations: 0 / 0.7368 GB, free: 166.2 MB / 0.5762 GB Notification: Performance of matching and sorting (n=32): time 0.003781/1.159, allocations: 1.124 MB / 0.7379 GB, free: 166 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.659e-05/1.159, allocations: 369.8 kB / 0.7382 GB, free: 165.5 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001625/1.16, allocations: 192.7 kB / 0.7384 GB, free: 165.4 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 2.784e-05/1.16, allocations: 36.23 kB / 0.7384 GB, free: 165.4 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 8.361e-05/1.16, allocations: 188.4 kB / 0.7386 GB, free: 165.2 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 7.498e-05/1.16, allocations: 111 kB / 0.7387 GB, free: 165.2 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001571/1.16, allocations: 122.9 kB / 0.7388 GB, free: 165.1 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 6.115e-05/1.16, allocations: 337.6 kB / 0.7391 GB, free: 164.8 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001547/1.16, allocations: 81.08 kB / 0.7392 GB, free: 164.8 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002832/1.161, allocations: 349.9 kB / 0.7396 GB, free: 164.5 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005139/1.161, allocations: 480 kB / 0.74 GB, free: 164.1 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.879e-06/1.161, allocations: 6.812 kB / 0.74 GB, free: 164.1 MB / 0.5762 GB Notification: Performance of matching and sorting (n=59) (initialization): time 0.000845/1.162, allocations: 462.1 kB / 0.7405 GB, free: 164.1 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.244e-05/1.162, allocations: 12.25 kB / 0.7405 GB, free: 164.1 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.476e-05/1.162, allocations: 9.438 kB / 0.7405 GB, free: 164.1 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.127e-05/1.162, allocations: 16.38 kB / 0.7405 GB, free: 164.1 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00144/1.163, allocations: 220.9 kB / 0.7407 GB, free: 164.1 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000366/1.164, allocations: 1.177 MB / 0.7419 GB, free: 162.9 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002734/1.164, allocations: 33.69 kB / 0.7419 GB, free: 162.9 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.23e-05/1.164, allocations: 44.83 kB / 0.7419 GB, free: 162.9 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.0001357/1.164, allocations: 154.8 kB / 0.7421 GB, free: 162.8 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.589e-05/1.164, allocations: 28.66 kB / 0.7421 GB, free: 162.8 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002193/1.167, allocations: 2.823 MB / 0.7449 GB, free: 162.4 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.929e-05/1.167, allocations: 21.98 kB / 0.7449 GB, free: 162.4 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.783e-06/1.167, allocations: 3.875 kB / 0.7449 GB, free: 162.4 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.016e-06/1.167, allocations: 3.906 kB / 0.7449 GB, free: 162.4 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007571/1.167, allocations: 0.9695 MB / 0.7458 GB, free: 162.1 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.275e-06/1.167, allocations: 2.531 kB / 0.7458 GB, free: 162.1 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005053/1.168, allocations: 97.17 kB / 0.7459 GB, free: 162.1 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001715/1.168, allocations: 167 kB / 0.7461 GB, free: 162.1 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.449e-05/1.168, allocations: 14.53 kB / 0.7461 GB, free: 162.1 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002676/1.168, allocations: 0.6377 MB / 0.7467 GB, free: 161.6 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.937e-06/1.168, allocations: 6.812 kB / 0.7467 GB, free: 161.6 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009963/1.169, allocations: 0.9783 MB / 0.7477 GB, free: 161.3 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 6.604e-05/1.17, allocations: 136.9 kB / 0.7478 GB, free: 161.2 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.228e-05/1.17, allocations: 89.25 kB / 0.7479 GB, free: 161.1 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002852/1.17, allocations: 24.12 kB / 0.7479 GB, free: 161.1 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.564e-05/1.17, allocations: 26.97 kB / 0.748 GB, free: 161.1 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.688e-05/1.17, allocations: 22.03 kB / 0.748 GB, free: 161.1 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0004454/1.17, allocations: 471.4 kB / 0.7484 GB, free: 161 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.2e-07/1.17, allocations: 0 / 0.7484 GB, free: 161 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.004123/1.175, allocations: 1.612 MB / 0.75 GB, free: 160.5 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.007056/1.182, allocations: 3.121 MB / 0.7531 GB, free: 158.1 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.001512/1.183, allocations: 0.5424 MB / 0.7536 GB, free: 157.8 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 4.89e-06/1.183, allocations: 192 / 0.7536 GB, free: 157.8 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0003741/1.184, allocations: 369.1 kB / 0.7539 GB, free: 157.6 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008217/1.184, allocations: 127 kB / 0.7541 GB, free: 157.6 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.7233/1.908, allocations: 352.4 MB / 1.098 GB, free: 82.33 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003021/1.908, allocations: 0.982 MB / 1.099 GB, free: 81.33 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0005934/1.909, allocations: 0.5021 MB / 1.1 GB, free: 80.85 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002929/1.909, allocations: 319.3 kB / 1.1 GB, free: 80.54 MB / 0.6075 GB Notification: Performance of SimCode: time 8.12e-07/1.909, allocations: 0 / 1.1 GB, free: 80.54 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09211/2.001, allocations: 66.6 MB / 1.165 GB, free: 14.2 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 16.65/18.65, allocations: 21.08 kB / 1.165 GB, free: 14.18 MB / 0.6075 GB (rm -f ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Media_TestAllProperties_IncompleteMedia_WaterIF97_pT_fmu --startTime=0 --stopTime=0.1 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Media_TestAllProperties_IncompleteMedia_WaterIF97_pT.fmu > ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestAllProperties/IncompleteMedia/WaterIF97_pT/WaterIF97_pT.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches