Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph.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_ph,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Media_TestAllProperties_IncompleteMedia_ReferenceAir_ph",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Media_TestAllProperties_IncompleteMedia_ReferenceAir_ph",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.001536/0.001536, allocations: 118.6 kB / 17.78 MB, free: 5.125 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.001584/0.001584, allocations: 185 kB / 18.72 MB, free: 4.203 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.417/1.417, allocations: 222.9 MB / 242.4 MB, free: 15.09 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.2209/0.2209, allocations: 44.19 MB / 336.8 MB, free: 2.672 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001812/0.001812, allocations: 71.89 kB / 470.1 MB, free: 13.64 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3727/0.3745, allocations: 60.82 MB / 0.5185 GB, free: 3.297 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph): time 0.01313/0.3877, allocations: 11.23 MB / 0.5294 GB, free: 11.15 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.014/0.4017, allocations: 11.78 MB / 0.541 GB, free: 1.625 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002115/0.402, allocations: 5.469 kB / 0.541 GB, free: 1.621 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003613/0.4024, allocations: 65.25 kB / 0.541 GB, free: 1.566 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01086/0.4132, allocations: 3.112 MB / 0.5441 GB, free: 15.25 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004578/0.4137, allocations: 154.7 kB / 0.5442 GB, free: 15.15 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.006066/0.4198, allocations: 3.904 MB / 0.548 GB, free: 13.4 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.153e-05/0.4199, allocations: 14.53 kB / 0.548 GB, free: 13.4 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002089/0.4201, allocations: 143.7 kB / 0.5482 GB, free: 13.33 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01028/0.4304, allocations: 7.12 MB / 0.5551 GB, free: 6.508 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 7.143e-05/0.4305, allocations: 12 kB / 0.5551 GB, free: 6.496 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005863/0.4364, allocations: 2.127 MB / 0.5572 GB, free: 4.367 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001126/0.4365, allocations: 47.77 kB / 0.5573 GB, free: 4.32 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002169/0.4367, allocations: 127.4 kB / 0.5574 GB, free: 4.195 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004313/0.4411, allocations: 1.547 MB / 0.5589 GB, free: 2.645 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.838e-06/0.4411, allocations: 0 / 0.5589 GB, free: 2.645 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.122e-06/0.4411, allocations: 0 / 0.5589 GB, free: 2.645 MB / 414.1 MB Notification: Performance of Transformations before backend: time 5.3e-06/0.4411, allocations: 0 / 0.5589 GB, free: 2.645 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.002283/0.4434, allocations: 0.9453 MB / 0.5598 GB, free: 1.648 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.066e-05/0.4435, allocations: 8.031 kB / 0.5598 GB, free: 1.641 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.879e-05/0.4435, allocations: 62.73 kB / 0.5599 GB, free: 1.57 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005843/0.4441, allocations: 88.72 kB / 0.56 GB, free: 1.484 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004143/0.4446, allocations: 244 kB / 0.5602 GB, free: 1.207 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.96e-05/0.4446, allocations: 24.92 kB / 0.5602 GB, free: 1.184 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.542e-05/0.4446, allocations: 24.38 kB / 0.5602 GB, free: 1.16 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001068/0.4457, allocations: 489.4 kB / 0.5607 GB, free: 0.6445 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.514e-05/0.4458, allocations: 0 / 0.5607 GB, free: 0.6445 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.273e-05/0.4458, allocations: 15.94 kB / 0.5607 GB, free: 0.6289 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.779e-06/0.4458, allocations: 11.94 kB / 0.5607 GB, free: 0.6172 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001179/0.447, allocations: 0.6812 MB / 0.5614 GB, free: 15.94 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.007413/0.4544, allocations: 4.3 MB / 0.5656 GB, free: 11.21 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005726/0.455, allocations: 175 kB / 0.5658 GB, free: 11.04 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.633e-05/0.4551, allocations: 57.55 kB / 0.5658 GB, free: 10.98 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02932/0.4844, allocations: 16.41 MB / 0.5818 GB, free: 8.391 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007625/0.4852, allocations: 322 kB / 0.5822 GB, free: 8.012 MB / 446.1 MB Notification: Performance of pre-optimization done (n=28): time 3.106e-06/0.4853, allocations: 0 / 0.5822 GB, free: 8.012 MB / 446.1 MB Notification: Performance of matching and sorting (n=28): time 0.00142/0.4867, allocations: 442 kB / 0.5826 GB, free: 7.574 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002745/0.487, allocations: 479.6 kB / 0.583 GB, free: 6.996 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002071/0.4872, allocations: 187.4 kB / 0.5832 GB, free: 6.805 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 3.117e-05/0.4872, allocations: 33.7 kB / 0.5832 GB, free: 6.766 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001369/0.4874, allocations: 188.2 kB / 0.5834 GB, free: 6.578 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.395e-05/0.4875, allocations: 103.1 kB / 0.5835 GB, free: 6.477 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001308/0.4876, allocations: 90.08 kB / 0.5836 GB, free: 6.383 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001574/0.4878, allocations: 334.8 kB / 0.5839 GB, free: 6.047 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001248/0.4879, allocations: 68.83 kB / 0.584 GB, free: 5.98 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003344/0.4882, allocations: 306.8 kB / 0.5843 GB, free: 5.559 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005433/0.4888, allocations: 429 kB / 0.5847 GB, free: 5.02 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.793e-06/0.4888, allocations: 4 kB / 0.5847 GB, free: 5.016 MB / 446.1 MB Notification: Performance of matching and sorting (n=54) (initialization): time 0.0006992/0.4895, allocations: 401.6 kB / 0.5851 GB, free: 4.617 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.297e-05/0.4895, allocations: 8 kB / 0.5851 GB, free: 4.609 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.498e-05/0.4895, allocations: 15.92 kB / 0.5851 GB, free: 4.594 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.555e-05/0.4896, allocations: 12 kB / 0.5851 GB, free: 4.582 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003238/0.4899, allocations: 103.8 kB / 0.5852 GB, free: 4.48 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.032e-05/0.4899, allocations: 19.92 kB / 0.5852 GB, free: 4.461 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002437/0.4902, allocations: 55.56 kB / 0.5853 GB, free: 4.406 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.763e-05/0.4903, allocations: 28 kB / 0.5853 GB, free: 4.379 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 39 * 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 (54): * Single equations (assignments): 54 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000162/0.4904, allocations: 165.7 kB / 0.5855 GB, free: 4.207 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.047e-05/0.4905, allocations: 23.91 kB / 0.5855 GB, free: 4.184 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001148/0.4917, allocations: 0.7845 MB / 0.5863 GB, free: 3.359 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.588e-06/0.4917, allocations: 4 kB / 0.5863 GB, free: 3.355 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.813e-06/0.4917, allocations: 4 kB / 0.5863 GB, free: 3.352 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.813e-06/0.4917, allocations: 3.938 kB / 0.5863 GB, free: 3.348 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001304/0.493, allocations: 1.227 MB / 0.5875 GB, free: 1.98 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.917e-06/0.493, allocations: 0 / 0.5875 GB, free: 1.98 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001052/0.4932, allocations: 31.97 kB / 0.5875 GB, free: 1.949 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.591e-06/0.4932, allocations: 7.938 kB / 0.5875 GB, free: 1.941 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.968e-05/0.4932, allocations: 8 kB / 0.5875 GB, free: 1.934 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.976e-06/0.4932, allocations: 11.88 kB / 0.5875 GB, free: 1.922 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.258e-06/0.4932, allocations: 8.094 kB / 0.5875 GB, free: 1.914 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004649/0.4937, allocations: 372.7 kB / 0.5879 GB, free: 1.504 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.407e-05/0.4938, allocations: 104.9 kB / 0.588 GB, free: 1.383 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.389e-05/0.4938, allocations: 51.55 kB / 0.588 GB, free: 1.332 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002205/0.4941, allocations: 4 kB / 0.588 GB, free: 1.328 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.701e-05/0.4941, allocations: 23.92 kB / 0.5881 GB, free: 1.305 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.823e-05/0.4941, allocations: 11.98 kB / 0.5881 GB, free: 1.293 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0003518/0.4945, allocations: 290.9 kB / 0.5884 GB, free: 1.008 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.4945, allocations: 4 kB / 0.5884 GB, free: 1.004 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001247/0.4958, allocations: 434.5 kB / 0.5888 GB, free: 0.5781 MB / 446.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 (19): * Single equations (assignments): 18 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001954/0.4977, allocations: 1.452 MB / 0.5902 GB, free: 15.07 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.0004182/0.4982, allocations: 236.4 kB / 0.5904 GB, free: 14.84 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 2.555e-06/0.4982, allocations: 0 / 0.5904 GB, free: 14.84 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001341/0.4983, allocations: 81.48 kB / 0.5905 GB, free: 14.76 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007248/0.499, allocations: 110.4 kB / 0.5906 GB, free: 14.66 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 1.47/1.969, allocations: 0.5821 GB / 1.173 GB, free: 209.1 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002463/1.969, allocations: 0.8079 MB / 1.173 GB, free: 208.3 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0004004/1.97, allocations: 163.8 kB / 1.174 GB, free: 208.3 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001531/1.97, allocations: 146 kB / 1.174 GB, free: 208.2 MB / 0.5919 GB Notification: Performance of SimCode: time 1.273e-06/1.97, allocations: 0 / 1.174 GB, free: 208.2 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04394/2.014, allocations: 18.37 MB / 1.192 GB, free: 194.3 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.178/11.19, allocations: 15.33 kB / 1.192 GB, free: 194.3 MB / 0.5919 GB (rm -f ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph_res.csv --start-time 0 --stop-time 0.1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 4e-05 ModelicaTest_4_0_0_ModelicaTest_Media_TestAllProperties_IncompleteMedia_ReferenceAir_ph.fmu > ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestAllProperties/IncompleteMedia/ReferenceAir_ph/ReferenceAir_ph.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches