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.001355/0.001355, allocations: 103.8 kB / 17.63 MB, free: 5.48 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00156/0.00156, allocations: 212.6 kB / 18.58 MB, free: 4.535 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.357/1.357, allocations: 227.4 MB / 246.8 MB, free: 10.61 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2258/0.2258, allocations: 46.1 MB / 344.1 MB, free: 11.61 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001404/0.001405, allocations: 74.47 kB / 417.7 MB, free: 19.64 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.107/0.1085, allocations: 62.44 MB / 480.1 MB, free: 5.191 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph): time 0.01234/0.1208, allocations: 11.28 MB / 491.4 MB, free: 9.855 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.01153/0.1324, allocations: 11.78 MB / 0.4914 GB, free: 14.04 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001693/0.1326, allocations: 0 / 0.4914 GB, free: 14.04 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003026/0.1329, allocations: 79.48 kB / 0.4915 GB, free: 13.96 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008455/0.1414, allocations: 3.113 MB / 0.4945 GB, free: 10.83 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003993/0.1418, allocations: 155.3 kB / 0.4947 GB, free: 10.68 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.005109/0.1469, allocations: 3.897 MB / 0.4985 GB, free: 6.777 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.962e-05/0.147, allocations: 20.39 kB / 0.4985 GB, free: 6.762 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000159/0.1472, allocations: 139.5 kB / 0.4986 GB, free: 6.625 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.2195/0.3666, allocations: 7.122 MB / 0.5056 GB, free: 22.45 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 7.272e-05/0.3668, allocations: 8.625 kB / 0.5056 GB, free: 22.45 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005991/0.3728, allocations: 2.101 MB / 0.5076 GB, free: 22.45 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001162/0.3729, allocations: 41.34 kB / 0.5077 GB, free: 22.45 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002356/0.3732, allocations: 130.7 kB / 0.5078 GB, free: 22.45 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004783/0.3779, allocations: 1.54 MB / 0.5093 GB, free: 22.4 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.911e-06/0.378, allocations: 0.9375 kB / 0.5093 GB, free: 22.4 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.365e-06/0.378, allocations: 3.969 kB / 0.5093 GB, free: 22.4 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.634e-06/0.378, allocations: 0 / 0.5093 GB, free: 22.4 MB / 382.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.002746/0.3808, allocations: 0.9195 MB / 0.5102 GB, free: 21.84 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.741e-05/0.3808, allocations: 14.19 kB / 0.5102 GB, free: 21.84 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.001e-05/0.3809, allocations: 64.59 kB / 0.5103 GB, free: 21.8 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005968/0.3815, allocations: 79.27 kB / 0.5104 GB, free: 21.79 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002824/0.3818, allocations: 243.7 kB / 0.5106 GB, free: 21.59 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.524e-05/0.3818, allocations: 20.03 kB / 0.5106 GB, free: 21.59 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.154e-05/0.3819, allocations: 25.94 kB / 0.5106 GB, free: 21.59 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009461/0.3828, allocations: 494.6 kB / 0.5111 GB, free: 21.48 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.831e-05/0.3829, allocations: 1.125 kB / 0.5111 GB, free: 21.48 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.426e-05/0.3829, allocations: 13.94 kB / 0.5111 GB, free: 21.48 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.214e-05/0.3829, allocations: 6.781 kB / 0.5111 GB, free: 21.48 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001127/0.384, allocations: 0.6805 MB / 0.5118 GB, free: 21.47 MB / 382.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.00781/0.3919, allocations: 4.304 MB / 0.516 GB, free: 18.71 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006221/0.3925, allocations: 161.5 kB / 0.5162 GB, free: 18.68 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001007/0.3926, allocations: 63.58 kB / 0.5162 GB, free: 18.67 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0275/0.4201, allocations: 16.4 MB / 0.5322 GB, free: 7.059 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007364/0.4209, allocations: 324.1 kB / 0.5325 GB, free: 6.812 MB / 382.1 MB Notification: Performance of pre-optimization done (n=28): time 2.845e-06/0.4209, allocations: 4 kB / 0.5325 GB, free: 6.809 MB / 382.1 MB Notification: Performance of matching and sorting (n=28): time 0.001404/0.4223, allocations: 435.7 kB / 0.533 GB, free: 6.695 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001095/0.4225, allocations: 487.3 kB / 0.5334 GB, free: 6.125 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001732/0.4226, allocations: 189.2 kB / 0.5336 GB, free: 5.996 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.591e-05/0.4227, allocations: 34.3 kB / 0.5336 GB, free: 5.965 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.008e-05/0.4228, allocations: 186.4 kB / 0.5338 GB, free: 5.805 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.453e-05/0.4228, allocations: 101.9 kB / 0.5339 GB, free: 5.73 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000107/0.423, allocations: 92.73 kB / 0.534 GB, free: 5.699 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 8.515e-05/0.4231, allocations: 337.5 kB / 0.5343 GB, free: 5.375 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001167/0.4232, allocations: 63.17 kB / 0.5344 GB, free: 5.359 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000263/0.4234, allocations: 309.8 kB / 0.5347 GB, free: 5.027 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004107/0.4239, allocations: 426.6 kB / 0.5351 GB, free: 4.691 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.31e-06/0.4239, allocations: 3.312 kB / 0.5351 GB, free: 4.691 MB / 382.1 MB Notification: Performance of matching and sorting (n=54) (initialization): time 0.0006237/0.4245, allocations: 396.9 kB / 0.5355 GB, free: 4.605 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.483e-05/0.4245, allocations: 6.188 kB / 0.5355 GB, free: 4.605 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.521e-05/0.4246, allocations: 14.91 kB / 0.5355 GB, free: 4.605 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.403e-05/0.4246, allocations: 11.41 kB / 0.5355 GB, free: 4.605 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002899/0.4249, allocations: 108.9 kB / 0.5356 GB, free: 4.594 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.636e-05/0.4249, allocations: 20.52 kB / 0.5356 GB, free: 4.59 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002588/0.4252, allocations: 46.28 kB / 0.5357 GB, free: 4.562 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.565e-05/0.4252, allocations: 31.88 kB / 0.5357 GB, free: 4.562 MB / 382.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.0001176/0.4254, allocations: 154.6 kB / 0.5358 GB, free: 4.438 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.864e-05/0.4254, allocations: 26.88 kB / 0.5359 GB, free: 4.43 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009749/0.4264, allocations: 0.7822 MB / 0.5366 GB, free: 4.113 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.453e-05/0.4264, allocations: 4.625 kB / 0.5366 GB, free: 4.113 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.117e-06/0.4265, allocations: 2.625 kB / 0.5366 GB, free: 4.113 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.268e-06/0.4265, allocations: 9.203 kB / 0.5366 GB, free: 4.105 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00111/0.4276, allocations: 1.208 MB / 0.5378 GB, free: 3.246 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.312e-06/0.4276, allocations: 6.438 kB / 0.5378 GB, free: 3.246 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000103/0.4277, allocations: 35.67 kB / 0.5379 GB, free: 3.242 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.272e-06/0.4277, allocations: 6.906 kB / 0.5379 GB, free: 3.238 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.266e-05/0.4277, allocations: 7.812 kB / 0.5379 GB, free: 3.238 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.907e-06/0.4278, allocations: 4.062 kB / 0.5379 GB, free: 3.238 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.122e-06/0.4278, allocations: 10.56 kB / 0.5379 GB, free: 3.234 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003453/0.4281, allocations: 372.3 kB / 0.5382 GB, free: 2.98 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.165e-05/0.4282, allocations: 105 kB / 0.5383 GB, free: 2.871 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.573e-05/0.4282, allocations: 47.78 kB / 0.5384 GB, free: 2.836 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002327/0.4285, allocations: 18.61 kB / 0.5384 GB, free: 2.828 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.935e-05/0.4285, allocations: 24.16 kB / 0.5384 GB, free: 2.816 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.513e-05/0.4285, allocations: 6.875 kB / 0.5384 GB, free: 2.816 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0002594/0.4288, allocations: 294.9 kB / 0.5387 GB, free: 2.691 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.062e-06/0.4288, allocations: 0 / 0.5387 GB, free: 2.691 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001714/0.4305, allocations: 418.9 kB / 0.5391 GB, free: 2.605 MB / 382.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.002193/0.4327, allocations: 1.444 MB / 0.5405 GB, free: 1.648 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0005252/0.4333, allocations: 243 kB / 0.5408 GB, free: 1.613 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 5e-06/0.4333, allocations: 0 / 0.5408 GB, free: 1.613 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000108/0.4334, allocations: 85.94 kB / 0.5408 GB, free: 1.605 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00089/0.4343, allocations: 108.4 kB / 0.541 GB, free: 1.57 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 1.457/1.892, allocations: 0.582 GB / 1.123 GB, free: 187.1 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002433/1.892, allocations: 0.805 MB / 1.124 GB, free: 186.4 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.000482/1.892, allocations: 169.4 kB / 1.124 GB, free: 186.3 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001455/1.893, allocations: 149.8 kB / 1.124 GB, free: 186.2 MB / 0.5294 GB Notification: Performance of SimCode: time 9.61e-07/1.893, allocations: 0 / 1.124 GB, free: 186.2 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03928/1.932, allocations: 18.29 MB / 1.142 GB, free: 172.1 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.483/10.41, allocations: 14.73 kB / 1.142 GB, free: 172.1 MB / 0.5294 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