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.001274/0.001274, allocations: 108.7 kB / 16.41 MB, free: 6.488 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.001221/0.001221, 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.453/1.453, allocations: 205.1 MB / 223.2 MB, free: 12.24 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.225/0.225, allocations: 43.52 MB / 314.1 MB, free: 480 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.002023/0.002023, allocations: 72.22 kB / 441.4 MB, free: 6.129 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.12/0.122, allocations: 57.79 MB / 499.1 MB, free: 12.27 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_pT): time 0.0139/0.136, allocations: 11.26 MB / 0.4984 GB, free: 0.9531 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01682/0.1528, allocations: 14.26 MB / 0.5124 GB, free: 2.645 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001755/0.153, allocations: 0 / 0.5124 GB, free: 2.645 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003642/0.1535, allocations: 71.56 kB / 0.5124 GB, free: 2.574 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.009935/0.1634, allocations: 3.113 MB / 0.5155 GB, free: 15.44 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000468/0.1639, allocations: 151.8 kB / 0.5156 GB, free: 15.29 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.005935/0.1699, allocations: 3.901 MB / 0.5194 GB, free: 11.39 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.496e-05/0.17, allocations: 16.41 kB / 0.5194 GB, free: 11.38 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002042/0.1702, allocations: 139.5 kB / 0.5196 GB, free: 11.24 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01002/0.1802, allocations: 7.122 MB / 0.5265 GB, free: 4.113 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 7.168e-05/0.1803, allocations: 12 kB / 0.5265 GB, free: 4.102 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.008165/0.1885, allocations: 2.388 MB / 0.5289 GB, free: 1.711 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001218/0.1886, allocations: 43.77 kB / 0.5289 GB, free: 1.668 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002366/0.1889, allocations: 123.5 kB / 0.529 GB, free: 1.547 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.2708/0.4597, allocations: 1.728 MB / 0.5307 GB, free: 20.39 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.482e-06/0.4597, allocations: 0.7969 kB / 0.5307 GB, free: 20.39 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.264e-06/0.4597, allocations: 0 / 0.5307 GB, free: 20.39 MB / 414.1 MB Notification: Performance of Transformations before backend: time 8.035e-06/0.4597, allocations: 0 / 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.002482/0.4622, allocations: 0.9832 MB / 0.5317 GB, free: 19.8 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.276e-05/0.4623, allocations: 13.17 kB / 0.5317 GB, free: 19.79 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.401e-05/0.4623, allocations: 66.11 kB / 0.5318 GB, free: 19.75 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005658/0.4629, allocations: 84.41 kB / 0.5318 GB, free: 19.74 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003073/0.4632, allocations: 241 kB / 0.5321 GB, free: 19.54 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.019e-05/0.4633, allocations: 24.53 kB / 0.5321 GB, free: 19.54 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.883e-05/0.4633, allocations: 26.5 kB / 0.5321 GB, free: 19.54 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009249/0.4642, allocations: 484.1 kB / 0.5326 GB, free: 19.42 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.641e-05/0.4643, allocations: 1.922 kB / 0.5326 GB, free: 19.42 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.304e-05/0.4643, allocations: 13.84 kB / 0.5326 GB, free: 19.42 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.132e-05/0.4643, allocations: 7.375 kB / 0.5326 GB, free: 19.42 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001136/0.4654, allocations: 0.6807 MB / 0.5333 GB, free: 19.42 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.006272/0.4717, allocations: 3.139 MB / 0.5363 GB, free: 17.84 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006432/0.4724, allocations: 216.5 kB / 0.5365 GB, free: 17.82 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001183/0.4725, allocations: 79.08 kB / 0.5366 GB, free: 17.8 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.07691/0.5494, allocations: 33.66 MB / 0.5695 GB, free: 15.12 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000748/0.5502, allocations: 344.8 kB / 0.5698 GB, free: 14.88 MB / 430.1 MB Notification: Performance of pre-optimization done (n=35): time 2.454e-06/0.5502, allocations: 0 / 0.5698 GB, free: 14.88 MB / 430.1 MB Notification: Performance of matching and sorting (n=36): time 0.002532/0.5528, allocations: 0.8825 MB / 0.5707 GB, free: 14.5 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002831/0.5531, allocations: 483.2 kB / 0.5711 GB, free: 13.93 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001631/0.5532, allocations: 159.2 kB / 0.5713 GB, free: 13.81 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 3.142e-05/0.5533, allocations: 32.86 kB / 0.5713 GB, free: 13.78 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001227/0.5534, allocations: 163.3 kB / 0.5715 GB, free: 13.64 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001023/0.5535, allocations: 137.7 kB / 0.5716 GB, free: 13.54 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001063/0.5536, allocations: 95.28 kB / 0.5717 GB, free: 13.51 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001453/0.5538, allocations: 324.7 kB / 0.572 GB, free: 13.19 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001161/0.5539, allocations: 74.7 kB / 0.5721 GB, free: 13.18 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002978/0.5542, allocations: 309.3 kB / 0.5724 GB, free: 12.85 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004773/0.5547, allocations: 430.6 kB / 0.5728 GB, free: 12.53 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.807e-06/0.5547, allocations: 3.844 kB / 0.5728 GB, free: 12.53 MB / 430.1 MB Notification: Performance of matching and sorting (n=55) (initialization): time 0.0005923/0.5553, allocations: 418.3 kB / 0.5732 GB, free: 12.43 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.933e-05/0.5553, allocations: 10.69 kB / 0.5732 GB, free: 12.43 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.025e-05/0.5554, allocations: 5.938 kB / 0.5732 GB, free: 12.43 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.145e-05/0.5554, allocations: 11.16 kB / 0.5732 GB, free: 12.43 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001761/0.5572, allocations: 348.1 kB / 0.5735 GB, free: 12.34 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007009/0.5579, allocations: 1.184 MB / 0.5747 GB, free: 11.16 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002243/0.5581, allocations: 15.67 kB / 0.5747 GB, free: 11.16 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.264e-05/0.5582, allocations: 34.95 kB / 0.5747 GB, free: 11.15 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.000167/0.5583, allocations: 161.1 kB / 0.5749 GB, free: 11.03 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.21e-05/0.5584, allocations: 32.02 kB / 0.5749 GB, free: 11.02 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001099/0.5595, allocations: 0.9463 MB / 0.5759 GB, free: 10.65 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.387e-05/0.5595, allocations: 14.95 kB / 0.5759 GB, free: 10.64 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.701e-06/0.5596, allocations: 2.734 kB / 0.5759 GB, free: 10.64 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.183e-06/0.5596, allocations: 3.969 kB / 0.5759 GB, free: 10.64 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001395/0.561, allocations: 1.431 MB / 0.5773 GB, free: 9.582 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.514e-06/0.561, allocations: 4 kB / 0.5773 GB, free: 9.578 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00103/0.562, allocations: 147.4 kB / 0.5774 GB, free: 9.445 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.174e-06/0.562, allocations: 4 kB / 0.5774 GB, free: 9.441 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.871e-05/0.5621, allocations: 7.875 kB / 0.5774 GB, free: 9.438 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003468/0.5624, allocations: 0.5899 MB / 0.578 GB, free: 8.832 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.17e-06/0.5624, allocations: 11.75 kB / 0.578 GB, free: 8.824 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006294/0.5631, allocations: 0.5066 MB / 0.5785 GB, free: 8.375 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.937e-05/0.5632, allocations: 112.4 kB / 0.5786 GB, free: 8.25 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.941e-05/0.5633, allocations: 47.5 kB / 0.5787 GB, free: 8.207 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002438/0.5635, allocations: 12.56 kB / 0.5787 GB, free: 8.199 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.02e-05/0.5636, allocations: 23.66 kB / 0.5787 GB, free: 8.18 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.526e-05/0.5636, allocations: 19.55 kB / 0.5787 GB, free: 8.164 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0002952/0.5639, allocations: 268 kB / 0.579 GB, free: 7.945 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.5639, allocations: 0 / 0.579 GB, free: 7.945 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.001518/0.5654, allocations: 473.2 kB / 0.5794 GB, free: 7.527 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.002346/0.5678, allocations: 1.667 MB / 0.581 GB, free: 6.016 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.00142/0.5692, allocations: 397.8 kB / 0.5814 GB, free: 5.734 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 1.497e-05/0.5692, allocations: 0 / 0.5814 GB, free: 5.734 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007402/0.57, allocations: 223.8 kB / 0.5816 GB, free: 5.586 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008171/0.5708, allocations: 126.8 kB / 0.5818 GB, free: 5.492 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 1.152/1.723, allocations: 0.5401 GB / 1.122 GB, free: 71.55 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001931/1.724, allocations: 0.8219 MB / 1.123 GB, free: 70.7 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.000357/1.724, allocations: 181.1 kB / 1.123 GB, free: 70.56 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001458/1.724, allocations: 159.4 kB / 1.123 GB, free: 70.4 MB / 0.5762 GB Notification: Performance of SimCode: time 7.52e-07/1.724, allocations: 0 / 1.123 GB, free: 70.4 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04419/1.768, allocations: 20.21 MB / 1.143 GB, free: 50.24 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.62/14.38, allocations: 12 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 & /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