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.001142/0.001142, allocations: 107.4 kB / 17.21 MB, free: 6.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.001262/0.001262, allocations: 194 kB / 18.12 MB, free: 5.383 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.314/1.314, allocations: 222.9 MB / 241.8 MB, free: 15.52 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.2093/0.2093, allocations: 44.18 MB / 336.1 MB, free: 3.023 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001238/0.001238, allocations: 65.14 kB / 407.8 MB, free: 27.62 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1181/0.1194, allocations: 60.83 MB / 468.6 MB, free: 14.75 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT): time 0.01857/0.138, allocations: 14.63 MB / 483.3 MB, free: 64 kB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.03402/0.1721, allocations: 28.31 MB / 0.4996 GB, free: 3.66 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002607/0.1724, allocations: 4 kB / 0.4996 GB, free: 3.656 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004164/0.1729, allocations: 83.56 kB / 0.4997 GB, free: 3.574 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.2874/0.4603, allocations: 6.832 MB / 0.5063 GB, free: 13.69 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009798/0.4613, allocations: 310.1 kB / 0.5066 GB, free: 13.69 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.004736/0.466, allocations: 2.042 MB / 0.5086 GB, free: 13.25 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.456e-05/0.4661, allocations: 16.66 kB / 0.5086 GB, free: 13.25 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005196/0.4667, allocations: 255 kB / 0.5089 GB, free: 13.25 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007486/0.4741, allocations: 3.265 MB / 0.5121 GB, free: 12.34 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 6.962e-05/0.4742, allocations: 7.188 kB / 0.5121 GB, free: 12.34 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02936/0.5036, allocations: 11.5 MB / 0.5233 GB, free: 11.89 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002082/0.5039, allocations: 48.05 kB / 0.5234 GB, free: 11.88 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004966/0.5044, allocations: 132.8 kB / 0.5235 GB, free: 11.87 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02387/0.5283, allocations: 6.776 MB / 0.5301 GB, free: 9.324 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.263e-06/0.5283, allocations: 0 / 0.5301 GB, free: 9.324 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.713e-06/0.5283, allocations: 0 / 0.5301 GB, free: 9.324 MB / 382.1 MB Notification: Performance of Transformations before backend: time 8.206e-06/0.5283, allocations: 0 / 0.5301 GB, free: 9.324 MB / 382.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.006054/0.5344, allocations: 1.621 MB / 0.5317 GB, free: 8.309 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.721e-05/0.5345, allocations: 11.97 kB / 0.5317 GB, free: 8.309 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.789e-05/0.5345, allocations: 67.91 kB / 0.5318 GB, free: 8.262 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001522/0.5361, allocations: 188.8 kB / 0.5319 GB, free: 8.199 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002609/0.5363, allocations: 263.2 kB / 0.5322 GB, free: 7.941 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.279e-05/0.5364, allocations: 29.47 kB / 0.5322 GB, free: 7.93 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.535e-05/0.5364, allocations: 34.45 kB / 0.5323 GB, free: 7.918 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001958/0.5384, allocations: 0.7528 MB / 0.533 GB, free: 7.422 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.642e-05/0.5384, allocations: 3.375 kB / 0.533 GB, free: 7.422 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.214e-05/0.5385, allocations: 16.78 kB / 0.533 GB, free: 7.41 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.31e-05/0.5385, allocations: 10.62 kB / 0.533 GB, free: 7.41 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001982/0.5405, allocations: 0.8149 MB / 0.5338 GB, free: 7.039 MB / 382.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.002906/0.5434, allocations: 2.716 MB / 0.5365 GB, free: 4.551 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00112/0.5445, allocations: 350 kB / 0.5368 GB, free: 4.375 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001067/0.5446, allocations: 73.88 kB / 0.5369 GB, free: 4.336 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.3486/0.8933, allocations: 141 MB / 0.6746 GB, free: 12.95 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001469/0.8948, allocations: 450.7 kB / 0.675 GB, free: 12.46 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=31): time 4.018e-06/0.8948, allocations: 0 / 0.675 GB, free: 12.46 MB / 0.5294 GB Notification: Performance of matching and sorting (n=32): time 0.004159/0.899, allocations: 1.125 MB / 0.6761 GB, free: 11.36 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001714/0.8992, allocations: 375.1 kB / 0.6765 GB, free: 10.91 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001986/0.8994, allocations: 182.2 kB / 0.6766 GB, free: 10.72 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 4.46e-05/0.8995, allocations: 29.7 kB / 0.6767 GB, free: 10.68 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.00012/0.8996, allocations: 185.2 kB / 0.6768 GB, free: 10.5 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.000112/0.8997, allocations: 111 kB / 0.677 GB, free: 10.39 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001859/0.8999, allocations: 122.1 kB / 0.6771 GB, free: 10.27 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001586/0.9001, allocations: 338.8 kB / 0.6774 GB, free: 9.93 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001851/0.9003, allocations: 77.06 kB / 0.6775 GB, free: 9.852 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004819/0.9007, allocations: 352.3 kB / 0.6778 GB, free: 9.387 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006586/0.9014, allocations: 486.1 kB / 0.6783 GB, free: 8.82 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.733e-06/0.9014, allocations: 0 / 0.6783 GB, free: 8.82 MB / 0.5294 GB Notification: Performance of matching and sorting (n=59) (initialization): time 0.0009348/0.9024, allocations: 467.5 kB / 0.6787 GB, free: 8.414 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 2.435e-05/0.9024, allocations: 11.98 kB / 0.6787 GB, free: 8.402 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.665e-05/0.9024, allocations: 8 kB / 0.6787 GB, free: 8.395 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.536e-05/0.9025, allocations: 16 kB / 0.6787 GB, free: 8.379 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001614/0.9041, allocations: 209.4 kB / 0.6789 GB, free: 8.184 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006289/0.9047, allocations: 1.195 MB / 0.6801 GB, free: 6.953 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003543/0.9051, allocations: 18.72 kB / 0.6801 GB, free: 6.938 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.482e-05/0.9052, allocations: 44.84 kB / 0.6802 GB, free: 6.895 MB / 0.5294 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.0002192/0.9054, allocations: 164 kB / 0.6803 GB, free: 6.734 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001154/0.9055, allocations: 31.72 kB / 0.6804 GB, free: 6.703 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003154/0.9087, allocations: 2.832 MB / 0.6831 GB, free: 3.898 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.431e-05/0.9087, allocations: 27.97 kB / 0.6832 GB, free: 3.871 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.676e-06/0.9087, allocations: 0.75 kB / 0.6832 GB, free: 3.871 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.569e-05/0.9088, allocations: 12.3 kB / 0.6832 GB, free: 3.859 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001107/0.9099, allocations: 0.9663 MB / 0.6841 GB, free: 2.852 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.103e-06/0.9099, allocations: 4 kB / 0.6841 GB, free: 2.848 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000568/0.9105, allocations: 102.1 kB / 0.6842 GB, free: 2.754 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002957/0.9108, allocations: 168.1 kB / 0.6844 GB, free: 2.59 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.77e-05/0.9108, allocations: 16.55 kB / 0.6844 GB, free: 2.574 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004421/0.9113, allocations: 0.6485 MB / 0.685 GB, free: 1.902 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.896e-06/0.9113, allocations: 1.094 kB / 0.685 GB, free: 1.902 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001412/0.9127, allocations: 0.9723 MB / 0.686 GB, free: 0.8789 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001702/0.9129, allocations: 132.4 kB / 0.6861 GB, free: 0.7344 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001735/0.9131, allocations: 98.66 kB / 0.6862 GB, free: 0.6367 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000356/0.9134, allocations: 15.98 kB / 0.6862 GB, free: 0.6211 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.572e-05/0.9135, allocations: 38.28 kB / 0.6862 GB, free: 0.5898 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.376e-05/0.9135, allocations: 19.98 kB / 0.6863 GB, free: 0.5703 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0006548/0.9142, allocations: 467 kB / 0.6867 GB, free: 120 kB / 0.5294 GB Notification: Performance of sort global known variables: time 2.2e-07/0.9142, allocations: 5.312 kB / 0.6867 GB, free: 116 kB / 0.5294 GB Notification: Performance of remove unused functions: time 0.006035/0.9203, allocations: 1.609 MB / 0.6883 GB, free: 14.5 MB / 0.545 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.0109/0.9312, allocations: 3.135 MB / 0.6913 GB, free: 11.47 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.001537/0.9327, allocations: 0.5352 MB / 0.6919 GB, free: 10.96 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 5.08e-06/0.9327, allocations: 0 / 0.6919 GB, free: 10.96 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0004576/0.9332, allocations: 363.9 kB / 0.6922 GB, free: 10.62 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008451/0.9341, allocations: 124.4 kB / 0.6923 GB, free: 10.5 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 1.041/1.975, allocations: 353 MB / 1.037 GB, free: 83.27 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003358/1.976, allocations: 0.982 MB / 1.038 GB, free: 82.27 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0007814/1.976, allocations: 0.5086 MB / 1.038 GB, free: 81.77 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003324/1.977, allocations: 319.3 kB / 1.039 GB, free: 81.46 MB / 0.545 GB Notification: Performance of SimCode: time 1.213e-06/1.977, allocations: 0 / 1.039 GB, free: 81.46 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3698/2.347, allocations: 65.96 MB / 1.103 GB, free: 208.8 MB / 0.545 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002348/2.347, allocations: 254 kB / 1.103 GB, free: 208.6 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.007/8.354, allocations: 2.469 kB / 1.103 GB, free: 208.6 MB / 0.545 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