Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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_4_0_0_ModelicaTest_Media_TestAllProperties_IncompleteMedia_ReferenceAir_pT",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_pT,fileNamePrefix="ModelicaTest_4_0_0_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.001164/0.001164, allocations: 113.4 kB / 17.78 MB, free: 5.266 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.00116/0.00116, allocations: 184.1 kB / 18.71 MB, free: 4.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.447/1.447, allocations: 222.9 MB / 242.4 MB, free: 15.05 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2267/0.2267, allocations: 44.18 MB / 336.7 MB, free: 2.676 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001509/0.001509, allocations: 67.89 kB / 470.1 MB, free: 13.64 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4323/0.4338, allocations: 60.82 MB / 0.5185 GB, free: 3.293 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_pT): time 0.01435/0.4482, allocations: 11.23 MB / 0.5294 GB, free: 11.14 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01351/0.4618, allocations: 11.78 MB / 0.5409 GB, free: 1.629 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002001/0.462, allocations: 2.062 kB / 0.5409 GB, free: 1.629 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003749/0.4625, allocations: 73.11 kB / 0.541 GB, free: 1.566 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01078/0.4732, allocations: 3.107 MB / 0.5441 GB, free: 15.26 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004406/0.4737, allocations: 155.2 kB / 0.5442 GB, free: 15.16 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.006342/0.4801, allocations: 3.899 MB / 0.548 GB, free: 13.41 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.991e-05/0.4801, allocations: 17.84 kB / 0.548 GB, free: 13.4 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001954/0.4803, allocations: 141 kB / 0.5482 GB, free: 13.34 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.009836/0.4902, allocations: 7.136 MB / 0.5551 GB, free: 6.496 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 6.888e-05/0.4903, allocations: 8 kB / 0.5551 GB, free: 6.488 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006721/0.497, allocations: 2.384 MB / 0.5575 GB, free: 4.102 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001085/0.4972, allocations: 43.83 kB / 0.5575 GB, free: 4.059 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002195/0.4974, allocations: 127.4 kB / 0.5576 GB, free: 3.934 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004935/0.5023, allocations: 1.712 MB / 0.5593 GB, free: 2.219 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.861e-06/0.5024, allocations: 0 / 0.5593 GB, free: 2.219 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.132e-06/0.5024, allocations: 0 / 0.5593 GB, free: 2.219 MB / 414.1 MB Notification: Performance of Transformations before backend: time 7.274e-06/0.5024, allocations: 4 kB / 0.5593 GB, free: 2.215 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.00235/0.5047, allocations: 0.9672 MB / 0.5602 GB, free: 1.199 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.109e-05/0.5048, allocations: 12.03 kB / 0.5603 GB, free: 1.188 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.506e-05/0.5049, allocations: 62.73 kB / 0.5603 GB, free: 1.117 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005974/0.5055, allocations: 84.58 kB / 0.5604 GB, free: 1.035 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003811/0.5059, allocations: 244 kB / 0.5606 GB, free: 0.7578 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.968e-05/0.5059, allocations: 24.88 kB / 0.5607 GB, free: 0.7344 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.016e-05/0.506, allocations: 24.38 kB / 0.5607 GB, free: 0.7109 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009573/0.5069, allocations: 493.3 kB / 0.5611 GB, free: 196 kB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.372e-05/0.5069, allocations: 0 / 0.5611 GB, free: 196 kB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.28e-05/0.507, allocations: 12 kB / 0.5612 GB, free: 184 kB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.777e-06/0.507, allocations: 4 kB / 0.5612 GB, free: 180 kB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001085/0.5081, allocations: 0.6851 MB / 0.5618 GB, free: 15.49 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.006851/0.515, allocations: 3.136 MB / 0.5649 GB, free: 12.15 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006805/0.5156, allocations: 219.3 kB / 0.5651 GB, free: 11.93 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001331/0.5158, allocations: 73.39 kB / 0.5652 GB, free: 11.86 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.08627/0.6021, allocations: 33.63 MB / 0.598 GB, free: 7.363 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008344/0.6029, allocations: 341.8 kB / 0.5983 GB, free: 6.965 MB / 462.1 MB Notification: Performance of pre-optimization done (n=35): time 3.537e-06/0.603, allocations: 0 / 0.5983 GB, free: 6.965 MB / 462.1 MB Notification: Performance of matching and sorting (n=36): time 0.002871/0.6059, allocations: 0.8589 MB / 0.5992 GB, free: 6.098 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002509/0.6061, allocations: 482.9 kB / 0.5996 GB, free: 5.516 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001772/0.6063, allocations: 154.3 kB / 0.5998 GB, free: 5.355 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 4.937e-05/0.6064, allocations: 37.7 kB / 0.5998 GB, free: 5.312 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001064/0.6065, allocations: 164 kB / 0.6 GB, free: 5.148 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000114/0.6066, allocations: 126.1 kB / 0.6001 GB, free: 5.023 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001247/0.6067, allocations: 94.23 kB / 0.6002 GB, free: 4.926 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001463/0.6069, allocations: 326.8 kB / 0.6005 GB, free: 4.598 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001271/0.607, allocations: 69.08 kB / 0.6006 GB, free: 4.531 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003514/0.6074, allocations: 306.1 kB / 0.6009 GB, free: 4.113 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005402/0.6079, allocations: 436.1 kB / 0.6013 GB, free: 3.57 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.282e-06/0.608, allocations: 4 kB / 0.6013 GB, free: 3.566 MB / 462.1 MB Notification: Performance of matching and sorting (n=55) (initialization): time 0.0007161/0.6087, allocations: 408.8 kB / 0.6017 GB, free: 3.16 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.498e-05/0.6087, allocations: 8 kB / 0.6017 GB, free: 3.152 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.364e-05/0.6087, allocations: 8 kB / 0.6017 GB, free: 3.145 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.531e-05/0.6088, allocations: 12 kB / 0.6017 GB, free: 3.133 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001914/0.6107, allocations: 360.2 kB / 0.602 GB, free: 2.781 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007029/0.6114, allocations: 1.18 MB / 0.6032 GB, free: 1.555 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002593/0.6117, allocations: 23.91 kB / 0.6032 GB, free: 1.531 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.84e-05/0.6117, allocations: 31.98 kB / 0.6032 GB, free: 1.5 MB / 462.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.0001907/0.6119, allocations: 159.4 kB / 0.6034 GB, free: 1.336 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001113/0.6121, allocations: 31.8 kB / 0.6034 GB, free: 1.305 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001213/0.6133, allocations: 0.9335 MB / 0.6043 GB, free: 344 kB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.681e-05/0.6133, allocations: 19.92 kB / 0.6044 GB, free: 324 kB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.212e-06/0.6133, allocations: 4.219 kB / 0.6044 GB, free: 320 kB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.394e-06/0.6133, allocations: 4 kB / 0.6044 GB, free: 316 kB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001575/0.6149, allocations: 1.418 MB / 0.6058 GB, free: 14.75 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.756e-06/0.6149, allocations: 4 kB / 0.6058 GB, free: 14.75 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001075/0.616, allocations: 147.9 kB / 0.6059 GB, free: 14.6 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.345e-06/0.616, allocations: 4 kB / 0.6059 GB, free: 14.6 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.339e-05/0.6161, allocations: 11.98 kB / 0.6059 GB, free: 14.59 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002992/0.6164, allocations: 0.5898 MB / 0.6065 GB, free: 13.97 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.839e-06/0.6164, allocations: 4.031 kB / 0.6065 GB, free: 13.97 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006434/0.617, allocations: 0.5112 MB / 0.607 GB, free: 13.41 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.213e-05/0.6171, allocations: 112.7 kB / 0.6071 GB, free: 13.29 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.638e-05/0.6172, allocations: 47.38 kB / 0.6071 GB, free: 13.24 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002635/0.6175, allocations: 19.98 kB / 0.6072 GB, free: 13.22 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.18e-05/0.6176, allocations: 15.98 kB / 0.6072 GB, free: 13.2 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.218e-05/0.6176, allocations: 23.92 kB / 0.6072 GB, free: 13.18 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.0002912/0.6179, allocations: 271.1 kB / 0.6075 GB, free: 12.91 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.523e-06/0.6179, allocations: 0 / 0.6075 GB, free: 12.91 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.001639/0.6195, allocations: 459.6 kB / 0.6079 GB, free: 12.46 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.002795/0.6224, allocations: 1.652 MB / 0.6095 GB, free: 10.75 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.001591/0.624, allocations: 406.8 kB / 0.6099 GB, free: 10.36 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 3.998e-06/0.624, allocations: 0 / 0.6099 GB, free: 10.36 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007787/0.6248, allocations: 223.8 kB / 0.6101 GB, free: 10.14 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008511/0.6256, allocations: 122.7 kB / 0.6102 GB, free: 10.02 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 1.227/1.852, allocations: 0.54 GB / 1.15 GB, free: 10.62 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003853/1.853, allocations: 0.8235 MB / 1.151 GB, free: 9.777 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0004133/1.853, allocations: 167.2 kB / 1.151 GB, free: 9.633 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001984/1.853, allocations: 159.4 kB / 1.151 GB, free: 9.477 MB / 0.5919 GB Notification: Performance of SimCode: time 8.22e-07/1.853, allocations: 0 / 1.151 GB, free: 9.477 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.331/2.184, allocations: 20.36 MB / 1.171 GB, free: 213.6 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.32/14.5, allocations: 18.94 kB / 1.171 GB, free: 213.6 MB / 0.5919 GB (rm -f ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_pT.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_pT.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_pT.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_pT.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_pT_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Media_TestAllProperties_IncompleteMedia_ReferenceAir_pT_fmu --startTime=0 --stopTime=0.1 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Media_TestAllProperties_IncompleteMedia_ReferenceAir_pT.fmu > ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_pT.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_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_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_pT.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches