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.001066/0.001066, allocations: 108 kB / 16.41 MB, free: 6.484 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.001141/0.001141, allocations: 188.1 kB / 17.34 MB, free: 5.762 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.341/1.341, allocations: 205.1 MB / 223.2 MB, free: 12.23 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.2144/0.2144, allocations: 43.53 MB / 314.1 MB, free: 460 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.0016/0.0016, allocations: 63.91 kB / 441.4 MB, free: 6.133 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1134/0.115, allocations: 57.78 MB / 499.1 MB, free: 12.27 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_pT): time 0.01487/0.13, allocations: 11.26 MB / 0.4984 GB, free: 0.9531 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01623/0.1462, allocations: 14.27 MB / 0.5124 GB, free: 2.641 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002575/0.1466, allocations: 0 / 0.5124 GB, free: 2.641 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004235/0.147, allocations: 75.48 kB / 0.5124 GB, free: 2.566 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01182/0.1589, allocations: 3.109 MB / 0.5155 GB, free: 15.44 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000742/0.1596, allocations: 155.7 kB / 0.5156 GB, free: 15.29 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.006747/0.1664, allocations: 3.901 MB / 0.5194 GB, free: 11.38 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.188e-05/0.1665, allocations: 12.41 kB / 0.5194 GB, free: 11.38 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002686/0.1668, allocations: 147.5 kB / 0.5196 GB, free: 11.23 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.009468/0.1763, allocations: 7.122 MB / 0.5265 GB, free: 4.102 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 7.512e-05/0.1764, allocations: 12 kB / 0.5265 GB, free: 4.09 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006562/0.1829, allocations: 2.388 MB / 0.5289 GB, free: 1.699 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 9.973e-05/0.1831, allocations: 43.77 kB / 0.5289 GB, free: 1.656 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002199/0.1833, allocations: 127.4 kB / 0.529 GB, free: 1.531 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.2635/0.4468, allocations: 1.714 MB / 0.5307 GB, free: 20.31 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.94e-06/0.4469, allocations: 1.531 kB / 0.5307 GB, free: 20.31 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.112e-06/0.4469, allocations: 0 / 0.5307 GB, free: 20.31 MB / 414.1 MB Notification: Performance of Transformations before backend: time 7.424e-06/0.4469, allocations: 0 / 0.5307 GB, free: 20.31 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.002328/0.4492, allocations: 0.9919 MB / 0.5317 GB, free: 19.71 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.157e-05/0.4493, allocations: 13.08 kB / 0.5317 GB, free: 19.71 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.644e-05/0.4493, allocations: 66.47 kB / 0.5318 GB, free: 19.67 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005928/0.4499, allocations: 80.89 kB / 0.5318 GB, free: 19.66 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003429/0.4503, allocations: 245.5 kB / 0.5321 GB, free: 19.45 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.973e-05/0.4503, allocations: 22.28 kB / 0.5321 GB, free: 19.45 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.961e-05/0.4504, allocations: 24.53 kB / 0.5321 GB, free: 19.45 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009695/0.4513, allocations: 489.2 kB / 0.5326 GB, free: 19.34 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.423e-05/0.4514, allocations: 0 / 0.5326 GB, free: 19.34 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.52e-05/0.4514, allocations: 11.59 kB / 0.5326 GB, free: 19.34 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.436e-05/0.4514, allocations: 7.656 kB / 0.5326 GB, free: 19.34 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001215/0.4527, allocations: 0.686 MB / 0.5333 GB, free: 19.34 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.006231/0.4589, allocations: 3.14 MB / 0.5363 GB, free: 17.75 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006162/0.4595, allocations: 211.7 kB / 0.5365 GB, free: 17.72 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001099/0.4596, allocations: 73.81 kB / 0.5366 GB, free: 17.71 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.07898/0.5386, allocations: 33.66 MB / 0.5695 GB, free: 15.04 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007745/0.5395, allocations: 347.5 kB / 0.5698 GB, free: 14.79 MB / 430.1 MB Notification: Performance of pre-optimization done (n=35): time 2.184e-06/0.5395, allocations: 0 / 0.5698 GB, free: 14.79 MB / 430.1 MB Notification: Performance of matching and sorting (n=36): time 0.002626/0.5421, allocations: 0.8774 MB / 0.5707 GB, free: 14.41 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002159/0.5423, allocations: 485 kB / 0.5711 GB, free: 13.84 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001522/0.5425, allocations: 159.8 kB / 0.5713 GB, free: 13.72 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 3.223e-05/0.5425, allocations: 32.17 kB / 0.5713 GB, free: 13.69 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.112e-05/0.5426, allocations: 165.5 kB / 0.5715 GB, free: 13.55 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001016/0.5427, allocations: 137 kB / 0.5716 GB, free: 13.45 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.989e-05/0.5429, allocations: 89.23 kB / 0.5717 GB, free: 13.42 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.000113/0.543, allocations: 331.9 kB / 0.572 GB, free: 13.1 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001048/0.5431, allocations: 68.33 kB / 0.5721 GB, free: 13.09 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000284/0.5434, allocations: 309.8 kB / 0.5724 GB, free: 12.77 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004377/0.5438, allocations: 435.2 kB / 0.5728 GB, free: 12.44 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.048e-06/0.5438, allocations: 3.312 kB / 0.5728 GB, free: 12.44 MB / 430.1 MB Notification: Performance of matching and sorting (n=55) (initialization): time 0.0005974/0.5444, allocations: 409.7 kB / 0.5732 GB, free: 12.35 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.922e-05/0.5445, allocations: 12.44 kB / 0.5732 GB, free: 12.35 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.131e-05/0.5445, allocations: 8.594 kB / 0.5732 GB, free: 12.35 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.422e-05/0.5445, allocations: 18.86 kB / 0.5732 GB, free: 12.34 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001855/0.5464, allocations: 344.5 kB / 0.5735 GB, free: 12.25 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005844/0.547, allocations: 1.175 MB / 0.5747 GB, free: 11.08 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000232/0.5472, allocations: 26.78 kB / 0.5747 GB, free: 11.07 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.99e-05/0.5473, allocations: 34.31 kB / 0.5747 GB, free: 11.07 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.0001488/0.5474, allocations: 165.1 kB / 0.5749 GB, free: 10.94 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.454e-05/0.5475, allocations: 34.08 kB / 0.5749 GB, free: 10.93 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001058/0.5486, allocations: 0.9396 MB / 0.5759 GB, free: 10.56 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.332e-05/0.5486, allocations: 15.42 kB / 0.5759 GB, free: 10.56 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.53e-06/0.5486, allocations: 0 / 0.5759 GB, free: 10.56 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.422e-06/0.5486, allocations: 3.969 kB / 0.5759 GB, free: 10.56 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001367/0.55, allocations: 1.431 MB / 0.5773 GB, free: 9.477 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.22e-06/0.55, allocations: 0 / 0.5773 GB, free: 9.477 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001038/0.5511, allocations: 143.3 kB / 0.5774 GB, free: 9.348 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.124e-06/0.5511, allocations: 11.25 kB / 0.5774 GB, free: 9.34 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.742e-05/0.5511, allocations: 7.75 kB / 0.5774 GB, free: 9.336 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002793/0.5514, allocations: 0.5859 MB / 0.578 GB, free: 8.73 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.759e-06/0.5514, allocations: 7.75 kB / 0.578 GB, free: 8.727 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005547/0.552, allocations: 0.5207 MB / 0.5785 GB, free: 8.27 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.268e-05/0.552, allocations: 100.9 kB / 0.5786 GB, free: 8.152 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.119e-05/0.5521, allocations: 51.19 kB / 0.5787 GB, free: 8.105 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002587/0.5524, allocations: 11.67 kB / 0.5787 GB, free: 8.098 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.801e-05/0.5524, allocations: 26.02 kB / 0.5787 GB, free: 8.078 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.111e-05/0.5525, allocations: 12.38 kB / 0.5787 GB, free: 8.07 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0002716/0.5527, allocations: 277.6 kB / 0.579 GB, free: 7.844 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.132e-06/0.5527, allocations: 4 kB / 0.579 GB, free: 7.84 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.001405/0.5542, allocations: 469.8 kB / 0.5794 GB, free: 7.422 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.002302/0.5565, allocations: 1.655 MB / 0.581 GB, free: 5.926 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.001511/0.558, allocations: 405.7 kB / 0.5814 GB, free: 5.637 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 3.717e-06/0.558, allocations: 0 / 0.5814 GB, free: 5.637 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007545/0.5588, allocations: 224.2 kB / 0.5816 GB, free: 5.488 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008305/0.5596, allocations: 123 kB / 0.5818 GB, free: 5.402 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 1.163/1.723, allocations: 0.5401 GB / 1.122 GB, free: 71.57 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002054/1.723, allocations: 0.8297 MB / 1.123 GB, free: 70.71 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0003793/1.724, allocations: 165.9 kB / 1.123 GB, free: 70.58 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001549/1.724, allocations: 159.4 kB / 1.123 GB, free: 70.42 MB / 0.5762 GB Notification: Performance of SimCode: time 1.242e-06/1.724, allocations: 0 / 1.123 GB, free: 70.42 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03838/1.762, allocations: 20.23 MB / 1.143 GB, free: 50.25 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.84/13.61, allocations: 11.88 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