Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_pT.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_pT,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Media_TestAllProperties_IncompleteMedia_ReferenceAir_pT",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_pT,fileNamePrefix="ModelicaTest_trunk_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 trunk/package.mo): time 0.001345/0.001345, allocations: 104.1 kB / 17.63 MB, free: 5.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00153/0.00153, allocations: 214.4 kB / 18.58 MB, free: 4.406 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.386/1.386, allocations: 227.4 MB / 246.8 MB, free: 10.54 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2382/0.2382, allocations: 46.1 MB / 344.1 MB, free: 11.59 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00151/0.00151, allocations: 78.09 kB / 417.7 MB, free: 19.63 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1354/0.137, allocations: 62.43 MB / 480.1 MB, free: 5.184 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_pT): time 0.01509/0.1521, allocations: 11.29 MB / 491.4 MB, free: 9.844 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.01328/0.1654, allocations: 11.77 MB / 0.4914 GB, free: 14.03 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002321/0.1658, allocations: 0 / 0.4914 GB, free: 14.03 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004142/0.1662, allocations: 79.48 kB / 0.4915 GB, free: 13.95 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01139/0.1776, allocations: 3.125 MB / 0.4945 GB, free: 10.81 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004996/0.1781, allocations: 155.4 kB / 0.4947 GB, free: 10.66 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.006024/0.1842, allocations: 3.889 MB / 0.4985 GB, free: 6.766 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.211e-05/0.1843, allocations: 24.38 kB / 0.4985 GB, free: 6.746 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002454/0.1846, allocations: 147.4 kB / 0.4986 GB, free: 6.602 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.2401/0.4247, allocations: 7.121 MB / 0.5056 GB, free: 23 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 8.46e-05/0.4248, allocations: 8.188 kB / 0.5056 GB, free: 23 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006951/0.4318, allocations: 2.347 MB / 0.5079 GB, free: 23 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001176/0.4319, allocations: 49.86 kB / 0.5079 GB, free: 23 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002169/0.4322, allocations: 123.8 kB / 0.508 GB, free: 23 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005698/0.4379, allocations: 1.716 MB / 0.5097 GB, free: 22.93 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.951e-06/0.4379, allocations: 0 / 0.5097 GB, free: 22.93 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.913e-06/0.4379, allocations: 1.094 kB / 0.5097 GB, free: 22.93 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.634e-06/0.4379, allocations: 0 / 0.5097 GB, free: 22.93 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: 67 * Number of variables: 67 Notification: Performance of Generate backend data structure: time 0.002875/0.4408, allocations: 0.9657 MB / 0.5107 GB, free: 22.35 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.305e-05/0.4409, allocations: 9.688 kB / 0.5107 GB, free: 22.35 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.775e-05/0.4409, allocations: 64.2 kB / 0.5107 GB, free: 22.31 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006064/0.4415, allocations: 80.55 kB / 0.5108 GB, free: 22.3 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002604/0.4418, allocations: 248.4 kB / 0.5111 GB, free: 22.09 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.843e-05/0.4418, allocations: 22.47 kB / 0.5111 GB, free: 22.09 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.741e-05/0.4419, allocations: 25.38 kB / 0.5111 GB, free: 22.09 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009402/0.4428, allocations: 487.5 kB / 0.5116 GB, free: 21.98 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.335e-05/0.4429, allocations: 1.188 kB / 0.5116 GB, free: 21.98 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.625e-05/0.4429, allocations: 10.59 kB / 0.5116 GB, free: 21.98 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.107e-05/0.4429, allocations: 9.516 kB / 0.5116 GB, free: 21.98 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001126/0.444, allocations: 0.6854 MB / 0.5123 GB, free: 21.97 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.00676/0.4508, allocations: 3.13 MB / 0.5153 GB, free: 20.33 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006852/0.4515, allocations: 213.4 kB / 0.5155 GB, free: 20.3 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001304/0.4517, allocations: 74.8 kB / 0.5156 GB, free: 20.3 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.07928/0.5309, allocations: 33.64 MB / 0.5484 GB, free: 12.66 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008875/0.5319, allocations: 345.7 kB / 0.5488 GB, free: 12.3 MB / 398.1 MB Notification: Performance of pre-optimization done (n=35): time 3.186e-06/0.5319, allocations: 0 / 0.5488 GB, free: 12.3 MB / 398.1 MB Notification: Performance of matching and sorting (n=36): time 0.002934/0.5348, allocations: 0.8628 MB / 0.5496 GB, free: 11.58 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002248/0.5351, allocations: 474.1 kB / 0.5501 GB, free: 11.01 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001859/0.5353, allocations: 157.1 kB / 0.5502 GB, free: 10.86 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 4.035e-05/0.5353, allocations: 34.02 kB / 0.5502 GB, free: 10.82 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001152/0.5355, allocations: 163.9 kB / 0.5504 GB, free: 10.66 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001051/0.5356, allocations: 122.2 kB / 0.5505 GB, free: 10.54 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001251/0.5357, allocations: 90.16 kB / 0.5506 GB, free: 10.45 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001461/0.5359, allocations: 330.8 kB / 0.5509 GB, free: 10.12 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001336/0.536, allocations: 74.23 kB / 0.551 GB, free: 10.05 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000334/0.5363, allocations: 306.9 kB / 0.5513 GB, free: 9.637 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006155/0.537, allocations: 442 kB / 0.5517 GB, free: 9.125 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.148e-06/0.537, allocations: 4 kB / 0.5517 GB, free: 9.121 MB / 398.1 MB Notification: Performance of matching and sorting (n=55) (initialization): time 0.0008275/0.5378, allocations: 404.6 kB / 0.5521 GB, free: 8.773 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.338e-05/0.5379, allocations: 9.125 kB / 0.5521 GB, free: 8.766 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.748e-05/0.5379, allocations: 8 kB / 0.5521 GB, free: 8.758 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.969e-05/0.5379, allocations: 16.06 kB / 0.5521 GB, free: 8.742 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002041/0.54, allocations: 340.5 kB / 0.5524 GB, free: 8.422 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006536/0.5407, allocations: 1.187 MB / 0.5536 GB, free: 7.195 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002562/0.5409, allocations: 23.5 kB / 0.5536 GB, free: 7.176 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.079e-05/0.541, allocations: 36.19 kB / 0.5537 GB, free: 7.141 MB / 398.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.0001707/0.5412, allocations: 156.4 kB / 0.5538 GB, free: 6.988 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.817e-05/0.5413, allocations: 31.72 kB / 0.5538 GB, free: 6.957 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001306/0.5426, allocations: 0.9593 MB / 0.5548 GB, free: 5.988 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.692e-05/0.5426, allocations: 8 kB / 0.5548 GB, free: 5.98 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.232e-06/0.5426, allocations: 3.844 kB / 0.5548 GB, free: 5.98 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.086e-05/0.5426, allocations: 7.984 kB / 0.5548 GB, free: 5.973 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001691/0.5443, allocations: 1.415 MB / 0.5562 GB, free: 4.434 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.696e-06/0.5444, allocations: 4.125 kB / 0.5562 GB, free: 4.43 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001088/0.5455, allocations: 147.3 kB / 0.5563 GB, free: 4.289 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.047e-05/0.5455, allocations: 4 kB / 0.5563 GB, free: 4.285 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.072e-05/0.5455, allocations: 12 kB / 0.5563 GB, free: 4.273 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003069/0.5458, allocations: 0.5895 MB / 0.5569 GB, free: 3.664 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.33e-06/0.5458, allocations: 7.406 kB / 0.5569 GB, free: 3.66 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006666/0.5465, allocations: 0.5148 MB / 0.5574 GB, free: 3.098 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.386e-05/0.5466, allocations: 108.8 kB / 0.5575 GB, free: 2.973 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.486e-05/0.5467, allocations: 51.39 kB / 0.5576 GB, free: 2.922 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002707/0.547, allocations: 14.52 kB / 0.5576 GB, free: 2.91 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.517e-05/0.547, allocations: 23.95 kB / 0.5576 GB, free: 2.887 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.403e-05/0.5471, allocations: 12 kB / 0.5576 GB, free: 2.875 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0003184/0.5474, allocations: 275.1 kB / 0.5579 GB, free: 2.609 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.5474, allocations: 0 / 0.5579 GB, free: 2.609 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.001923/0.5493, allocations: 463.6 kB / 0.5583 GB, free: 2.156 MB / 398.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.003221/0.5526, allocations: 1.637 MB / 0.5599 GB, free: 0.5508 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.001788/0.5544, allocations: 410.6 kB / 0.5603 GB, free: 188 kB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 8.005e-06/0.5544, allocations: 4.062 kB / 0.5603 GB, free: 184 kB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007969/0.5552, allocations: 226.5 kB / 0.5605 GB, free: 15.97 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009231/0.5561, allocations: 125.5 kB / 0.5607 GB, free: 15.85 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 1.311/1.867, allocations: 0.54 GB / 1.101 GB, free: 195.9 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002712/1.867, allocations: 0.8265 MB / 1.101 GB, free: 195.2 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.0004778/1.868, allocations: 169.8 kB / 1.102 GB, free: 195.2 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002144/1.868, allocations: 158 kB / 1.102 GB, free: 195.1 MB / 0.5294 GB Notification: Performance of SimCode: time 8.31e-07/1.868, allocations: 0.7188 kB / 1.102 GB, free: 195.1 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04557/1.914, allocations: 20.1 MB / 1.121 GB, free: 184.9 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.11/14.02, allocations: 7.922 kB / 1.121 GB, free: 184.9 MB / 0.5294 GB (rm -f ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_pT.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_pT.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_pT.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_pT.sim & python3 -m fmpy simulate --output-file ModelicaTest_trunk_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_trunk_ModelicaTest_Media_TestAllProperties_IncompleteMedia_ReferenceAir_pT.fmu > ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_pT.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_pT_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestAllProperties/IncompleteMedia/ReferenceAir_pT/ReferenceAir_pT.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_pT.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches