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.001037/0.001037, allocations: 101.5 kB / 16.4 MB, free: 5.977 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.00117/0.00117, allocations: 194.6 kB / 17.34 MB, free: 5.594 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.367/1.367, allocations: 205.1 MB / 223.2 MB, free: 12.11 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.2211/0.2211, allocations: 43.53 MB / 314.1 MB, free: 440 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.001524/0.001524, allocations: 67.91 kB / 441.3 MB, free: 6.105 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1246/0.1261, allocations: 57.79 MB / 499.1 MB, free: 12.24 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_pT): time 0.0139/0.1401, allocations: 11.24 MB / 0.4984 GB, free: 0.9375 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01665/0.1568, allocations: 14.27 MB / 0.5124 GB, free: 2.621 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002569/0.1571, allocations: 4 kB / 0.5124 GB, free: 2.617 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000412/0.1576, allocations: 63.5 kB / 0.5124 GB, free: 2.555 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01189/0.1695, allocations: 3.124 MB / 0.5155 GB, free: 15.41 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006818/0.1702, allocations: 151.8 kB / 0.5156 GB, free: 15.27 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.006396/0.1766, allocations: 3.897 MB / 0.5194 GB, free: 11.36 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.987e-05/0.1767, allocations: 12.41 kB / 0.5194 GB, free: 11.36 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000322/0.177, allocations: 147.5 kB / 0.5196 GB, free: 11.21 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.009257/0.1863, allocations: 7.122 MB / 0.5265 GB, free: 4.082 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 6.634e-05/0.1864, allocations: 8 kB / 0.5265 GB, free: 4.074 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0055/0.1919, allocations: 2.388 MB / 0.5289 GB, free: 1.684 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001046/0.1921, allocations: 51.75 kB / 0.5289 GB, free: 1.633 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002098/0.1923, allocations: 123.4 kB / 0.529 GB, free: 1.512 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.2675/0.4598, allocations: 1.71 MB / 0.5307 GB, free: 20.39 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.486e-06/0.4598, allocations: 0 / 0.5307 GB, free: 20.39 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.494e-06/0.4598, allocations: 0 / 0.5307 GB, free: 20.39 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.074e-05/0.4599, allocations: 1.188 kB / 0.5307 GB, free: 20.39 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.002709/0.4626, allocations: 0.9647 MB / 0.5316 GB, free: 19.9 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.412e-05/0.4626, allocations: 15.08 kB / 0.5317 GB, free: 19.89 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.001e-05/0.4627, allocations: 63.22 kB / 0.5317 GB, free: 19.86 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005971/0.4633, allocations: 77.47 kB / 0.5318 GB, free: 19.84 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003942/0.4637, allocations: 248.6 kB / 0.532 GB, free: 19.64 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.814e-05/0.4638, allocations: 22.41 kB / 0.5321 GB, free: 19.64 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.912e-05/0.4638, allocations: 25.23 kB / 0.5321 GB, free: 19.64 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001012/0.4648, allocations: 487 kB / 0.5325 GB, free: 19.53 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.467e-05/0.4648, allocations: 1.156 kB / 0.5325 GB, free: 19.53 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.602e-05/0.4649, allocations: 13.33 kB / 0.5326 GB, free: 19.53 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.33e-05/0.4649, allocations: 7.188 kB / 0.5326 GB, free: 19.53 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001193/0.4661, allocations: 0.6827 MB / 0.5332 GB, free: 19.52 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.00657/0.4727, allocations: 3.132 MB / 0.5363 GB, free: 17.94 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000627/0.4733, allocations: 215.7 kB / 0.5365 GB, free: 17.92 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001141/0.4735, allocations: 71.45 kB / 0.5366 GB, free: 17.91 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.07984/0.5533, allocations: 33.66 MB / 0.5694 GB, free: 15.21 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007961/0.5541, allocations: 337.7 kB / 0.5698 GB, free: 14.96 MB / 430.1 MB Notification: Performance of pre-optimization done (n=35): time 5.24e-06/0.5542, allocations: 1.969 kB / 0.5698 GB, free: 14.96 MB / 430.1 MB Notification: Performance of matching and sorting (n=36): time 0.003112/0.5573, allocations: 0.8614 MB / 0.5706 GB, free: 14.61 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002482/0.5576, allocations: 481.2 kB / 0.5711 GB, free: 14.04 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001778/0.5578, allocations: 159 kB / 0.5712 GB, free: 13.93 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 4.212e-05/0.5578, allocations: 33.73 kB / 0.5712 GB, free: 13.89 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001072/0.5579, allocations: 164.5 kB / 0.5714 GB, free: 13.75 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001179/0.558, allocations: 124.2 kB / 0.5715 GB, free: 13.66 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001172/0.5582, allocations: 91.08 kB / 0.5716 GB, free: 13.63 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001385/0.5583, allocations: 333.1 kB / 0.5719 GB, free: 13.31 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001111/0.5584, allocations: 61.72 kB / 0.572 GB, free: 13.3 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002962/0.5587, allocations: 308.7 kB / 0.5723 GB, free: 12.98 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005367/0.5593, allocations: 438.3 kB / 0.5727 GB, free: 12.65 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.141e-06/0.5593, allocations: 7.219 kB / 0.5727 GB, free: 12.65 MB / 430.1 MB Notification: Performance of matching and sorting (n=55) (initialization): time 0.000799/0.5601, allocations: 409.7 kB / 0.5731 GB, free: 12.56 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.961e-05/0.5601, allocations: 12.3 kB / 0.5731 GB, free: 12.56 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.897e-05/0.5602, allocations: 9.594 kB / 0.5731 GB, free: 12.56 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.497e-05/0.5602, allocations: 9.312 kB / 0.5731 GB, free: 12.56 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001987/0.5622, allocations: 349.8 kB / 0.5735 GB, free: 12.47 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007913/0.563, allocations: 1.183 MB / 0.5746 GB, free: 11.29 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003035/0.5633, allocations: 20.38 kB / 0.5746 GB, free: 11.28 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.386e-05/0.5634, allocations: 36.05 kB / 0.5747 GB, free: 11.28 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.000237/0.5637, allocations: 159.5 kB / 0.5748 GB, free: 11.16 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001151/0.5638, allocations: 31.86 kB / 0.5748 GB, free: 11.14 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001308/0.5651, allocations: 0.943 MB / 0.5758 GB, free: 10.78 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.808e-05/0.5651, allocations: 11.52 kB / 0.5758 GB, free: 10.77 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.745e-06/0.5651, allocations: 3.969 kB / 0.5758 GB, free: 10.77 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.914e-06/0.5651, allocations: 3.969 kB / 0.5758 GB, free: 10.77 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001604/0.5668, allocations: 1.42 MB / 0.5772 GB, free: 9.703 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.613e-06/0.5668, allocations: 0 / 0.5772 GB, free: 9.703 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001065/0.5679, allocations: 143 kB / 0.5773 GB, free: 9.574 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.013e-05/0.5679, allocations: 7.984 kB / 0.5773 GB, free: 9.566 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.085e-05/0.5679, allocations: 7.938 kB / 0.5773 GB, free: 9.562 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003998/0.5683, allocations: 0.5929 MB / 0.5779 GB, free: 8.953 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.541e-06/0.5683, allocations: 4 kB / 0.5779 GB, free: 8.949 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007589/0.5691, allocations: 0.5132 MB / 0.5784 GB, free: 8.496 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001178/0.5692, allocations: 100.1 kB / 0.5785 GB, free: 8.383 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001366/0.5694, allocations: 52.12 kB / 0.5786 GB, free: 8.336 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002938/0.5697, allocations: 15.86 kB / 0.5786 GB, free: 8.324 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.369e-05/0.5697, allocations: 27.91 kB / 0.5786 GB, free: 8.301 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.749e-05/0.5698, allocations: 11.94 kB / 0.5786 GB, free: 8.293 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0003161/0.5701, allocations: 271.8 kB / 0.5789 GB, free: 8.07 MB / 430.1 MB Notification: Performance of sort global known variables: time 3.51e-07/0.5701, allocations: 2.734 kB / 0.5789 GB, free: 8.07 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.001803/0.5719, allocations: 466.7 kB / 0.5793 GB, free: 7.656 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.003016/0.5749, allocations: 1.644 MB / 0.5809 GB, free: 6.168 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.001628/0.5766, allocations: 407.9 kB / 0.5813 GB, free: 5.875 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 8.616e-06/0.5766, allocations: 4 kB / 0.5813 GB, free: 5.871 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007866/0.5774, allocations: 220.6 kB / 0.5815 GB, free: 5.727 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008849/0.5783, allocations: 124.6 kB / 0.5816 GB, free: 5.637 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 1.18/1.759, allocations: 0.54 GB / 1.122 GB, free: 71.84 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003019/1.759, allocations: 0.8219 MB / 1.122 GB, free: 71 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0004544/1.76, allocations: 169.4 kB / 1.123 GB, free: 70.86 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001836/1.76, allocations: 155.4 kB / 1.123 GB, free: 70.71 MB / 0.5762 GB Notification: Performance of SimCode: time 1.262e-06/1.76, allocations: 4 kB / 1.123 GB, free: 70.7 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04716/1.807, allocations: 20.38 MB / 1.143 GB, free: 50.38 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.1/13.91, allocations: 15.88 kB / 1.143 GB, free: 50.37 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_pT_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Media_TestAllProperties_IncompleteMedia_ReferenceAir_pT_fmu --startTime=0 --stopTime=0.1 --timeout=50 --tolerance=1e-06 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.mat","/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