Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_dT.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_dT,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Media_TestAllProperties_IncompleteMedia_ReferenceAir_dT",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_dT,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Media_TestAllProperties_IncompleteMedia_ReferenceAir_dT",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.001119/0.001119, allocations: 103.7 kB / 17.63 MB, free: 5.344 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.001074/0.001074, allocations: 192 kB / 18.56 MB, free: 4.434 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.364/1.364, allocations: 222.9 MB / 242.3 MB, free: 15.16 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.2082/0.2082, allocations: 44.18 MB / 336.6 MB, free: 2.75 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001214/0.001214, allocations: 61 kB / 408.5 MB, free: 27.12 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1181/0.1193, allocations: 60.82 MB / 469.4 MB, free: 14.27 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_dT): time 0.01183/0.1312, allocations: 11.23 MB / 480.6 MB, free: 2.98 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01156/0.1428, allocations: 11.78 MB / 492.4 MB, free: 7.16 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001828/0.143, allocations: 4 kB / 492.4 MB, free: 7.156 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003083/0.1433, allocations: 71.44 kB / 492.4 MB, free: 7.086 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.009461/0.1528, allocations: 3.117 MB / 495.6 MB, free: 3.953 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004104/0.1532, allocations: 154.2 kB / 495.7 MB, free: 3.805 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.00587/0.1591, allocations: 3.889 MB / 499.6 MB, free: 15.91 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001/0.1592, allocations: 24.39 kB / 499.6 MB, free: 15.89 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003755/0.1596, allocations: 139.5 kB / 499.8 MB, free: 15.75 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01491/0.1746, allocations: 7.122 MB / 0.495 GB, free: 8.621 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 9.503e-05/0.1747, allocations: 8 kB / 0.495 GB, free: 8.613 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.007388/0.1821, allocations: 2.076 MB / 0.497 GB, free: 6.535 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001505/0.1823, allocations: 47.77 kB / 0.4971 GB, free: 6.488 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002984/0.1826, allocations: 123.4 kB / 0.4972 GB, free: 6.367 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005444/0.1881, allocations: 1.54 MB / 0.4987 GB, free: 4.824 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.801e-06/0.1881, allocations: 4 kB / 0.4987 GB, free: 4.82 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.334e-06/0.1881, allocations: 0 / 0.4987 GB, free: 4.82 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.221e-05/0.1881, allocations: 0 / 0.4987 GB, free: 4.82 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.003663/0.1918, allocations: 0.9127 MB / 0.4996 GB, free: 3.859 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.629e-05/0.1919, allocations: 12.03 kB / 0.4996 GB, free: 3.848 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001108/0.192, allocations: 62.72 kB / 0.4997 GB, free: 3.777 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001007/0.193, allocations: 80.59 kB / 0.4997 GB, free: 3.699 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004241/0.1935, allocations: 259.9 kB / 0.5 GB, free: 3.406 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.091e-05/0.1935, allocations: 16.94 kB / 0.5 GB, free: 3.391 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.671e-05/0.1936, allocations: 32.36 kB / 0.5 GB, free: 3.359 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001538/0.1951, allocations: 485.4 kB / 0.5005 GB, free: 2.848 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.918e-05/0.1952, allocations: 0 / 0.5005 GB, free: 2.848 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.156e-05/0.1952, allocations: 12 kB / 0.5005 GB, free: 2.836 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.378e-05/0.1953, allocations: 8 kB / 0.5005 GB, free: 2.828 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001698/0.197, allocations: 0.6773 MB / 0.5012 GB, free: 2.152 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.1979/0.3949, allocations: 3.094 MB / 0.5042 GB, free: 50.77 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008171/0.3957, allocations: 224.5 kB / 0.5044 GB, free: 50.75 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001387/0.3959, allocations: 79.97 kB / 0.5045 GB, free: 50.74 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.07963/0.4755, allocations: 30.75 MB / 0.5345 GB, free: 30.8 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006772/0.4762, allocations: 349.6 kB / 0.5349 GB, free: 30.41 MB / 382.1 MB Notification: Performance of pre-optimization done (n=35): time 3.457e-06/0.4763, allocations: 4 kB / 0.5349 GB, free: 30.4 MB / 382.1 MB Notification: Performance of matching and sorting (n=37): time 0.002958/0.4792, allocations: 0.9567 MB / 0.5358 GB, free: 29.45 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.036e-05/0.4793, allocations: 482.6 kB / 0.5363 GB, free: 28.87 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001147/0.4795, allocations: 168 kB / 0.5364 GB, free: 28.7 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.389e-05/0.4795, allocations: 33.64 kB / 0.5365 GB, free: 28.66 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.311e-05/0.4796, allocations: 167.3 kB / 0.5366 GB, free: 28.5 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.16e-05/0.4796, allocations: 125.9 kB / 0.5367 GB, free: 28.38 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.96e-05/0.4797, allocations: 94.14 kB / 0.5368 GB, free: 28.28 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 4.871e-05/0.4798, allocations: 334.8 kB / 0.5371 GB, free: 27.94 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001141/0.4799, allocations: 79.8 kB / 0.5372 GB, free: 27.87 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001937/0.4801, allocations: 326.1 kB / 0.5375 GB, free: 27.44 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003775/0.4805, allocations: 440.1 kB / 0.538 GB, free: 26.89 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.968e-06/0.4805, allocations: 4 kB / 0.538 GB, free: 26.89 MB / 382.1 MB Notification: Performance of matching and sorting (n=56) (initialization): time 0.0006427/0.4811, allocations: 438.8 kB / 0.5384 GB, free: 26.45 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.067e-05/0.4812, allocations: 8 kB / 0.5384 GB, free: 26.44 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.137e-05/0.4812, allocations: 8 kB / 0.5384 GB, free: 26.43 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002044/0.4832, allocations: 327.6 kB / 0.5387 GB, free: 26.11 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002951/0.4836, allocations: 107.8 kB / 0.5388 GB, free: 26.01 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005732/0.4841, allocations: 1.223 MB / 0.54 GB, free: 24.74 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002221/0.4844, allocations: 23.94 kB / 0.54 GB, free: 24.71 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.373e-05/0.4844, allocations: 31.98 kB / 0.5401 GB, free: 24.68 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 38 * 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): 52 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 2 systems {2, 2} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001362/0.4846, allocations: 157.6 kB / 0.5402 GB, free: 24.52 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.684e-05/0.4847, allocations: 39.98 kB / 0.5402 GB, free: 24.48 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001079/0.4857, allocations: 1.05 MB / 0.5413 GB, free: 23.39 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.303e-05/0.4858, allocations: 12 kB / 0.5413 GB, free: 23.38 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.851e-06/0.4858, allocations: 0 / 0.5413 GB, free: 23.38 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.865e-06/0.4858, allocations: 7.984 kB / 0.5413 GB, free: 23.38 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001178/0.487, allocations: 1.545 MB / 0.5428 GB, free: 21.69 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.532e-06/0.487, allocations: 4 kB / 0.5428 GB, free: 21.68 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001436/0.4872, allocations: 39.92 kB / 0.5428 GB, free: 21.64 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001145/0.4883, allocations: 242.3 kB / 0.5431 GB, free: 21.41 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.182e-05/0.4883, allocations: 11.94 kB / 0.5431 GB, free: 21.39 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004225/0.4888, allocations: 1.27 MB / 0.5443 GB, free: 20.08 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.228e-06/0.4888, allocations: 4.031 kB / 0.5443 GB, free: 20.07 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005946/0.4894, allocations: 0.6025 MB / 0.5449 GB, free: 19.43 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.59e-05/0.4895, allocations: 104.8 kB / 0.545 GB, free: 19.3 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.683e-05/0.4895, allocations: 51.36 kB / 0.5451 GB, free: 19.25 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002333/0.4898, allocations: 12 kB / 0.5451 GB, free: 19.24 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.658e-05/0.4898, allocations: 27.84 kB / 0.5451 GB, free: 19.21 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.406e-05/0.4898, allocations: 16.88 kB / 0.5451 GB, free: 19.2 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.000261/0.4901, allocations: 275.1 kB / 0.5454 GB, free: 18.93 MB / 382.1 MB Notification: Performance of sort global known variables: time 2.4e-07/0.4901, allocations: 0 / 0.5454 GB, free: 18.93 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001457/0.4916, allocations: 437.9 kB / 0.5458 GB, free: 18.52 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 (27): * Single equations (assignments): 23 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 2 systems {2, 2} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.002072/0.4937, allocations: 1.706 MB / 0.5475 GB, free: 16.81 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0006053/0.4943, allocations: 376.3 kB / 0.5478 GB, free: 16.44 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.959e-06/0.4943, allocations: 0 / 0.5478 GB, free: 16.44 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002239/0.4945, allocations: 242.5 kB / 0.548 GB, free: 16.2 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008158/0.4954, allocations: 123.1 kB / 0.5482 GB, free: 16.08 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 1.069/1.564, allocations: 0.4949 GB / 1.043 GB, free: 51.09 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001915/1.564, allocations: 0.8254 MB / 1.044 GB, free: 50.25 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0004155/1.565, allocations: 162.7 kB / 1.044 GB, free: 50.11 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001403/1.565, allocations: 163.4 kB / 1.044 GB, free: 49.95 MB / 0.5137 GB Notification: Performance of SimCode: time 1.012e-06/1.565, allocations: 3.938 kB / 1.044 GB, free: 49.95 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03625/1.601, allocations: 19.91 MB / 1.064 GB, free: 30.29 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.97/13.58, allocations: 3.75 kB / 1.064 GB, free: 30.28 MB / 0.5137 GB (rm -f ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_dT.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_dT.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_dT.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_dT.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_dT_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_dT.fmu > ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_dT.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_dT_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestAllProperties/IncompleteMedia/ReferenceAir_dT/ReferenceAir_dT.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_dT.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches