Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Media_TestAllProperties_IncompleteMedia_ReferenceAir_ph",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph,fileNamePrefix="ModelicaTest_trunk_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 trunk/package.mo): time 0.00165/0.00165, allocations: 117.2 kB / 17.79 MB, free: 5.273 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001879/0.001878, allocations: 200.6 kB / 18.74 MB, free: 4.332 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.379/1.379, allocations: 227.4 MB / 246.9 MB, free: 10.47 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2212/0.2212, allocations: 46.11 MB / 344.3 MB, free: 11.5 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001329/0.001329, allocations: 76.2 kB / 480.9 MB, free: 4.523 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.384/0.3854, allocations: 62.44 MB / 0.5306 GB, free: 13.41 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph): time 0.015/0.4004, allocations: 11.28 MB / 0.5416 GB, free: 4.262 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01313/0.4136, allocations: 11.79 MB / 0.5531 GB, free: 10.63 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002172/0.4139, allocations: 3.938 kB / 0.5531 GB, free: 10.63 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000374/0.4143, allocations: 67.56 kB / 0.5532 GB, free: 10.56 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01041/0.4247, allocations: 3.128 MB / 0.5562 GB, free: 7.422 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004076/0.4252, allocations: 148.4 kB / 0.5564 GB, free: 7.281 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.005688/0.4308, allocations: 3.905 MB / 0.5602 GB, free: 3.371 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.084e-05/0.4309, allocations: 16.41 kB / 0.5602 GB, free: 3.359 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001824/0.4311, allocations: 139.5 kB / 0.5603 GB, free: 3.223 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01025/0.4414, allocations: 7.122 MB / 0.5673 GB, free: 12.09 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 6.751e-05/0.4415, allocations: 8 kB / 0.5673 GB, free: 12.09 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006014/0.4475, allocations: 2.135 MB / 0.5694 GB, free: 9.949 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001077/0.4476, allocations: 43.81 kB / 0.5694 GB, free: 9.906 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002284/0.4479, allocations: 127.4 kB / 0.5695 GB, free: 9.781 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005641/0.4535, allocations: 1.555 MB / 0.571 GB, free: 8.223 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.696e-06/0.4536, allocations: 0 / 0.571 GB, free: 8.223 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.555e-06/0.4536, allocations: 4 kB / 0.571 GB, free: 8.219 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.506e-05/0.4536, allocations: 0 / 0.571 GB, free: 8.219 MB / 430.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.003488/0.4571, allocations: 0.9452 MB / 0.572 GB, free: 7.223 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.54e-05/0.4572, allocations: 8.031 kB / 0.572 GB, free: 7.215 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001048/0.4573, allocations: 62.72 kB / 0.572 GB, free: 7.145 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006778/0.458, allocations: 84.67 kB / 0.5721 GB, free: 7.062 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004311/0.4584, allocations: 244.1 kB / 0.5723 GB, free: 6.785 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.676e-05/0.4584, allocations: 16.94 kB / 0.5724 GB, free: 6.77 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.102e-05/0.4585, allocations: 28.38 kB / 0.5724 GB, free: 6.742 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001051/0.4595, allocations: 493.3 kB / 0.5729 GB, free: 6.227 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.465e-05/0.4596, allocations: 0 / 0.5729 GB, free: 6.227 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.706e-05/0.4596, allocations: 16 kB / 0.5729 GB, free: 6.211 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.016e-05/0.4596, allocations: 8 kB / 0.5729 GB, free: 6.203 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001148/0.4608, allocations: 0.6851 MB / 0.5736 GB, free: 5.516 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.007917/0.4687, allocations: 4.3 MB / 0.5778 GB, free: 0.793 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006462/0.4694, allocations: 167.1 kB / 0.5779 GB, free: 0.6211 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000115/0.4695, allocations: 65.52 kB / 0.578 GB, free: 0.5547 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02758/0.4971, allocations: 16.41 MB / 0.594 GB, free: 13.97 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007345/0.4979, allocations: 317.9 kB / 0.5943 GB, free: 13.6 MB / 462.1 MB Notification: Performance of pre-optimization done (n=28): time 3.146e-06/0.4979, allocations: 0 / 0.5943 GB, free: 13.6 MB / 462.1 MB Notification: Performance of matching and sorting (n=28): time 0.001483/0.4994, allocations: 442.7 kB / 0.5947 GB, free: 13.16 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002041/0.4996, allocations: 482.6 kB / 0.5952 GB, free: 12.58 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000194/0.4998, allocations: 186 kB / 0.5954 GB, free: 12.39 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 3.525e-05/0.4999, allocations: 33.7 kB / 0.5954 GB, free: 12.35 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001184/0.5, allocations: 188.2 kB / 0.5956 GB, free: 12.16 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.775e-05/0.5001, allocations: 103.2 kB / 0.5957 GB, free: 12.06 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001171/0.5002, allocations: 102.1 kB / 0.5958 GB, free: 11.95 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001212/0.5003, allocations: 322.8 kB / 0.5961 GB, free: 11.63 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001209/0.5005, allocations: 64.83 kB / 0.5961 GB, free: 11.57 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002803/0.5008, allocations: 310.8 kB / 0.5964 GB, free: 11.14 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005052/0.5013, allocations: 429.3 kB / 0.5968 GB, free: 10.6 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.757e-06/0.5013, allocations: 8 kB / 0.5969 GB, free: 10.59 MB / 462.1 MB Notification: Performance of matching and sorting (n=54) (initialization): time 0.0006847/0.502, allocations: 400.9 kB / 0.5972 GB, free: 10.2 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.232e-05/0.502, allocations: 8 kB / 0.5972 GB, free: 10.19 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.668e-05/0.502, allocations: 8 kB / 0.5972 GB, free: 10.18 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.64e-05/0.5021, allocations: 12.78 kB / 0.5973 GB, free: 10.17 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003085/0.5024, allocations: 111.8 kB / 0.5974 GB, free: 10.06 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.831e-05/0.5024, allocations: 19.94 kB / 0.5974 GB, free: 10.04 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000258/0.5027, allocations: 47.61 kB / 0.5974 GB, free: 9.992 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.286e-05/0.5027, allocations: 35.98 kB / 0.5975 GB, free: 9.957 MB / 462.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.0001619/0.5029, allocations: 153.6 kB / 0.5976 GB, free: 9.797 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.646e-05/0.503, allocations: 27.86 kB / 0.5976 GB, free: 9.77 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001053/0.5041, allocations: 0.7821 MB / 0.5984 GB, free: 8.941 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.352e-05/0.5041, allocations: 7.984 kB / 0.5984 GB, free: 8.934 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.288e-06/0.5041, allocations: 4 kB / 0.5984 GB, free: 8.93 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.628e-06/0.5041, allocations: 11.88 kB / 0.5984 GB, free: 8.918 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001287/0.5054, allocations: 1.21 MB / 0.5996 GB, free: 7.57 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.02e-05/0.5054, allocations: 12.22 kB / 0.5996 GB, free: 7.559 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001092/0.5056, allocations: 32.02 kB / 0.5996 GB, free: 7.527 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.875e-06/0.5056, allocations: 11.88 kB / 0.5997 GB, free: 7.516 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.677e-05/0.5056, allocations: 8 kB / 0.5997 GB, free: 7.508 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.709e-06/0.5056, allocations: 4 kB / 0.5997 GB, free: 7.504 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.827e-06/0.5056, allocations: 0 / 0.5997 GB, free: 7.504 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004717/0.5061, allocations: 376.7 kB / 0.6 GB, free: 7.09 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.734e-05/0.5062, allocations: 116.8 kB / 0.6001 GB, free: 6.957 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.268e-05/0.5063, allocations: 47.56 kB / 0.6002 GB, free: 6.91 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002352/0.5065, allocations: 15.98 kB / 0.6002 GB, free: 6.895 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.598e-05/0.5065, allocations: 11.98 kB / 0.6002 GB, free: 6.883 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.906e-05/0.5066, allocations: 12 kB / 0.6002 GB, free: 6.871 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0003165/0.5069, allocations: 294.9 kB / 0.6005 GB, free: 6.582 MB / 462.1 MB Notification: Performance of sort global known variables: time 2.4e-07/0.5069, allocations: 0 / 0.6005 GB, free: 6.582 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.001369/0.5083, allocations: 426.6 kB / 0.6009 GB, free: 6.164 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 (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.002467/0.5107, allocations: 1.445 MB / 0.6023 GB, free: 4.66 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.000498/0.5113, allocations: 237 kB / 0.6026 GB, free: 4.43 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 4.94e-06/0.5113, allocations: 0.6875 kB / 0.6026 GB, free: 4.43 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001325/0.5114, allocations: 87.84 kB / 0.6026 GB, free: 4.344 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007819/0.5122, allocations: 110.2 kB / 0.6027 GB, free: 4.242 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 1.506/2.018, allocations: 0.5821 GB / 1.185 GB, free: 219.4 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001835/2.018, allocations: 0.8173 MB / 1.186 GB, free: 218.6 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0003335/2.019, allocations: 162.6 kB / 1.186 GB, free: 218.6 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001297/2.019, allocations: 148.2 kB / 1.186 GB, free: 218.5 MB / 0.6075 GB Notification: Performance of SimCode: time 8.42e-07/2.019, allocations: 0 / 1.186 GB, free: 218.5 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03473/2.053, allocations: 18.37 MB / 1.204 GB, free: 201.6 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.745/10.8, allocations: 6.703 kB / 1.204 GB, free: 201.6 MB / 0.6075 GB (rm -f ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph.sim & python3 -m fmpy simulate --output-file ModelicaTest_trunk_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_trunk_ModelicaTest_Media_TestAllProperties_IncompleteMedia_ReferenceAir_ph.fmu > ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_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_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches