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.001408/0.001407, allocations: 104.2 kB / 17.63 MB, free: 5.523 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.0012/0.001201, allocations: 191.9 kB / 18.56 MB, free: 4.605 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.362/1.362, allocations: 222.9 MB / 242.3 MB, free: 15.21 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.2156/0.2156, allocations: 44.18 MB / 336.6 MB, free: 2.758 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001298/0.001299, allocations: 59.98 kB / 408.5 MB, free: 27.12 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1082/0.1096, allocations: 60.83 MB / 469.4 MB, free: 14.26 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_dT): time 0.01085/0.1204, allocations: 11.23 MB / 480.6 MB, free: 2.973 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01079/0.1313, allocations: 11.77 MB / 492.4 MB, free: 7.156 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000293/0.1316, allocations: 4 kB / 492.4 MB, free: 7.152 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000424/0.1321, allocations: 71.5 kB / 492.4 MB, free: 7.082 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01181/0.1439, allocations: 3.113 MB / 495.5 MB, free: 3.953 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006848/0.1446, allocations: 159.4 kB / 495.7 MB, free: 3.801 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.007641/0.1523, allocations: 3.889 MB / 499.6 MB, free: 15.91 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.373e-05/0.1524, allocations: 16.41 kB / 499.6 MB, free: 15.89 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002757/0.1527, allocations: 143.5 kB / 499.8 MB, free: 15.75 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0106/0.1633, allocations: 7.126 MB / 0.495 GB, free: 8.617 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 6.764e-05/0.1634, allocations: 8 kB / 0.495 GB, free: 8.609 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005014/0.1684, allocations: 2.072 MB / 0.497 GB, free: 6.535 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 9.938e-05/0.1685, allocations: 43.75 kB / 0.4971 GB, free: 6.492 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002325/0.1688, allocations: 135.4 kB / 0.4972 GB, free: 6.359 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004403/0.1732, allocations: 1.532 MB / 0.4987 GB, free: 4.824 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.529e-06/0.1732, allocations: 0 / 0.4987 GB, free: 4.824 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.926e-06/0.1732, allocations: 0 / 0.4987 GB, free: 4.824 MB / 382.1 MB Notification: Performance of Transformations before backend: time 8.586e-06/0.1733, allocations: 7.938 kB / 0.4987 GB, free: 4.816 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.002429/0.1757, allocations: 0.9127 MB / 0.4996 GB, free: 3.855 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.169e-05/0.1757, allocations: 8.031 kB / 0.4996 GB, free: 3.848 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.561e-05/0.1758, allocations: 66.72 kB / 0.4997 GB, free: 3.773 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000627/0.1765, allocations: 80.69 kB / 0.4997 GB, free: 3.695 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003364/0.1768, allocations: 255.8 kB / 0.5 GB, free: 3.406 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.185e-05/0.1769, allocations: 20.94 kB / 0.5 GB, free: 3.387 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.784e-05/0.1769, allocations: 24.38 kB / 0.5 GB, free: 3.363 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001015/0.1779, allocations: 489.4 kB / 0.5005 GB, free: 2.848 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.389e-05/0.178, allocations: 0 / 0.5005 GB, free: 2.848 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.463e-05/0.178, allocations: 16 kB / 0.5005 GB, free: 2.832 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.256e-05/0.178, allocations: 4 kB / 0.5005 GB, free: 2.828 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001103/0.1791, allocations: 0.6851 MB / 0.5012 GB, free: 2.145 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.2616/0.4408, allocations: 3.096 MB / 0.5042 GB, free: 50.79 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008482/0.4416, allocations: 221.4 kB / 0.5044 GB, free: 50.77 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001282/0.4418, allocations: 76.8 kB / 0.5045 GB, free: 50.76 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.07833/0.5201, allocations: 30.76 MB / 0.5345 GB, free: 30.86 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007303/0.5209, allocations: 347.3 kB / 0.5349 GB, free: 30.46 MB / 382.1 MB Notification: Performance of pre-optimization done (n=35): time 2.615e-06/0.5209, allocations: 0 / 0.5349 GB, free: 30.46 MB / 382.1 MB Notification: Performance of matching and sorting (n=37): time 0.002946/0.5239, allocations: 0.9707 MB / 0.5358 GB, free: 29.5 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000128/0.524, allocations: 479.1 kB / 0.5363 GB, free: 28.93 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001198/0.5241, allocations: 158 kB / 0.5364 GB, free: 28.77 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.539e-05/0.5242, allocations: 37.7 kB / 0.5364 GB, free: 28.72 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.53e-05/0.5242, allocations: 159.8 kB / 0.5366 GB, free: 28.56 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.717e-05/0.5243, allocations: 130 kB / 0.5367 GB, free: 28.44 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001002/0.5244, allocations: 98.14 kB / 0.5368 GB, free: 28.34 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 7.364e-05/0.5245, allocations: 330.8 kB / 0.5371 GB, free: 28 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001126/0.5246, allocations: 77.08 kB / 0.5372 GB, free: 27.93 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002203/0.5249, allocations: 322.1 kB / 0.5375 GB, free: 27.5 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000397/0.5253, allocations: 452 kB / 0.5379 GB, free: 26.95 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.999e-06/0.5253, allocations: 4 kB / 0.5379 GB, free: 26.94 MB / 382.1 MB Notification: Performance of matching and sorting (n=56) (initialization): time 0.0006188/0.5259, allocations: 442.9 kB / 0.5384 GB, free: 26.5 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.028e-05/0.5259, allocations: 10.5 kB / 0.5384 GB, free: 26.49 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.076e-05/0.526, allocations: 8 kB / 0.5384 GB, free: 26.48 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001894/0.5279, allocations: 320.5 kB / 0.5387 GB, free: 26.17 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002599/0.5281, allocations: 111.8 kB / 0.5388 GB, free: 26.06 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004841/0.5286, allocations: 1.219 MB / 0.54 GB, free: 24.79 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002165/0.5289, allocations: 19.94 kB / 0.54 GB, free: 24.77 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.469e-05/0.5289, allocations: 31.98 kB / 0.54 GB, free: 24.74 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.0001786/0.5291, allocations: 165.2 kB / 0.5402 GB, free: 24.57 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.951e-05/0.5292, allocations: 31.7 kB / 0.5402 GB, free: 24.54 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001155/0.5304, allocations: 1.058 MB / 0.5413 GB, free: 23.45 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.039e-05/0.5304, allocations: 8 kB / 0.5413 GB, free: 23.44 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.604e-06/0.5304, allocations: 4 kB / 0.5413 GB, free: 23.44 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.284e-06/0.5304, allocations: 7.984 kB / 0.5413 GB, free: 23.43 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001145/0.5316, allocations: 1.549 MB / 0.5428 GB, free: 21.74 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.991e-06/0.5316, allocations: 0 / 0.5428 GB, free: 21.74 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001319/0.5317, allocations: 47.91 kB / 0.5428 GB, free: 21.7 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001141/0.5329, allocations: 243.8 kB / 0.5431 GB, free: 21.46 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.965e-05/0.5329, allocations: 12.88 kB / 0.5431 GB, free: 21.45 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000429/0.5333, allocations: 1.27 MB / 0.5443 GB, free: 20.13 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.447e-06/0.5334, allocations: 4 kB / 0.5443 GB, free: 20.12 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005579/0.5339, allocations: 0.6025 MB / 0.5449 GB, free: 19.48 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.573e-05/0.534, allocations: 100.8 kB / 0.545 GB, free: 19.36 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.386e-05/0.534, allocations: 51.42 kB / 0.5451 GB, free: 19.31 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002208/0.5343, allocations: 8.875 kB / 0.5451 GB, free: 19.3 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.607e-05/0.5343, allocations: 31.84 kB / 0.5451 GB, free: 19.27 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.999e-05/0.5343, allocations: 8 kB / 0.5451 GB, free: 19.26 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0002385/0.5346, allocations: 279.2 kB / 0.5454 GB, free: 18.99 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.5346, allocations: 7.938 kB / 0.5454 GB, free: 18.98 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001311/0.5359, allocations: 443.6 kB / 0.5458 GB, free: 18.55 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.001696/0.5376, allocations: 1.69 MB / 0.5475 GB, free: 16.86 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0006146/0.5382, allocations: 378.9 kB / 0.5478 GB, free: 16.48 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.008e-06/0.5383, allocations: 0 / 0.5478 GB, free: 16.48 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002214/0.5385, allocations: 246.7 kB / 0.5481 GB, free: 16.24 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000798/0.5393, allocations: 133.8 kB / 0.5482 GB, free: 16.11 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 1.009/1.549, allocations: 0.4949 GB / 1.043 GB, free: 51.12 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003093/1.549, allocations: 0.8296 MB / 1.044 GB, free: 50.27 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0005553/1.55, allocations: 166.2 kB / 1.044 GB, free: 50.13 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002085/1.55, allocations: 163.4 kB / 1.044 GB, free: 49.97 MB / 0.5137 GB Notification: Performance of SimCode: time 1.954e-06/1.55, allocations: 0 / 1.044 GB, free: 49.97 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04244/1.592, allocations: 19.89 MB / 1.064 GB, free: 30.33 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.28/13.87, allocations: 14.08 kB / 1.064 GB, free: 30.32 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_dT_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Media_TestAllProperties_IncompleteMedia_ReferenceAir_dT_fmu --startTime=0 --stopTime=0.1 --timeout=50 --tolerance=1e-06 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.mat","/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