Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_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.ReferenceAir_pT,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Media_TestAllProperties_IncompleteMedia_ReferenceAir_pT",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_pT,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Media_TestAllProperties_IncompleteMedia_ReferenceAir_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.001287/0.001287, allocations: 107.4 kB / 16.41 MB, free: 6.445 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.001197/0.001197, allocations: 185.5 kB / 17.34 MB, free: 5.738 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.418/1.418, allocations: 205.1 MB / 223.2 MB, free: 12.24 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.2355/0.2355, allocations: 43.52 MB / 314.1 MB, free: 468 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.002014/0.002014, allocations: 67.91 kB / 441.4 MB, free: 6.125 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1145/0.1165, allocations: 57.79 MB / 499.1 MB, free: 12.26 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_pT): time 0.01442/0.131, allocations: 11.25 MB / 0.4984 GB, free: 0.9492 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0179/0.1489, allocations: 14.26 MB / 0.5124 GB, free: 2.641 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001728/0.1492, allocations: 4 kB / 0.5124 GB, free: 2.637 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003468/0.1495, allocations: 67.55 kB / 0.5124 GB, free: 2.57 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01082/0.1604, allocations: 3.113 MB / 0.5155 GB, free: 15.44 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004346/0.1608, allocations: 151.8 kB / 0.5156 GB, free: 15.29 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.005881/0.1667, allocations: 3.905 MB / 0.5194 GB, free: 11.38 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.511e-05/0.1668, allocations: 12.41 kB / 0.5194 GB, free: 11.38 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002169/0.167, allocations: 139.5 kB / 0.5196 GB, free: 11.24 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01007/0.1771, allocations: 7.126 MB / 0.5265 GB, free: 4.105 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 8.612e-05/0.1773, allocations: 8 kB / 0.5265 GB, free: 4.098 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006929/0.1842, allocations: 2.392 MB / 0.5289 GB, free: 1.703 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001312/0.1844, allocations: 43.77 kB / 0.5289 GB, free: 1.66 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002538/0.1846, allocations: 127.4 kB / 0.529 GB, free: 1.535 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.2671/0.4518, allocations: 1.721 MB / 0.5307 GB, free: 20.33 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.506e-06/0.4518, allocations: 0.9062 kB / 0.5307 GB, free: 20.33 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.703e-06/0.4518, allocations: 0 / 0.5307 GB, free: 20.33 MB / 414.1 MB Notification: Performance of Transformations before backend: time 8.566e-06/0.4518, allocations: 0 / 0.5307 GB, free: 20.33 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: 67 * Number of variables: 67 Notification: Performance of Generate backend data structure: time 0.002885/0.4547, allocations: 0.9883 MB / 0.5317 GB, free: 19.74 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.42e-05/0.4548, allocations: 11.17 kB / 0.5317 GB, free: 19.73 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.482e-05/0.4549, allocations: 67.5 kB / 0.5318 GB, free: 19.7 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006015/0.4555, allocations: 87.3 kB / 0.5318 GB, free: 19.68 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003475/0.4559, allocations: 239.7 kB / 0.5321 GB, free: 19.48 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.26e-05/0.4559, allocations: 22.28 kB / 0.5321 GB, free: 19.48 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.355e-05/0.4559, allocations: 27.94 kB / 0.5321 GB, free: 19.48 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009695/0.4569, allocations: 482.7 kB / 0.5326 GB, free: 19.36 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.041e-05/0.4569, allocations: 1.906 kB / 0.5326 GB, free: 19.36 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.715e-05/0.457, allocations: 14.84 kB / 0.5326 GB, free: 19.36 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.125e-05/0.457, allocations: 9.062 kB / 0.5326 GB, free: 19.36 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001219/0.4582, allocations: 0.6792 MB / 0.5333 GB, free: 19.36 MB / 414.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.006301/0.4645, allocations: 3.142 MB / 0.5363 GB, free: 17.77 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006728/0.4652, allocations: 212.4 kB / 0.5365 GB, free: 17.75 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001257/0.4654, allocations: 75.69 kB / 0.5366 GB, free: 17.74 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.07586/0.5412, allocations: 33.67 MB / 0.5695 GB, free: 15.12 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007628/0.542, allocations: 342.2 kB / 0.5698 GB, free: 14.87 MB / 430.1 MB Notification: Performance of pre-optimization done (n=35): time 2.124e-06/0.542, allocations: 0 / 0.5698 GB, free: 14.87 MB / 430.1 MB Notification: Performance of matching and sorting (n=36): time 0.002566/0.5446, allocations: 0.8785 MB / 0.5707 GB, free: 14.49 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002828/0.5449, allocations: 479.3 kB / 0.5711 GB, free: 13.93 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001554/0.5451, allocations: 163.4 kB / 0.5713 GB, free: 13.8 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 3.142e-05/0.5451, allocations: 35.11 kB / 0.5713 GB, free: 13.77 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001137/0.5452, allocations: 160.3 kB / 0.5715 GB, free: 13.63 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001024/0.5453, allocations: 135.5 kB / 0.5716 GB, free: 13.54 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001082/0.5455, allocations: 93.62 kB / 0.5717 GB, free: 13.5 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001546/0.5456, allocations: 331 kB / 0.572 GB, free: 13.19 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000109/0.5457, allocations: 66.2 kB / 0.5721 GB, free: 13.18 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002936/0.546, allocations: 310.4 kB / 0.5724 GB, free: 12.85 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000487/0.5465, allocations: 433.6 kB / 0.5728 GB, free: 12.52 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.546e-06/0.5465, allocations: 3 kB / 0.5728 GB, free: 12.52 MB / 430.1 MB Notification: Performance of matching and sorting (n=55) (initialization): time 0.0005911/0.5471, allocations: 419.5 kB / 0.5732 GB, free: 12.43 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.011e-05/0.5472, allocations: 6.438 kB / 0.5732 GB, free: 12.43 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.115e-05/0.5472, allocations: 12.53 kB / 0.5732 GB, free: 12.43 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.105e-05/0.5472, allocations: 12.84 kB / 0.5732 GB, free: 12.43 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001747/0.549, allocations: 349.5 kB / 0.5736 GB, free: 12.34 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006845/0.5497, allocations: 1.184 MB / 0.5747 GB, free: 11.16 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002136/0.5499, allocations: 17.27 kB / 0.5747 GB, free: 11.15 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.201e-05/0.5499, allocations: 37.55 kB / 0.5748 GB, free: 11.15 MB / 430.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 38 * 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 (55): * Single equations (assignments): 53 * 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.0001645/0.5501, allocations: 161 kB / 0.5749 GB, free: 11.02 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.744e-05/0.5502, allocations: 26.58 kB / 0.5749 GB, free: 11.01 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001097/0.5513, allocations: 0.9445 MB / 0.5759 GB, free: 10.64 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.264e-05/0.5513, allocations: 11.3 kB / 0.5759 GB, free: 10.64 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.284e-06/0.5513, allocations: 3.969 kB / 0.5759 GB, free: 10.64 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.222e-06/0.5514, allocations: 3.938 kB / 0.5759 GB, free: 10.64 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001421/0.5528, allocations: 1.428 MB / 0.5773 GB, free: 9.574 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.287e-06/0.5528, allocations: 4 kB / 0.5773 GB, free: 9.57 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001014/0.5538, allocations: 150.7 kB / 0.5774 GB, free: 9.438 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.293e-06/0.5538, allocations: 4 kB / 0.5774 GB, free: 9.434 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.814e-05/0.5539, allocations: 7.625 kB / 0.5774 GB, free: 9.43 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003418/0.5542, allocations: 0.589 MB / 0.578 GB, free: 8.824 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.194e-06/0.5542, allocations: 4.031 kB / 0.578 GB, free: 8.82 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006082/0.5548, allocations: 0.5213 MB / 0.5785 GB, free: 8.367 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.098e-05/0.5549, allocations: 112.6 kB / 0.5786 GB, free: 8.242 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.489e-05/0.555, allocations: 48.81 kB / 0.5787 GB, free: 8.199 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000236/0.5553, allocations: 11.88 kB / 0.5787 GB, free: 8.191 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.686e-05/0.5553, allocations: 19.97 kB / 0.5787 GB, free: 8.172 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.488e-05/0.5553, allocations: 19.73 kB / 0.5787 GB, free: 8.156 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0002844/0.5556, allocations: 268.8 kB / 0.579 GB, free: 7.938 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.5556, allocations: 0 / 0.579 GB, free: 7.938 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.00138/0.557, allocations: 470.6 kB / 0.5794 GB, free: 7.52 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 11 * 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 (28): * Single equations (assignments): 25 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * 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): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.002394/0.5594, allocations: 1.663 MB / 0.5811 GB, free: 6.012 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.001504/0.5609, allocations: 400.4 kB / 0.5814 GB, free: 5.727 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 4.799e-06/0.561, allocations: 0 / 0.5814 GB, free: 5.727 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000753/0.5617, allocations: 224.4 kB / 0.5816 GB, free: 5.578 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008473/0.5626, allocations: 130.8 kB / 0.5818 GB, free: 5.484 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 1.188/1.75, allocations: 0.54 GB / 1.122 GB, free: 71.55 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001955/1.751, allocations: 0.8297 MB / 1.123 GB, free: 70.7 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0003701/1.751, allocations: 168.9 kB / 1.123 GB, free: 70.57 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001528/1.751, allocations: 159.4 kB / 1.123 GB, free: 70.41 MB / 0.5762 GB Notification: Performance of SimCode: time 9.02e-07/1.751, allocations: 0 / 1.123 GB, free: 70.41 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04443/1.796, allocations: 20.22 MB / 1.143 GB, free: 50.24 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.62/14.41, allocations: 7.875 kB / 1.143 GB, free: 50.23 MB / 0.5762 GB (rm -f ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_pT.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_pT.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_pT.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_pT.sim & python3 -m fmpy simulate --output-file ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_pT_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_3_2_3_ModelicaTest_Media_TestAllProperties_IncompleteMedia_ReferenceAir_pT.fmu > ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_pT.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_pT_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Media/TestAllProperties/IncompleteMedia/ReferenceAir_pT/ReferenceAir_pT.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_pT.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches