Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_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 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_ph,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Media_TestAllProperties_IncompleteMedia_ReferenceAir_ph",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph,fileNamePrefix="ModelicaTest_3_2_3_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.001161/0.001161, allocations: 108.5 kB / 16.41 MB, free: 6.5 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.0009983/0.0009984, allocations: 185.5 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.312/1.312, 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.1932/0.1932, allocations: 43.52 MB / 314.1 MB, free: 468 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.001431/0.001431, allocations: 75.89 kB / 441.4 MB, free: 6.125 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1186/0.1201, allocations: 57.79 MB / 499.1 MB, free: 12.26 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph): time 0.01296/0.1331, allocations: 11.26 MB / 0.4984 GB, free: 0.9453 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01661/0.1497, allocations: 14.26 MB / 0.5124 GB, free: 2.637 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002678/0.15, allocations: 0 / 0.5124 GB, free: 2.637 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004437/0.1506, allocations: 71.5 kB / 0.5124 GB, free: 2.566 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01186/0.1625, allocations: 3.117 MB / 0.5155 GB, free: 15.43 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004243/0.1629, allocations: 155.7 kB / 0.5156 GB, free: 15.28 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.005328/0.1682, allocations: 3.897 MB / 0.5194 GB, free: 11.38 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.38e-05/0.1683, allocations: 16.41 kB / 0.5194 GB, free: 11.37 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001844/0.1685, allocations: 139.5 kB / 0.5196 GB, free: 11.23 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.009335/0.1779, allocations: 7.122 MB / 0.5265 GB, free: 4.102 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 6.127e-05/0.178, allocations: 8 kB / 0.5265 GB, free: 4.094 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005573/0.1835, allocations: 2.131 MB / 0.5286 GB, free: 1.961 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001064/0.1837, allocations: 47.75 kB / 0.5287 GB, free: 1.914 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002135/0.1839, allocations: 127.4 kB / 0.5288 GB, free: 1.789 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003977/0.1879, allocations: 1.547 MB / 0.5303 GB, free: 244 kB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.671e-06/0.1879, allocations: 0 / 0.5303 GB, free: 244 kB / 414.1 MB Notification: Performance of FrontEnd: time 4.048e-06/0.1879, allocations: 0 / 0.5303 GB, free: 244 kB / 414.1 MB Notification: Performance of Transformations before backend: time 6.261e-06/0.1879, allocations: 3.938 kB / 0.5303 GB, free: 240 kB / 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.2111/0.399, allocations: 0.9319 MB / 0.5312 GB, free: 42.98 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.65e-05/0.3991, allocations: 16.88 kB / 0.5312 GB, free: 42.98 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.737e-05/0.3991, allocations: 64.38 kB / 0.5313 GB, free: 42.94 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005666/0.3997, allocations: 80.14 kB / 0.5314 GB, free: 42.93 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002729/0.4, allocations: 256.5 kB / 0.5316 GB, free: 42.72 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.9e-05/0.4, allocations: 20.53 kB / 0.5316 GB, free: 42.72 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.542e-05/0.4001, allocations: 26.38 kB / 0.5317 GB, free: 42.72 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008537/0.4009, allocations: 482.1 kB / 0.5321 GB, free: 42.61 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.274e-05/0.4009, allocations: 3.938 kB / 0.5321 GB, free: 42.61 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.312e-05/0.401, allocations: 14.55 kB / 0.5321 GB, free: 42.61 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.426e-06/0.401, allocations: 7 kB / 0.5321 GB, free: 42.61 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001007/0.402, allocations: 0.6813 MB / 0.5328 GB, free: 42.61 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.006277/0.4083, allocations: 4.305 MB / 0.537 GB, free: 39.9 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005408/0.4088, allocations: 170.5 kB / 0.5372 GB, free: 39.88 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.919e-05/0.4089, allocations: 57.81 kB / 0.5372 GB, free: 39.87 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02537/0.4343, allocations: 16.41 MB / 0.5533 GB, free: 28.19 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006334/0.435, allocations: 319.4 kB / 0.5536 GB, free: 27.96 MB / 414.1 MB Notification: Performance of pre-optimization done (n=28): time 2.224e-06/0.435, allocations: 3.125 kB / 0.5536 GB, free: 27.96 MB / 414.1 MB Notification: Performance of matching and sorting (n=28): time 0.001262/0.4363, allocations: 443.8 kB / 0.554 GB, free: 27.82 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.321e-05/0.4364, allocations: 481.2 kB / 0.5544 GB, free: 27.25 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001373/0.4365, allocations: 185.4 kB / 0.5546 GB, free: 27.12 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.975e-05/0.4365, allocations: 32.23 kB / 0.5547 GB, free: 27.08 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.373e-05/0.4366, allocations: 190.9 kB / 0.5548 GB, free: 26.91 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.283e-05/0.4367, allocations: 109.7 kB / 0.5549 GB, free: 26.83 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.371e-05/0.4368, allocations: 94.27 kB / 0.555 GB, free: 26.78 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 4.506e-05/0.4368, allocations: 330.7 kB / 0.5553 GB, free: 26.46 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001023/0.4369, allocations: 64.2 kB / 0.5554 GB, free: 26.44 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001867/0.4371, allocations: 323.2 kB / 0.5557 GB, free: 26.08 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003328/0.4375, allocations: 416.7 kB / 0.5561 GB, free: 25.67 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.17e-06/0.4375, allocations: 1.469 kB / 0.5561 GB, free: 25.67 MB / 414.1 MB Notification: Performance of matching and sorting (n=54) (initialization): time 0.0005728/0.438, allocations: 397.2 kB / 0.5565 GB, free: 25.5 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.079e-05/0.4381, allocations: 13.44 kB / 0.5565 GB, free: 25.5 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.083e-05/0.4381, allocations: 8.938 kB / 0.5565 GB, free: 25.5 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.26e-05/0.4381, allocations: 11.38 kB / 0.5565 GB, free: 25.5 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002929/0.4384, allocations: 114.4 kB / 0.5566 GB, free: 25.48 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.619e-05/0.4384, allocations: 19.45 kB / 0.5567 GB, free: 25.47 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002436/0.4387, allocations: 51.59 kB / 0.5567 GB, free: 25.44 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.225e-05/0.4387, allocations: 32.34 kB / 0.5567 GB, free: 25.43 MB / 414.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.0001/0.4388, allocations: 158.3 kB / 0.5569 GB, free: 25.28 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.491e-05/0.4389, allocations: 23.16 kB / 0.5569 GB, free: 25.27 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008109/0.4397, allocations: 0.7889 MB / 0.5577 GB, free: 24.73 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.011e-05/0.4398, allocations: 3.781 kB / 0.5577 GB, free: 24.73 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.211e-06/0.4398, allocations: 3.531 kB / 0.5577 GB, free: 24.73 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.049e-06/0.4398, allocations: 1.125 kB / 0.5577 GB, free: 24.73 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009229/0.4407, allocations: 1.219 MB / 0.5589 GB, free: 23.64 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.603e-06/0.4407, allocations: 11.25 kB / 0.5589 GB, free: 23.64 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001031/0.4408, allocations: 27.86 kB / 0.5589 GB, free: 23.63 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.28e-06/0.4409, allocations: 3.25 kB / 0.5589 GB, free: 23.63 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.369e-05/0.4409, allocations: 16.95 kB / 0.5589 GB, free: 23.62 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.66e-06/0.4409, allocations: 7.156 kB / 0.5589 GB, free: 23.62 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.857e-06/0.4409, allocations: 3 kB / 0.5589 GB, free: 23.62 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003277/0.4412, allocations: 384.5 kB / 0.5593 GB, free: 23.29 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.36e-05/0.4413, allocations: 102 kB / 0.5594 GB, free: 23.18 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.896e-05/0.4414, allocations: 48.12 kB / 0.5595 GB, free: 23.15 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002298/0.4416, allocations: 18.77 kB / 0.5595 GB, free: 23.14 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.28e-05/0.4416, allocations: 12.3 kB / 0.5595 GB, free: 23.13 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.572e-05/0.4416, allocations: 18.78 kB / 0.5595 GB, free: 23.12 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0002563/0.4419, allocations: 296.2 kB / 0.5598 GB, free: 22.94 MB / 414.1 MB Notification: Performance of sort global known variables: time 7.41e-07/0.4419, allocations: 0 / 0.5598 GB, free: 22.94 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.001177/0.4431, allocations: 433.4 kB / 0.5602 GB, free: 22.8 MB / 414.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.001558/0.4447, allocations: 1.437 MB / 0.5616 GB, free: 21.78 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0003943/0.4451, allocations: 241 kB / 0.5618 GB, free: 21.68 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.897e-06/0.4451, allocations: 1 kB / 0.5618 GB, free: 21.68 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 9.726e-05/0.4452, allocations: 83.86 kB / 0.5619 GB, free: 21.64 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007404/0.4459, allocations: 115 kB / 0.562 GB, free: 21.58 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 1.184/1.63, allocations: 0.5821 GB / 1.144 GB, free: 24.58 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002489/1.63, allocations: 0.8151 MB / 1.145 GB, free: 23.74 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0003973/1.63, allocations: 158.7 kB / 1.145 GB, free: 23.61 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001641/1.631, allocations: 147.4 kB / 1.145 GB, free: 23.46 MB / 0.5606 GB Notification: Performance of SimCode: time 9.82e-07/1.631, allocations: 0 / 1.145 GB, free: 23.46 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03476/1.665, allocations: 18.38 MB / 1.163 GB, free: 5.113 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.509/10.17, allocations: 7.797 kB / 1.163 GB, free: 5.105 MB / 0.5606 GB (rm -f ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph.sim & python3 -m fmpy simulate --output-file ModelicaTest_3.2.3_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_3_2_3_ModelicaTest_Media_TestAllProperties_IncompleteMedia_ReferenceAir_ph.fmu > ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Media/TestAllProperties/IncompleteMedia/ReferenceAir_ph/ReferenceAir_ph.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches