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.001133/0.001133, allocations: 113.2 kB / 17.78 MB, free: 5.262 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001297/0.001298, allocations: 207.8 kB / 18.74 MB, free: 4.312 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.408/1.408, allocations: 227.4 MB / 246.9 MB, free: 10.46 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2233/0.2233, allocations: 46.1 MB / 344.3 MB, free: 11.52 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001363/0.001363, allocations: 75.88 kB / 480.9 MB, free: 4.539 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3599/0.3613, allocations: 62.43 MB / 0.5306 GB, free: 13.43 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_pT): time 0.0125/0.3738, allocations: 11.28 MB / 0.5416 GB, free: 4.273 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01224/0.3861, allocations: 11.78 MB / 0.5531 GB, free: 10.64 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002064/0.3863, allocations: 4 kB / 0.5531 GB, free: 10.64 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003111/0.3867, allocations: 63.5 kB / 0.5532 GB, free: 10.57 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.009424/0.3961, allocations: 3.12 MB / 0.5562 GB, free: 7.441 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000446/0.3966, allocations: 157.3 kB / 0.5563 GB, free: 7.293 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.00616/0.4028, allocations: 3.908 MB / 0.5602 GB, free: 3.379 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.551e-05/0.4029, allocations: 12.41 kB / 0.5602 GB, free: 3.371 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001884/0.4031, allocations: 143.5 kB / 0.5603 GB, free: 3.23 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01002/0.4131, allocations: 7.114 MB / 0.5673 GB, free: 12.11 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 8.234e-05/0.4132, allocations: 8 kB / 0.5673 GB, free: 12.1 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.007307/0.4205, allocations: 2.4 MB / 0.5696 GB, free: 9.699 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001219/0.4207, allocations: 47.75 kB / 0.5697 GB, free: 9.652 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002446/0.4209, allocations: 123.5 kB / 0.5698 GB, free: 9.531 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005679/0.4266, allocations: 1.722 MB / 0.5715 GB, free: 7.805 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.761e-06/0.4267, allocations: 0 / 0.5715 GB, free: 7.805 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.723e-06/0.4267, allocations: 0 / 0.5715 GB, free: 7.805 MB / 430.1 MB Notification: Performance of Transformations before backend: time 7.354e-06/0.4267, allocations: 0 / 0.5715 GB, free: 7.805 MB / 430.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.002278/0.429, allocations: 0.9917 MB / 0.5724 GB, free: 6.762 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.22e-05/0.429, allocations: 8.031 kB / 0.5724 GB, free: 6.754 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.541e-05/0.4291, allocations: 66.72 kB / 0.5725 GB, free: 6.68 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006021/0.4297, allocations: 76.73 kB / 0.5726 GB, free: 6.605 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003813/0.4301, allocations: 251.9 kB / 0.5728 GB, free: 6.32 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.145e-05/0.4301, allocations: 28.92 kB / 0.5728 GB, free: 6.293 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.92e-05/0.4302, allocations: 24.38 kB / 0.5729 GB, free: 6.27 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009276/0.4311, allocations: 485.4 kB / 0.5733 GB, free: 5.762 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.253e-05/0.4311, allocations: 0 / 0.5733 GB, free: 5.762 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.171e-05/0.4312, allocations: 16 kB / 0.5733 GB, free: 5.746 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.808e-06/0.4312, allocations: 8 kB / 0.5733 GB, free: 5.738 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001048/0.4322, allocations: 0.6812 MB / 0.574 GB, free: 5.055 MB / 430.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.006204/0.4384, allocations: 3.136 MB / 0.5771 GB, free: 1.715 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000631/0.4391, allocations: 220.2 kB / 0.5773 GB, free: 1.492 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001113/0.4392, allocations: 69.39 kB / 0.5774 GB, free: 1.422 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.08005/0.5193, allocations: 33.66 MB / 0.6102 GB, free: 12.9 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007772/0.5201, allocations: 350.5 kB / 0.6106 GB, free: 12.5 MB / 478.1 MB Notification: Performance of pre-optimization done (n=35): time 3.947e-06/0.5201, allocations: 0 / 0.6106 GB, free: 12.5 MB / 478.1 MB Notification: Performance of matching and sorting (n=36): time 0.002713/0.5228, allocations: 0.8832 MB / 0.6114 GB, free: 11.61 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001874/0.523, allocations: 483.1 kB / 0.6119 GB, free: 11.03 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001463/0.5232, allocations: 161.4 kB / 0.612 GB, free: 10.86 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 3.483e-05/0.5232, allocations: 33.7 kB / 0.6121 GB, free: 10.82 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001023/0.5233, allocations: 168.3 kB / 0.6122 GB, free: 10.66 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.382e-05/0.5234, allocations: 130.9 kB / 0.6123 GB, free: 10.53 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001137/0.5236, allocations: 90.2 kB / 0.6124 GB, free: 10.43 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001092/0.5237, allocations: 330.8 kB / 0.6127 GB, free: 10.1 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001233/0.5238, allocations: 69.08 kB / 0.6128 GB, free: 10.04 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002792/0.5241, allocations: 310.2 kB / 0.6131 GB, free: 9.613 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004962/0.5246, allocations: 432.1 kB / 0.6135 GB, free: 9.074 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.927e-06/0.5246, allocations: 0 / 0.6135 GB, free: 9.074 MB / 478.1 MB Notification: Performance of matching and sorting (n=55) (initialization): time 0.0006958/0.5253, allocations: 413.5 kB / 0.6139 GB, free: 8.664 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.321e-05/0.5254, allocations: 12 kB / 0.6139 GB, free: 8.652 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.344e-05/0.5254, allocations: 8 kB / 0.6139 GB, free: 8.645 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.104e-05/0.5254, allocations: 12 kB / 0.6139 GB, free: 8.633 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001873/0.5273, allocations: 351.7 kB / 0.6143 GB, free: 8.289 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006112/0.5279, allocations: 1.188 MB / 0.6154 GB, free: 7.055 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002263/0.5281, allocations: 23.94 kB / 0.6155 GB, free: 7.031 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.898e-05/0.5282, allocations: 28 kB / 0.6155 GB, free: 7.004 MB / 478.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.0001599/0.5284, allocations: 157.6 kB / 0.6156 GB, free: 6.84 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.045e-05/0.5285, allocations: 23.86 kB / 0.6157 GB, free: 6.816 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001201/0.5297, allocations: 0.9543 MB / 0.6166 GB, free: 5.828 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.227e-05/0.5297, allocations: 8 kB / 0.6166 GB, free: 5.82 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.795e-06/0.5297, allocations: 4 kB / 0.6166 GB, free: 5.816 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.324e-06/0.5297, allocations: 3.984 kB / 0.6166 GB, free: 5.812 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001424/0.5312, allocations: 1.422 MB / 0.618 GB, free: 4.25 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.641e-06/0.5312, allocations: 0 / 0.618 GB, free: 4.25 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001027/0.5322, allocations: 147.9 kB / 0.6181 GB, free: 4.105 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.107e-06/0.5322, allocations: 4 kB / 0.6181 GB, free: 4.102 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.361e-05/0.5323, allocations: 12 kB / 0.6182 GB, free: 4.09 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002808/0.5326, allocations: 0.5859 MB / 0.6187 GB, free: 3.48 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.338e-06/0.5326, allocations: 7.938 kB / 0.6187 GB, free: 3.473 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006175/0.5332, allocations: 0.5308 MB / 0.6193 GB, free: 2.898 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.538e-05/0.5333, allocations: 100.9 kB / 0.6194 GB, free: 2.781 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.151e-05/0.5334, allocations: 55.5 kB / 0.6194 GB, free: 2.727 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002708/0.5336, allocations: 11.98 kB / 0.6194 GB, free: 2.715 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.769e-05/0.5337, allocations: 31.91 kB / 0.6194 GB, free: 2.684 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.2e-05/0.5337, allocations: 12 kB / 0.6195 GB, free: 2.672 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.0002827/0.534, allocations: 275.1 kB / 0.6197 GB, free: 2.402 MB / 478.1 MB Notification: Performance of sort global known variables: time 2.4e-07/0.534, allocations: 0 / 0.6197 GB, free: 2.402 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.001417/0.5354, allocations: 466.6 kB / 0.6202 GB, free: 1.945 MB / 478.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.002508/0.538, allocations: 1.652 MB / 0.6218 GB, free: 236 kB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.001482/0.5395, allocations: 394.1 kB / 0.6222 GB, free: 15.85 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 4.579e-06/0.5395, allocations: 4 kB / 0.6222 GB, free: 15.84 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007682/0.5403, allocations: 233.4 kB / 0.6224 GB, free: 15.62 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007548/0.541, allocations: 117.8 kB / 0.6225 GB, free: 15.5 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 1.227/1.768, allocations: 0.54 GB / 1.163 GB, free: 11.79 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000191/1.768, allocations: 0.8313 MB / 1.163 GB, free: 10.94 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0003305/1.769, allocations: 171.2 kB / 1.164 GB, free: 10.79 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001428/1.769, allocations: 159.4 kB / 1.164 GB, free: 10.63 MB / 0.6075 GB Notification: Performance of SimCode: time 7.32e-07/1.769, allocations: 0 / 1.164 GB, free: 10.63 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.319/2.088, allocations: 20.19 MB / 1.183 GB, free: 220.9 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.15/14.24, allocations: 12.53 kB / 1.183 GB, free: 220.9 MB / 0.6075 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