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.001266/0.001266, allocations: 102.6 kB / 16.46 MB, free: 6.445 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.001224/0.001224, allocations: 189.4 kB / 17.39 MB, free: 5.668 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.413/1.413, allocations: 207.6 MB / 225.8 MB, free: 11.54 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.218/0.218, allocations: 44.24 MB / 319.9 MB, free: 12.86 MB / 270.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.001994/0.001994, allocations: 73.3 kB / 453.6 MB, free: 9.16 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1198/0.1218, allocations: 61 MB / 0.5025 GB, free: 12.03 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_pT): time 0.01415/0.136, allocations: 11.28 MB / 0.5135 GB, free: 0.6836 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01745/0.1534, allocations: 14.31 MB / 0.5275 GB, free: 2.324 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001686/0.1536, allocations: 0 / 0.5275 GB, free: 2.324 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003775/0.154, allocations: 67.5 kB / 0.5276 GB, free: 2.258 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.2541/0.408, allocations: 3.113 MB / 0.5306 GB, free: 8.125 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004002/0.4084, allocations: 149.1 kB / 0.5307 GB, free: 8.121 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.005613/0.4141, allocations: 3.921 MB / 0.5346 GB, free: 7.824 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.931e-05/0.4141, allocations: 14.03 kB / 0.5346 GB, free: 7.824 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001795/0.4143, allocations: 141.2 kB / 0.5347 GB, free: 7.824 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.009693/0.424, allocations: 7.16 MB / 0.5417 GB, free: 7.191 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 8.703e-05/0.4241, allocations: 10.58 kB / 0.5417 GB, free: 7.191 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006772/0.4309, allocations: 2.404 MB / 0.5441 GB, free: 7.191 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 9.831e-05/0.431, allocations: 42.92 kB / 0.5441 GB, free: 7.191 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002344/0.4312, allocations: 123.2 kB / 0.5442 GB, free: 7.191 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004121/0.4353, allocations: 1.733 MB / 0.5459 GB, free: 7.086 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.477e-06/0.4353, allocations: 1.469 kB / 0.5459 GB, free: 7.086 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.064e-06/0.4353, allocations: 0 / 0.5459 GB, free: 7.086 MB / 414.1 MB Notification: Performance of Transformations before backend: time 6.432e-06/0.4353, allocations: 0 / 0.5459 GB, free: 7.086 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.002521/0.4378, allocations: 0.9889 MB / 0.5469 GB, free: 6.48 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.594e-05/0.4379, allocations: 12.33 kB / 0.5469 GB, free: 6.477 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.648e-05/0.438, allocations: 65.48 kB / 0.547 GB, free: 6.438 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000565/0.4385, allocations: 78.14 kB / 0.547 GB, free: 6.426 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003452/0.4389, allocations: 246.6 kB / 0.5473 GB, free: 6.219 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.18e-05/0.4389, allocations: 23.69 kB / 0.5473 GB, free: 6.219 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.447e-05/0.4389, allocations: 24.88 kB / 0.5473 GB, free: 6.219 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008477/0.4398, allocations: 487 kB / 0.5478 GB, free: 6.098 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.303e-05/0.4398, allocations: 4.562 kB / 0.5478 GB, free: 6.098 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.897e-05/0.4398, allocations: 13.66 kB / 0.5478 GB, free: 6.098 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.788e-06/0.4398, allocations: 7.125 kB / 0.5478 GB, free: 6.098 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009864/0.4408, allocations: 0.6832 MB / 0.5485 GB, free: 6.098 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.006444/0.4473, allocations: 3.13 MB / 0.5515 GB, free: 4.457 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006042/0.4479, allocations: 204.3 kB / 0.5517 GB, free: 4.434 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001231/0.448, allocations: 66.77 kB / 0.5518 GB, free: 4.426 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.08304/0.531, allocations: 33.65 MB / 0.5846 GB, free: 9.551 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008424/0.5319, allocations: 349.3 kB / 0.585 GB, free: 9.148 MB / 446.1 MB Notification: Performance of pre-optimization done (n=35): time 3.267e-06/0.5319, allocations: 0 / 0.585 GB, free: 9.148 MB / 446.1 MB Notification: Performance of matching and sorting (n=36): time 0.002951/0.5348, allocations: 0.8841 MB / 0.5858 GB, free: 8.293 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002808/0.5351, allocations: 475.9 kB / 0.5863 GB, free: 7.723 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001686/0.5353, allocations: 158.1 kB / 0.5864 GB, free: 7.559 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 4.152e-05/0.5353, allocations: 33.7 kB / 0.5865 GB, free: 7.52 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001248/0.5354, allocations: 172.5 kB / 0.5866 GB, free: 7.352 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001205/0.5356, allocations: 130 kB / 0.5868 GB, free: 7.227 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001194/0.5357, allocations: 99.98 kB / 0.5869 GB, free: 7.125 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001591/0.5358, allocations: 326.8 kB / 0.5872 GB, free: 6.797 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000136/0.536, allocations: 65.08 kB / 0.5872 GB, free: 6.734 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003665/0.5363, allocations: 313.4 kB / 0.5875 GB, free: 6.312 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000617/0.5369, allocations: 431.2 kB / 0.5879 GB, free: 5.812 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.019e-05/0.537, allocations: 4.875 kB / 0.588 GB, free: 5.809 MB / 446.1 MB Notification: Performance of matching and sorting (n=55) (initialization): time 0.0007656/0.5377, allocations: 407.9 kB / 0.5883 GB, free: 5.457 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.323e-05/0.5377, allocations: 8.969 kB / 0.5884 GB, free: 5.449 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.298e-05/0.5378, allocations: 8 kB / 0.5884 GB, free: 5.441 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.676e-05/0.5378, allocations: 16 kB / 0.5884 GB, free: 5.426 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001908/0.5397, allocations: 356.7 kB / 0.5887 GB, free: 5.098 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007985/0.5405, allocations: 1.182 MB / 0.5899 GB, free: 3.875 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002607/0.5408, allocations: 19.94 kB / 0.5899 GB, free: 3.855 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.47e-05/0.5408, allocations: 32.17 kB / 0.5899 GB, free: 3.824 MB / 446.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.0001863/0.541, allocations: 163.2 kB / 0.5901 GB, free: 3.664 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.854e-05/0.5411, allocations: 27.86 kB / 0.5901 GB, free: 3.637 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001333/0.5424, allocations: 0.9574 MB / 0.591 GB, free: 2.668 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.639e-05/0.5424, allocations: 11.98 kB / 0.591 GB, free: 2.656 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.051e-06/0.5425, allocations: 0 / 0.591 GB, free: 2.656 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.825e-06/0.5425, allocations: 4 kB / 0.5911 GB, free: 2.652 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001662/0.5441, allocations: 1.417 MB / 0.5924 GB, free: 1.109 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.397e-06/0.5441, allocations: 12.05 kB / 0.5924 GB, free: 1.098 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001059/0.5452, allocations: 141.2 kB / 0.5926 GB, free: 0.9648 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.244e-06/0.5452, allocations: 8 kB / 0.5926 GB, free: 0.957 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.064e-05/0.5452, allocations: 8 kB / 0.5926 GB, free: 0.9492 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003869/0.5456, allocations: 0.5977 MB / 0.5932 GB, free: 340 kB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.895e-06/0.5456, allocations: 0 / 0.5932 GB, free: 340 kB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007365/0.5463, allocations: 0.5189 MB / 0.5937 GB, free: 15.77 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001073/0.5464, allocations: 108.9 kB / 0.5938 GB, free: 15.64 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.058e-05/0.5465, allocations: 48.12 kB / 0.5938 GB, free: 15.6 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000269/0.5468, allocations: 15.98 kB / 0.5939 GB, free: 15.58 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.896e-05/0.5468, allocations: 21.48 kB / 0.5939 GB, free: 15.56 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.371e-05/0.5469, allocations: 15.98 kB / 0.5939 GB, free: 15.55 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0003164/0.5472, allocations: 273.4 kB / 0.5941 GB, free: 15.28 MB / 462.1 MB Notification: Performance of sort global known variables: time 9e-08/0.5472, allocations: 6.906 kB / 0.5942 GB, free: 15.28 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.001798/0.549, allocations: 466.6 kB / 0.5946 GB, free: 14.82 MB / 462.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.003053/0.552, allocations: 1.656 MB / 0.5962 GB, free: 13.19 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.001492/0.5535, allocations: 391 kB / 0.5966 GB, free: 12.84 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 5.2e-06/0.5535, allocations: 1.219 kB / 0.5966 GB, free: 12.84 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007742/0.5543, allocations: 196.5 kB / 0.5968 GB, free: 12.66 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007927/0.5551, allocations: 131.7 kB / 0.5969 GB, free: 12.54 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 1.093/1.648, allocations: 0.54 GB / 1.137 GB, free: 75.46 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001907/1.648, allocations: 0.8265 MB / 1.138 GB, free: 74.62 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0003679/1.649, allocations: 173.3 kB / 1.138 GB, free: 74.47 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001411/1.649, allocations: 162.8 kB / 1.138 GB, free: 74.31 MB / 0.5919 GB Notification: Performance of SimCode: time 1.383e-06/1.649, allocations: 0 / 1.138 GB, free: 74.31 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04378/1.692, allocations: 20.27 MB / 1.158 GB, free: 54.12 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.53/14.22, allocations: 11.88 kB / 1.158 GB, free: 54.11 MB / 0.5919 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