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.001398/0.001398, allocations: 121.5 kB / 17.78 MB, free: 5.242 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00134/0.00134, allocations: 199.9 kB / 18.73 MB, free: 4.301 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.426/1.426, allocations: 227.4 MB / 247 MB, free: 10.45 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2429/0.2429, allocations: 46.13 MB / 344.3 MB, free: 11.42 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002172/0.002172, allocations: 79.88 kB / 480.9 MB, free: 4.434 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3623/0.3645, allocations: 62.44 MB / 0.5306 GB, free: 13.34 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph): time 0.01494/0.3795, allocations: 11.28 MB / 0.5417 GB, free: 4.176 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01441/0.394, allocations: 11.77 MB / 0.5532 GB, free: 10.5 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002193/0.3942, allocations: 0 / 0.5532 GB, free: 10.5 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003724/0.3947, allocations: 75.5 kB / 0.5532 GB, free: 10.43 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01031/0.405, allocations: 3.12 MB / 0.5563 GB, free: 7.301 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004257/0.4054, allocations: 150.2 kB / 0.5564 GB, free: 7.156 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.005976/0.4114, allocations: 3.897 MB / 0.5602 GB, free: 3.254 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.755e-05/0.4115, allocations: 16.41 kB / 0.5602 GB, free: 3.242 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002042/0.4117, allocations: 143.5 kB / 0.5604 GB, free: 3.102 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01052/0.4223, allocations: 7.114 MB / 0.5673 GB, free: 11.98 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 7.807e-05/0.4224, allocations: 12 kB / 0.5673 GB, free: 11.97 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006358/0.4287, allocations: 2.142 MB / 0.5694 GB, free: 9.824 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001271/0.4289, allocations: 43.77 kB / 0.5695 GB, free: 9.781 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002674/0.4292, allocations: 127.4 kB / 0.5696 GB, free: 9.656 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006048/0.4353, allocations: 1.551 MB / 0.5711 GB, free: 8.102 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.881e-06/0.4353, allocations: 0 / 0.5711 GB, free: 8.102 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.434e-06/0.4353, allocations: 0 / 0.5711 GB, free: 8.102 MB / 430.1 MB Notification: Performance of Transformations before backend: time 7.253e-06/0.4353, allocations: 0 / 0.5711 GB, free: 8.102 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.002427/0.4378, allocations: 0.9453 MB / 0.572 GB, free: 7.105 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.822e-05/0.4378, allocations: 8.031 kB / 0.572 GB, free: 7.098 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.632e-05/0.4379, allocations: 62.72 kB / 0.5721 GB, free: 7.027 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006127/0.4385, allocations: 84.67 kB / 0.5722 GB, free: 6.945 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000424/0.439, allocations: 252 kB / 0.5724 GB, free: 6.66 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.42e-05/0.439, allocations: 16.94 kB / 0.5724 GB, free: 6.645 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.833e-05/0.439, allocations: 28.38 kB / 0.5725 GB, free: 6.617 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001043/0.4401, allocations: 489.4 kB / 0.5729 GB, free: 6.105 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.548e-05/0.4401, allocations: 3.938 kB / 0.5729 GB, free: 6.102 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.642e-05/0.4402, allocations: 16 kB / 0.5729 GB, free: 6.086 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.123e-05/0.4402, allocations: 8 kB / 0.573 GB, free: 6.078 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001203/0.4414, allocations: 0.6812 MB / 0.5736 GB, free: 5.395 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.007808/0.4492, allocations: 4.292 MB / 0.5778 GB, free: 0.6797 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006151/0.4499, allocations: 175 kB / 0.578 GB, free: 0.5 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000109/0.45, allocations: 69.52 kB / 0.578 GB, free: 440 kB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03033/0.4803, allocations: 16.4 MB / 0.5941 GB, free: 13.85 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007606/0.4811, allocations: 314 kB / 0.5944 GB, free: 13.48 MB / 462.1 MB Notification: Performance of pre-optimization done (n=28): time 2.134e-06/0.4811, allocations: 0 / 0.5944 GB, free: 13.48 MB / 462.1 MB Notification: Performance of matching and sorting (n=28): time 0.001456/0.4826, allocations: 446.2 kB / 0.5948 GB, free: 13.04 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002636/0.4829, allocations: 482.6 kB / 0.5952 GB, free: 12.46 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002088/0.4831, allocations: 190.5 kB / 0.5954 GB, free: 12.26 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 3.344e-05/0.4831, allocations: 33.7 kB / 0.5955 GB, free: 12.22 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001361/0.4833, allocations: 192.2 kB / 0.5956 GB, free: 12.03 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.395e-05/0.4834, allocations: 99.16 kB / 0.5957 GB, free: 11.93 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001261/0.4835, allocations: 94.08 kB / 0.5958 GB, free: 11.84 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001493/0.4836, allocations: 330.8 kB / 0.5961 GB, free: 11.5 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000118/0.4838, allocations: 64.83 kB / 0.5962 GB, free: 11.44 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003446/0.4841, allocations: 306.8 kB / 0.5965 GB, free: 11.02 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005473/0.4847, allocations: 437.3 kB / 0.5969 GB, free: 10.47 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.785e-06/0.4847, allocations: 4 kB / 0.5969 GB, free: 10.47 MB / 462.1 MB Notification: Performance of matching and sorting (n=54) (initialization): time 0.0006826/0.4854, allocations: 401.6 kB / 0.5973 GB, free: 10.07 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.014e-05/0.4854, allocations: 11.94 kB / 0.5973 GB, free: 10.06 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.463e-05/0.4854, allocations: 12 kB / 0.5973 GB, free: 10.05 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.825e-05/0.4855, allocations: 12 kB / 0.5973 GB, free: 10.04 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003158/0.4858, allocations: 107.8 kB / 0.5974 GB, free: 9.93 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.367e-05/0.4858, allocations: 23.91 kB / 0.5975 GB, free: 9.906 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000244/0.4861, allocations: 51.61 kB / 0.5975 GB, free: 9.855 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.75e-05/0.4861, allocations: 28 kB / 0.5975 GB, free: 9.828 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.0001575/0.4863, allocations: 157.6 kB / 0.5977 GB, free: 9.664 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.326e-05/0.4864, allocations: 35.89 kB / 0.5977 GB, free: 9.629 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0011/0.4875, allocations: 0.7773 MB / 0.5985 GB, free: 8.809 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.11e-05/0.4875, allocations: 4 kB / 0.5985 GB, free: 8.805 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.668e-06/0.4875, allocations: 4 kB / 0.5985 GB, free: 8.801 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.616e-06/0.4875, allocations: 11.86 kB / 0.5985 GB, free: 8.789 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001347/0.4889, allocations: 1.214 MB / 0.5997 GB, free: 7.438 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.097e-06/0.4889, allocations: 7.984 kB / 0.5997 GB, free: 7.43 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001101/0.489, allocations: 35.92 kB / 0.5997 GB, free: 7.395 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.222e-06/0.489, allocations: 3.938 kB / 0.5997 GB, free: 7.391 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.279e-05/0.4891, allocations: 8 kB / 0.5997 GB, free: 7.383 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.925e-06/0.4891, allocations: 0 / 0.5997 GB, free: 7.383 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.139e-06/0.4891, allocations: 4 kB / 0.5997 GB, free: 7.379 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004675/0.4895, allocations: 380.8 kB / 0.6001 GB, free: 6.961 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.525e-05/0.4896, allocations: 104.8 kB / 0.6002 GB, free: 6.84 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.387e-05/0.4897, allocations: 51.55 kB / 0.6003 GB, free: 6.789 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002177/0.49, allocations: 8 kB / 0.6003 GB, free: 6.781 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.115e-05/0.49, allocations: 23.91 kB / 0.6003 GB, free: 6.758 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.009e-05/0.49, allocations: 12 kB / 0.6003 GB, free: 6.746 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0003418/0.4904, allocations: 294.9 kB / 0.6006 GB, free: 6.457 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4904, allocations: 0 / 0.6006 GB, free: 6.457 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.00137/0.4918, allocations: 426.6 kB / 0.601 GB, free: 6.039 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.00219/0.494, allocations: 1.449 MB / 0.6024 GB, free: 4.531 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.0004882/0.4945, allocations: 236.7 kB / 0.6026 GB, free: 4.301 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 6.463e-06/0.4945, allocations: 4.094 kB / 0.6026 GB, free: 4.297 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001247/0.4946, allocations: 83.8 kB / 0.6027 GB, free: 4.215 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007637/0.4954, allocations: 103.4 kB / 0.6028 GB, free: 4.117 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 1.492/1.987, allocations: 0.5821 GB / 1.185 GB, free: 219 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002899/1.988, allocations: 0.8139 MB / 1.186 GB, free: 218.3 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0004334/1.988, allocations: 159.4 kB / 1.186 GB, free: 218.2 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001735/1.988, allocations: 156.3 kB / 1.186 GB, free: 218.1 MB / 0.6075 GB Notification: Performance of SimCode: time 1.573e-06/1.988, allocations: 0 / 1.186 GB, free: 218.1 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07447/2.063, allocations: 18.37 MB / 1.204 GB, free: 201.3 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.454/11.52, allocations: 5.422 kB / 1.204 GB, free: 201.3 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