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.001464/0.001464, allocations: 108.7 kB / 17.21 MB, free: 6.27 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.001569/0.001569, allocations: 194 kB / 18.12 MB, free: 5.363 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.368/1.368, allocations: 222.9 MB / 241.8 MB, free: 13.85 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.2203/0.2203, allocations: 44.17 MB / 336.1 MB, free: 2.797 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001256/0.001256, allocations: 60.94 kB / 407.8 MB, free: 27.59 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1185/0.1198, allocations: 60.83 MB / 468.6 MB, free: 14.73 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_dT): time 0.01216/0.132, allocations: 11.46 MB / 480.1 MB, free: 3.207 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01282/0.1448, allocations: 12.05 MB / 492.1 MB, free: 7.117 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002249/0.1451, allocations: 0 / 492.1 MB, free: 7.117 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004079/0.1456, allocations: 55.69 kB / 492.2 MB, free: 7.062 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01236/0.158, allocations: 2.629 MB / 494.8 MB, free: 4.422 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006577/0.1587, allocations: 145.2 kB / 495 MB, free: 4.285 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.00811/0.1668, allocations: 4.156 MB / 499.1 MB, free: 124 kB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.815e-05/0.1669, allocations: 16.41 kB / 499.1 MB, free: 108 kB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003014/0.1672, allocations: 139.6 kB / 499.3 MB, free: 15.96 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01265/0.1799, allocations: 7.559 MB / 0.495 GB, free: 8.398 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 7.945e-05/0.18, allocations: 4 kB / 0.495 GB, free: 8.395 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005905/0.1859, allocations: 2.091 MB / 0.497 GB, free: 6.301 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001357/0.1861, allocations: 47.75 kB / 0.497 GB, free: 6.254 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002789/0.1864, allocations: 123.4 kB / 0.4972 GB, free: 6.133 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005035/0.1914, allocations: 1.54 MB / 0.4987 GB, free: 4.59 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.739e-06/0.1914, allocations: 0 / 0.4987 GB, free: 4.59 MB / 382.1 MB Notification: Performance of FrontEnd: time 9.21e-07/0.1914, allocations: 0 / 0.4987 GB, free: 4.59 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.154e-06/0.1915, allocations: 0 / 0.4987 GB, free: 4.59 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.002663/0.1941, allocations: 0.9166 MB / 0.4996 GB, free: 3.625 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.31e-05/0.1942, allocations: 12.03 kB / 0.4996 GB, free: 3.613 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.032e-05/0.1943, allocations: 62.72 kB / 0.4996 GB, free: 3.543 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006505/0.1949, allocations: 80.53 kB / 0.4997 GB, free: 3.465 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003329/0.1953, allocations: 263.8 kB / 0.5 GB, free: 3.168 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.191e-05/0.1953, allocations: 20.94 kB / 0.5 GB, free: 3.148 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.95e-05/0.1954, allocations: 24.38 kB / 0.5 GB, free: 3.125 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00102/0.1964, allocations: 485.4 kB / 0.5005 GB, free: 2.613 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.626e-05/0.1964, allocations: 7.938 kB / 0.5005 GB, free: 2.605 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.511e-05/0.1965, allocations: 12 kB / 0.5005 GB, free: 2.594 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.062e-05/0.1965, allocations: 4 kB / 0.5005 GB, free: 2.59 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001111/0.1976, allocations: 0.689 MB / 0.5012 GB, free: 1.902 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.2972/0.4948, allocations: 3.088 MB / 0.5042 GB, free: 50.33 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007461/0.4955, allocations: 224 kB / 0.5044 GB, free: 50.31 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001437/0.4957, allocations: 80.23 kB / 0.5045 GB, free: 50.3 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.07824/0.5739, allocations: 30.76 MB / 0.5345 GB, free: 30.57 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000668/0.5746, allocations: 348.4 kB / 0.5348 GB, free: 30.18 MB / 382.1 MB Notification: Performance of pre-optimization done (n=35): time 2.224e-06/0.5746, allocations: 0 / 0.5348 GB, free: 30.18 MB / 382.1 MB Notification: Performance of matching and sorting (n=37): time 0.002799/0.5775, allocations: 0.966 MB / 0.5358 GB, free: 29.23 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001212/0.5776, allocations: 483.1 kB / 0.5362 GB, free: 28.64 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001225/0.5777, allocations: 166.2 kB / 0.5364 GB, free: 28.48 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.459e-05/0.5778, allocations: 33.7 kB / 0.5364 GB, free: 28.44 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.052e-05/0.5778, allocations: 156 kB / 0.5366 GB, free: 28.28 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.799e-05/0.5779, allocations: 133.5 kB / 0.5367 GB, free: 28.15 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.711e-05/0.578, allocations: 98.14 kB / 0.5368 GB, free: 28.05 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 6.795e-05/0.5781, allocations: 334.8 kB / 0.5371 GB, free: 27.71 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001126/0.5782, allocations: 73.08 kB / 0.5372 GB, free: 27.64 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002107/0.5784, allocations: 317.9 kB / 0.5375 GB, free: 27.23 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003905/0.5788, allocations: 451.5 kB / 0.5379 GB, free: 26.67 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.695e-06/0.5788, allocations: 0 / 0.5379 GB, free: 26.67 MB / 382.1 MB Notification: Performance of matching and sorting (n=56) (initialization): time 0.0006553/0.5795, allocations: 443.8 kB / 0.5383 GB, free: 26.23 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.787e-05/0.5795, allocations: 11.94 kB / 0.5384 GB, free: 26.21 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.445e-05/0.5795, allocations: 12 kB / 0.5384 GB, free: 26.2 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002023/0.5816, allocations: 318.1 kB / 0.5387 GB, free: 25.89 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002774/0.5819, allocations: 103.8 kB / 0.5388 GB, free: 25.79 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006142/0.5825, allocations: 1.219 MB / 0.54 GB, free: 24.52 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002275/0.5827, allocations: 27.84 kB / 0.54 GB, free: 24.5 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.476e-05/0.5828, allocations: 31.98 kB / 0.54 GB, free: 24.46 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.000162/0.583, allocations: 162.1 kB / 0.5402 GB, free: 24.3 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.204e-05/0.5831, allocations: 27.91 kB / 0.5402 GB, free: 24.27 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001253/0.5843, allocations: 1.053 MB / 0.5412 GB, free: 23.18 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.291e-05/0.5843, allocations: 11.98 kB / 0.5412 GB, free: 23.17 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.786e-06/0.5844, allocations: 4 kB / 0.5412 GB, free: 23.16 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.825e-06/0.5844, allocations: 3.984 kB / 0.5412 GB, free: 23.16 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001379/0.5858, allocations: 1.559 MB / 0.5428 GB, free: 21.47 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.801e-06/0.5858, allocations: 0 / 0.5428 GB, free: 21.47 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001319/0.5859, allocations: 47.91 kB / 0.5428 GB, free: 21.42 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001151/0.5871, allocations: 233.6 kB / 0.543 GB, free: 21.19 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.101e-05/0.5871, allocations: 15.92 kB / 0.5431 GB, free: 21.17 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004455/0.5875, allocations: 1.266 MB / 0.5443 GB, free: 19.86 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.036e-06/0.5876, allocations: 4 kB / 0.5443 GB, free: 19.86 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005825/0.5882, allocations: 0.6013 MB / 0.5449 GB, free: 19.21 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.406e-05/0.5882, allocations: 104.8 kB / 0.545 GB, free: 19.09 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.528e-05/0.5883, allocations: 51.38 kB / 0.545 GB, free: 19.04 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002273/0.5885, allocations: 15.98 kB / 0.545 GB, free: 19.02 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.593e-05/0.5886, allocations: 23.92 kB / 0.5451 GB, free: 19 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.11e-05/0.5886, allocations: 19.92 kB / 0.5451 GB, free: 18.98 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0002367/0.5888, allocations: 275.1 kB / 0.5454 GB, free: 18.7 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.5888, allocations: 0 / 0.5454 GB, free: 18.7 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001388/0.5902, allocations: 447.6 kB / 0.5458 GB, free: 18.27 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.001926/0.5922, allocations: 1.696 MB / 0.5474 GB, free: 16.58 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0005685/0.5927, allocations: 374.8 kB / 0.5478 GB, free: 16.21 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.085e-06/0.5928, allocations: 0 / 0.5478 GB, free: 16.21 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002363/0.593, allocations: 233.2 kB / 0.548 GB, free: 15.98 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007844/0.5938, allocations: 127.2 kB / 0.5481 GB, free: 15.86 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 1.165/1.759, allocations: 0.4951 GB / 1.043 GB, free: 50.81 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000192/1.759, allocations: 0.8235 MB / 1.044 GB, free: 49.96 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0004357/1.76, allocations: 161.7 kB / 1.044 GB, free: 49.83 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001495/1.76, allocations: 163.4 kB / 1.044 GB, free: 49.67 MB / 0.5137 GB Notification: Performance of SimCode: time 8.02e-07/1.76, allocations: 7.938 kB / 1.044 GB, free: 49.66 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02998/1.79, allocations: 19.5 MB / 1.063 GB, free: 30.42 MB / 0.5137 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001667/1.79, allocations: 262.8 kB / 1.064 GB, free: 30.13 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.524/4.314, allocations: 0 / 1.064 GB, free: 30.13 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