Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceMoistAir.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.ReferenceMoistAir,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Media_TestAllProperties_IncompleteMedia_ReferenceMoistAir",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceMoistAir,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Media_TestAllProperties_IncompleteMedia_ReferenceMoistAir",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.001698/0.001698, allocations: 109.8 kB / 17.78 MB, free: 5.266 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.00191/0.00191, allocations: 183.1 kB / 18.71 MB, free: 4.34 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.442/1.442, allocations: 222.9 MB / 242.4 MB, free: 15.08 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.234/0.234, allocations: 44.18 MB / 336.7 MB, free: 2.676 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001896/0.001896, allocations: 68.08 kB / 470.1 MB, free: 13.64 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3784/0.3803, allocations: 60.82 MB / 0.5185 GB, free: 3.312 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceMoistAir): time 0.0353/0.4156, allocations: 27.03 MB / 0.5449 GB, free: 14.8 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.01668/0.4323, allocations: 11.02 MB / 0.5556 GB, free: 5.926 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002805/0.4327, allocations: 1.5 kB / 0.5556 GB, free: 5.926 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005736/0.4333, allocations: 82 kB / 0.5557 GB, free: 5.859 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0368/0.4701, allocations: 9.226 MB / 0.5647 GB, free: 12.66 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00138/0.4715, allocations: 426.1 kB / 0.5651 GB, free: 12.25 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.000988/0.4725, allocations: 494.4 kB / 0.5656 GB, free: 11.76 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.221e-05/0.4726, allocations: 16.25 kB / 0.5656 GB, free: 11.75 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000469/0.4731, allocations: 191.3 kB / 0.5658 GB, free: 11.56 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01591/0.489, allocations: 6.012 MB / 0.5717 GB, free: 5.535 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001183/0.4892, allocations: 16 kB / 0.5717 GB, free: 5.52 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.04022/0.5294, allocations: 13.4 MB / 0.5848 GB, free: 8.098 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002283/0.5297, allocations: 87.75 kB / 0.5848 GB, free: 8.012 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003772/0.5301, allocations: 147.3 kB / 0.585 GB, free: 7.867 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02701/0.5571, allocations: 6.797 MB / 0.5916 GB, free: 1.055 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.847e-06/0.5572, allocations: 0 / 0.5916 GB, free: 1.055 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.594e-06/0.5572, allocations: 0 / 0.5916 GB, free: 1.055 MB / 446.1 MB Notification: Performance of Transformations before backend: time 2.41e-05/0.5572, allocations: 0 / 0.5916 GB, free: 1.055 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: 73 * Number of variables: 73 Notification: Performance of Generate backend data structure: time 0.005463/0.5627, allocations: 1.607 MB / 0.5932 GB, free: 15.38 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.94e-05/0.5628, allocations: 8.031 kB / 0.5932 GB, free: 15.37 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000107/0.5629, allocations: 62.73 kB / 0.5933 GB, free: 15.3 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002356/0.5631, allocations: 47.67 kB / 0.5933 GB, free: 15.25 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003911/0.5635, allocations: 242.7 kB / 0.5935 GB, free: 14.98 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.743e-05/0.5636, allocations: 20.55 kB / 0.5936 GB, free: 14.96 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.311e-05/0.5636, allocations: 28 kB / 0.5936 GB, free: 14.93 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001013/0.5647, allocations: 0.513 MB / 0.5941 GB, free: 14.39 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.44e-05/0.5647, allocations: 0 / 0.5941 GB, free: 14.39 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.862e-05/0.5647, allocations: 15.94 kB / 0.5941 GB, free: 14.37 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.923e-05/0.5648, allocations: 24.55 kB / 0.5941 GB, free: 14.35 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001327/0.5661, allocations: 0.9231 MB / 0.595 GB, free: 13.42 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.002519/0.5687, allocations: 1.898 MB / 0.5969 GB, free: 11.38 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008209/0.5695, allocations: 270 kB / 0.5971 GB, free: 11.11 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001863/0.5697, allocations: 109.5 kB / 0.5972 GB, free: 11 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02166/0.5914, allocations: 15.69 MB / 0.6126 GB, free: 8.297 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005734/0.592, allocations: 248.8 kB / 0.6128 GB, free: 8.016 MB / 478.1 MB Notification: Performance of pre-optimization done (n=34): time 2.214e-06/0.592, allocations: 0 / 0.6128 GB, free: 8.016 MB / 478.1 MB Notification: Performance of matching and sorting (n=36): time 0.00244/0.5944, allocations: 0.7948 MB / 0.6136 GB, free: 7.191 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001614/0.5946, allocations: 273 kB / 0.6138 GB, free: 6.863 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002159/0.5948, allocations: 194.3 kB / 0.614 GB, free: 6.664 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 3.699e-05/0.5949, allocations: 33.7 kB / 0.6141 GB, free: 6.625 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001535/0.5951, allocations: 204 kB / 0.6143 GB, free: 6.422 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001184/0.5952, allocations: 130.9 kB / 0.6144 GB, free: 6.293 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000154/0.5953, allocations: 118.3 kB / 0.6145 GB, free: 6.172 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001729/0.5955, allocations: 342.8 kB / 0.6148 GB, free: 5.828 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001701/0.5957, allocations: 96.98 kB / 0.6149 GB, free: 5.734 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000547/0.5962, allocations: 370.6 kB / 0.6153 GB, free: 5.246 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000889/0.5971, allocations: 0.4995 MB / 0.6158 GB, free: 4.617 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.129e-06/0.5972, allocations: 4 kB / 0.6158 GB, free: 4.613 MB / 478.1 MB Notification: Performance of matching and sorting (n=67) (initialization): time 0.001273/0.5984, allocations: 0.5038 MB / 0.6162 GB, free: 4.105 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.43e-05/0.5985, allocations: 12 kB / 0.6163 GB, free: 4.094 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.46e-05/0.5985, allocations: 8 kB / 0.6163 GB, free: 4.086 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.955e-05/0.5985, allocations: 15.94 kB / 0.6163 GB, free: 4.07 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006808/0.5992, allocations: 175.7 kB / 0.6164 GB, free: 3.898 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008081/0.6, allocations: 1.192 MB / 0.6176 GB, free: 2.66 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002655/0.6003, allocations: 19.94 kB / 0.6176 GB, free: 2.641 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001019/0.6004, allocations: 51.98 kB / 0.6177 GB, free: 2.59 MB / 478.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 42 * Number of states: 0 () * Number of discrete variables: 1 ($whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (67): * Single equations (assignments): 65 * 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.0002099/0.6006, allocations: 165.6 kB / 0.6178 GB, free: 2.418 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002023/0.6008, allocations: 32.03 kB / 0.6179 GB, free: 2.387 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001033/0.6019, allocations: 485.5 kB / 0.6183 GB, free: 1.883 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.863e-06/0.6019, allocations: 4 kB / 0.6183 GB, free: 1.879 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.41e-06/0.6019, allocations: 0 / 0.6183 GB, free: 1.879 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.053e-06/0.6019, allocations: 3.938 kB / 0.6183 GB, free: 1.875 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001022/0.603, allocations: 0.6108 MB / 0.6189 GB, free: 1.195 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.511e-06/0.603, allocations: 4 kB / 0.6189 GB, free: 1.191 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004061/0.6034, allocations: 87.81 kB / 0.619 GB, free: 1.105 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.619e-06/0.6034, allocations: 0 / 0.619 GB, free: 1.105 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.511e-05/0.6034, allocations: 11.98 kB / 0.619 GB, free: 1.094 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007383/0.6042, allocations: 1.176 MB / 0.6202 GB, free: 15.87 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.803e-06/0.6042, allocations: 0 / 0.6202 GB, free: 15.87 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006857/0.6049, allocations: 325.2 kB / 0.6205 GB, free: 15.52 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.378e-05/0.605, allocations: 101 kB / 0.6206 GB, free: 15.41 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.04e-05/0.6051, allocations: 23.94 kB / 0.6206 GB, free: 15.38 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002262/0.6053, allocations: 15.98 kB / 0.6206 GB, free: 15.37 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.755e-05/0.6053, allocations: 15.97 kB / 0.6206 GB, free: 15.35 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.207e-05/0.6054, allocations: 20 kB / 0.6207 GB, free: 15.33 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0001914/0.6056, allocations: 168.5 kB / 0.6208 GB, free: 15.16 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.6056, allocations: 0 / 0.6208 GB, free: 15.16 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.004857/0.6104, allocations: 1.702 MB / 0.6225 GB, free: 13.46 MB / 494.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 1 ($whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (24): * Single equations (assignments): 22 * 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 Backend phase and start with SimCode phase: time 0.009482/0.6199, allocations: 3.11 MB / 0.6255 GB, free: 10.31 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.001315/0.6213, allocations: 329.6 kB / 0.6258 GB, free: 9.992 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 5.43e-06/0.6213, allocations: 4.125 kB / 0.6258 GB, free: 9.988 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004358/0.6218, allocations: 122 kB / 0.626 GB, free: 9.871 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008217/0.6226, allocations: 108.7 kB / 0.6261 GB, free: 9.766 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.5226/1.145, allocations: 144.2 MB / 0.7668 GB, free: 127.1 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001672/1.145, allocations: 0.7493 MB / 0.7676 GB, free: 126.3 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0004509/1.146, allocations: 154.8 kB / 0.7677 GB, free: 126.2 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001595/1.146, allocations: 106.8 kB / 0.7678 GB, free: 126.1 MB / 0.5606 GB Notification: Performance of SimCode: time 7.62e-07/1.146, allocations: 1.75 kB / 0.7678 GB, free: 126.1 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08368/1.23, allocations: 51.07 MB / 0.8177 GB, free: 75.4 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.25/15.48, allocations: 19.89 kB / 0.8177 GB, free: 75.39 MB / 0.5606 GB (rm -f ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceMoistAir.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceMoistAir.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceMoistAir.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceMoistAir.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceMoistAir_res.csv --start-time 0 --stop-time 0.1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 4e-05 ModelicaTest_4_0_0_ModelicaTest_Media_TestAllProperties_IncompleteMedia_ReferenceMoistAir.fmu > ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceMoistAir.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceMoistAir_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestAllProperties/IncompleteMedia/ReferenceMoistAir/ReferenceMoistAir.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceMoistAir.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches