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.001246/0.001246, allocations: 118.8 kB / 17.79 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.001332/0.001333, allocations: 202 kB / 18.73 MB, free: 4.324 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.411/1.411, 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.2191/0.2191, allocations: 46.1 MB / 344.3 MB, free: 11.5 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001464/0.001464, allocations: 71.88 kB / 480.9 MB, free: 4.531 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3874/0.3889, allocations: 62.43 MB / 0.5305 GB, free: 13.41 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_pT): time 0.01367/0.4026, allocations: 11.29 MB / 0.5416 GB, free: 4.246 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01304/0.4157, allocations: 11.78 MB / 0.5531 GB, free: 10.64 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002366/0.416, allocations: 0 / 0.5531 GB, free: 10.64 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003719/0.4164, allocations: 71.56 kB / 0.5532 GB, free: 10.57 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01088/0.4273, allocations: 3.118 MB / 0.5562 GB, free: 7.445 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004448/0.4278, allocations: 150.1 kB / 0.5563 GB, free: 7.301 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.005665/0.4334, allocations: 3.897 MB / 0.5601 GB, free: 3.398 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.741e-05/0.4335, allocations: 20.41 kB / 0.5602 GB, free: 3.383 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002659/0.4338, allocations: 139.5 kB / 0.5603 GB, free: 3.246 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.009172/0.443, allocations: 7.129 MB / 0.5673 GB, free: 12.11 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 5.791e-05/0.4431, allocations: 8 kB / 0.5673 GB, free: 12.1 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.007085/0.4502, allocations: 2.384 MB / 0.5696 GB, free: 9.715 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001154/0.4503, allocations: 51.8 kB / 0.5696 GB, free: 9.664 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000227/0.4506, allocations: 123.4 kB / 0.5698 GB, free: 9.543 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006656/0.4572, allocations: 1.715 MB / 0.5714 GB, free: 7.824 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.029e-05/0.4573, allocations: 4 kB / 0.5714 GB, free: 7.82 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.653e-06/0.4573, allocations: 0 / 0.5714 GB, free: 7.82 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.453e-05/0.4573, allocations: 3.938 kB / 0.5714 GB, free: 7.816 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.00277/0.4601, allocations: 0.971 MB / 0.5724 GB, free: 6.797 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.873e-05/0.4601, allocations: 12.03 kB / 0.5724 GB, free: 6.785 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.249e-05/0.4602, allocations: 62.72 kB / 0.5725 GB, free: 6.715 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006871/0.4609, allocations: 72.69 kB / 0.5725 GB, free: 6.645 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004876/0.4614, allocations: 248 kB / 0.5728 GB, free: 6.363 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.197e-05/0.4614, allocations: 20.94 kB / 0.5728 GB, free: 6.344 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.039e-05/0.4615, allocations: 24.38 kB / 0.5728 GB, free: 6.32 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00107/0.4626, allocations: 493.3 kB / 0.5733 GB, free: 5.805 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.578e-05/0.4626, allocations: 4 kB / 0.5733 GB, free: 5.801 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.538e-05/0.4626, allocations: 8 kB / 0.5733 GB, free: 5.793 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.626e-06/0.4627, allocations: 8 kB / 0.5733 GB, free: 5.785 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00115/0.4638, allocations: 0.689 MB / 0.574 GB, free: 5.094 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.006736/0.4706, allocations: 3.136 MB / 0.577 GB, free: 1.754 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006603/0.4712, allocations: 208.2 kB / 0.5772 GB, free: 1.543 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001231/0.4714, allocations: 73.39 kB / 0.5773 GB, free: 1.469 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.08207/0.5534, allocations: 33.63 MB / 0.6102 GB, free: 12.97 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007688/0.5543, allocations: 362.4 kB / 0.6105 GB, free: 12.55 MB / 478.1 MB Notification: Performance of pre-optimization done (n=35): time 2.645e-06/0.5543, allocations: 0 / 0.6105 GB, free: 12.55 MB / 478.1 MB Notification: Performance of matching and sorting (n=36): time 0.002589/0.5569, allocations: 0.8615 MB / 0.6113 GB, free: 11.69 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002097/0.5571, allocations: 478.5 kB / 0.6118 GB, free: 11.11 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001488/0.5573, allocations: 165.4 kB / 0.612 GB, free: 10.94 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 3.13e-05/0.5573, allocations: 34.02 kB / 0.612 GB, free: 10.9 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.92e-05/0.5574, allocations: 160 kB / 0.6121 GB, free: 10.74 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.962e-05/0.5575, allocations: 130.1 kB / 0.6123 GB, free: 10.61 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001026/0.5576, allocations: 86.25 kB / 0.6123 GB, free: 10.52 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001259/0.5577, allocations: 330.8 kB / 0.6127 GB, free: 10.19 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001123/0.5579, allocations: 69.08 kB / 0.6127 GB, free: 10.12 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000289/0.5582, allocations: 310.2 kB / 0.613 GB, free: 9.703 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004641/0.5586, allocations: 432.1 kB / 0.6134 GB, free: 9.164 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.599e-06/0.5586, allocations: 4 kB / 0.6134 GB, free: 9.16 MB / 478.1 MB Notification: Performance of matching and sorting (n=55) (initialization): time 0.0006377/0.5593, allocations: 421.3 kB / 0.6138 GB, free: 8.742 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.057e-05/0.5593, allocations: 8 kB / 0.6138 GB, free: 8.734 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.121e-05/0.5593, allocations: 8.094 kB / 0.6139 GB, free: 8.727 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.233e-05/0.5594, allocations: 16 kB / 0.6139 GB, free: 8.711 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001921/0.5613, allocations: 343.5 kB / 0.6142 GB, free: 8.375 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005788/0.5619, allocations: 1.176 MB / 0.6153 GB, free: 7.152 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002069/0.5621, allocations: 23.91 kB / 0.6154 GB, free: 7.129 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.64e-05/0.5621, allocations: 32.19 kB / 0.6154 GB, free: 7.098 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.0001524/0.5623, allocations: 161.6 kB / 0.6156 GB, free: 6.93 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.116e-05/0.5624, allocations: 27.75 kB / 0.6156 GB, free: 6.902 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001227/0.5636, allocations: 0.942 MB / 0.6165 GB, free: 5.926 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.12e-05/0.5637, allocations: 8 kB / 0.6165 GB, free: 5.918 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.893e-06/0.5637, allocations: 4 kB / 0.6165 GB, free: 5.914 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.007e-06/0.5637, allocations: 11.97 kB / 0.6165 GB, free: 5.902 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00138/0.5651, allocations: 1.42 MB / 0.6179 GB, free: 4.344 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.085e-06/0.5651, allocations: 4 kB / 0.6179 GB, free: 4.34 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001055/0.5661, allocations: 151.9 kB / 0.6181 GB, free: 4.191 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.272e-06/0.5662, allocations: 4 kB / 0.6181 GB, free: 4.188 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.854e-05/0.5662, allocations: 8 kB / 0.6181 GB, free: 4.18 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003024/0.5665, allocations: 0.5859 MB / 0.6186 GB, free: 3.57 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.208e-06/0.5665, allocations: 4.031 kB / 0.6186 GB, free: 3.566 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005849/0.5671, allocations: 0.5228 MB / 0.6192 GB, free: 3 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.834e-05/0.5672, allocations: 112.7 kB / 0.6193 GB, free: 2.871 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.91e-05/0.5673, allocations: 47.36 kB / 0.6193 GB, free: 2.824 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002419/0.5675, allocations: 8 kB / 0.6193 GB, free: 2.816 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.722e-05/0.5676, allocations: 27.91 kB / 0.6193 GB, free: 2.789 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.333e-05/0.5676, allocations: 16 kB / 0.6194 GB, free: 2.773 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.0002688/0.5679, allocations: 279.1 kB / 0.6196 GB, free: 2.5 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.5679, allocations: 0 / 0.6196 GB, free: 2.5 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.00139/0.5693, allocations: 459.6 kB / 0.6201 GB, free: 2.051 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.00209/0.5714, allocations: 1.637 MB / 0.6217 GB, free: 360 kB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.001497/0.5729, allocations: 406.6 kB / 0.6221 GB, free: 15.96 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 5.841e-06/0.5729, allocations: 0 / 0.6221 GB, free: 15.96 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007756/0.5737, allocations: 228.9 kB / 0.6223 GB, free: 15.73 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007657/0.5745, allocations: 117.8 kB / 0.6224 GB, free: 15.61 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 1.271/1.845, allocations: 0.54 GB / 1.162 GB, free: 14.58 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000198/1.846, allocations: 0.8195 MB / 1.163 GB, free: 13.74 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0003634/1.846, allocations: 173.4 kB / 1.163 GB, free: 13.59 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001493/1.846, allocations: 159.4 kB / 1.163 GB, free: 13.43 MB / 0.6075 GB Notification: Performance of SimCode: time 1.002e-06/1.846, allocations: 4 kB / 1.163 GB, free: 13.43 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3135/2.16, allocations: 20.36 MB / 1.183 GB, free: 222.4 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.25/14.41, allocations: 9.281 kB / 1.183 GB, free: 222.4 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_pT_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Media_TestAllProperties_IncompleteMedia_ReferenceAir_pT_fmu --startTime=0 --stopTime=0.1 --timeout=50 --tolerance=1e-06 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.mat","/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