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.001089/0.001089, allocations: 113 kB / 17.33 MB, free: 6.012 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.001521/0.001521, allocations: 193.3 kB / 18.25 MB, free: 5.102 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.344/1.344, allocations: 222.9 MB / 241.9 MB, free: 15.44 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.2358/0.2359, allocations: 44.18 MB / 336.2 MB, free: 2.957 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00151/0.001511, allocations: 56.16 kB / 408 MB, free: 27.51 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1327/0.1342, allocations: 60.83 MB / 468.8 MB, free: 14.65 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_dT): time 0.01544/0.1497, allocations: 11.24 MB / 480.1 MB, free: 3.355 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01283/0.1626, allocations: 11.72 MB / 491.8 MB, free: 7.594 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001935/0.1628, allocations: 4 kB / 491.8 MB, free: 7.59 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003797/0.1633, allocations: 55.69 kB / 491.8 MB, free: 7.535 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0113/0.1746, allocations: 2.77 MB / 494.6 MB, free: 4.754 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005376/0.1751, allocations: 140.3 kB / 494.8 MB, free: 4.621 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.007186/0.1823, allocations: 4.196 MB / 498.9 MB, free: 428 kB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001154/0.1825, allocations: 20.41 kB / 499 MB, free: 408 kB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004477/0.183, allocations: 139.5 kB / 499.1 MB, free: 268 kB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01231/0.1953, allocations: 7.723 MB / 0.4949 GB, free: 8.527 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001359/0.1955, allocations: 8 kB / 0.495 GB, free: 8.52 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006927/0.2024, allocations: 2.111 MB / 0.497 GB, free: 6.406 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001161/0.2026, allocations: 39.83 kB / 0.4971 GB, free: 6.367 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000338/0.2029, allocations: 127.4 kB / 0.4972 GB, free: 6.242 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006696/0.2096, allocations: 1.555 MB / 0.4987 GB, free: 4.684 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.592e-06/0.2097, allocations: 0 / 0.4987 GB, free: 4.684 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.533e-06/0.2097, allocations: 4 kB / 0.4987 GB, free: 4.68 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.23e-05/0.2097, allocations: 0 / 0.4987 GB, free: 4.68 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.002832/0.2125, allocations: 0.9127 MB / 0.4996 GB, free: 3.719 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.167e-05/0.2126, allocations: 12.03 kB / 0.4996 GB, free: 3.707 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.095e-05/0.2127, allocations: 66.72 kB / 0.4997 GB, free: 3.633 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006731/0.2134, allocations: 84.53 kB / 0.4997 GB, free: 3.551 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003419/0.2137, allocations: 247.9 kB / 0.5 GB, free: 3.27 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.308e-05/0.2138, allocations: 20.94 kB / 0.5 GB, free: 3.25 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.036e-05/0.2138, allocations: 24.38 kB / 0.5 GB, free: 3.227 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001039/0.2149, allocations: 489.4 kB / 0.5005 GB, free: 2.711 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.341e-05/0.2149, allocations: 0 / 0.5005 GB, free: 2.711 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.998e-05/0.2149, allocations: 15.98 kB / 0.5005 GB, free: 2.695 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.967e-06/0.2149, allocations: 8 kB / 0.5005 GB, free: 2.688 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001139/0.2161, allocations: 0.6773 MB / 0.5012 GB, free: 2.012 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.2868/0.5029, allocations: 3.1 MB / 0.5042 GB, free: 50.49 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007816/0.5037, allocations: 223.7 kB / 0.5044 GB, free: 50.47 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000134/0.5039, allocations: 73.25 kB / 0.5045 GB, free: 50.46 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.07501/0.5789, allocations: 30.75 MB / 0.5345 GB, free: 30.58 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006771/0.5796, allocations: 351.6 kB / 0.5349 GB, free: 30.18 MB / 382.1 MB Notification: Performance of pre-optimization done (n=35): time 2.154e-06/0.5796, allocations: 0 / 0.5349 GB, free: 30.18 MB / 382.1 MB Notification: Performance of matching and sorting (n=37): time 0.002721/0.5823, allocations: 0.973 MB / 0.5358 GB, free: 29.23 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.504e-05/0.5825, allocations: 474.6 kB / 0.5363 GB, free: 28.65 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001117/0.5826, allocations: 166 kB / 0.5364 GB, free: 28.48 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.451e-05/0.5826, allocations: 29.7 kB / 0.5364 GB, free: 28.45 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.754e-05/0.5827, allocations: 168.1 kB / 0.5366 GB, free: 28.28 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.429e-05/0.5828, allocations: 130 kB / 0.5367 GB, free: 28.15 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.99e-05/0.5829, allocations: 94.14 kB / 0.5368 GB, free: 28.05 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 6.345e-05/0.5829, allocations: 334.7 kB / 0.5371 GB, free: 27.72 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001076/0.583, allocations: 77.08 kB / 0.5372 GB, free: 27.64 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002009/0.5833, allocations: 318.1 kB / 0.5375 GB, free: 27.22 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003703/0.5836, allocations: 452.1 kB / 0.5379 GB, free: 26.66 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.625e-06/0.5836, allocations: 0 / 0.5379 GB, free: 26.66 MB / 382.1 MB Notification: Performance of matching and sorting (n=56) (initialization): time 0.0005955/0.5842, allocations: 439.4 kB / 0.5384 GB, free: 26.23 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.341e-05/0.5843, allocations: 8 kB / 0.5384 GB, free: 26.22 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.3e-05/0.5843, allocations: 12.12 kB / 0.5384 GB, free: 26.21 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001894/0.5862, allocations: 336.5 kB / 0.5387 GB, free: 25.88 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002549/0.5865, allocations: 103.8 kB / 0.5388 GB, free: 25.78 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000463/0.5869, allocations: 1.215 MB / 0.54 GB, free: 24.52 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002111/0.5872, allocations: 32.03 kB / 0.54 GB, free: 24.48 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.383e-05/0.5872, allocations: 31.98 kB / 0.5401 GB, free: 24.45 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.0001324/0.5873, allocations: 158.1 kB / 0.5402 GB, free: 24.29 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.914e-05/0.5874, allocations: 27.8 kB / 0.5402 GB, free: 24.26 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001117/0.5886, allocations: 1.057 MB / 0.5413 GB, free: 23.17 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.216e-05/0.5886, allocations: 12.22 kB / 0.5413 GB, free: 23.16 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.727e-06/0.5886, allocations: 4 kB / 0.5413 GB, free: 23.15 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.234e-06/0.5886, allocations: 3.984 kB / 0.5413 GB, free: 23.15 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001194/0.5898, allocations: 1.543 MB / 0.5428 GB, free: 21.47 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.754e-06/0.5898, allocations: 4.094 kB / 0.5428 GB, free: 21.46 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001369/0.59, allocations: 51.91 kB / 0.5428 GB, free: 21.41 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001124/0.5911, allocations: 233.4 kB / 0.5431 GB, free: 21.18 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.08e-05/0.5911, allocations: 16.97 kB / 0.5431 GB, free: 21.17 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004186/0.5916, allocations: 1.27 MB / 0.5443 GB, free: 19.85 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.705e-06/0.5916, allocations: 0 / 0.5443 GB, free: 19.85 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005445/0.5921, allocations: 0.6061 MB / 0.5449 GB, free: 19.2 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.581e-05/0.5922, allocations: 104.8 kB / 0.545 GB, free: 19.08 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.429e-05/0.5922, allocations: 51.36 kB / 0.5451 GB, free: 19.03 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002319/0.5925, allocations: 12 kB / 0.5451 GB, free: 19.02 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.277e-05/0.5925, allocations: 35.84 kB / 0.5451 GB, free: 18.98 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.977e-05/0.5926, allocations: 12 kB / 0.5451 GB, free: 18.97 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0002221/0.5928, allocations: 275.1 kB / 0.5454 GB, free: 18.7 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.5928, allocations: 96 / 0.5454 GB, free: 18.7 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001435/0.5942, allocations: 445.1 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.002004/0.5962, allocations: 1.687 MB / 0.5475 GB, free: 16.58 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.000664/0.5969, allocations: 381 kB / 0.5478 GB, free: 16.21 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.968e-06/0.5969, allocations: 4.188 kB / 0.5478 GB, free: 16.2 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002269/0.5972, allocations: 241.2 kB / 0.5481 GB, free: 15.96 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008111/0.598, allocations: 129 kB / 0.5482 GB, free: 15.84 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 1.144/1.742, allocations: 0.4951 GB / 1.043 GB, free: 50.75 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001957/1.742, allocations: 0.8195 MB / 1.044 GB, free: 49.9 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.000442/1.743, allocations: 165 kB / 1.044 GB, free: 49.76 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001539/1.743, allocations: 171.4 kB / 1.044 GB, free: 49.59 MB / 0.5137 GB Notification: Performance of SimCode: time 1.292e-06/1.743, allocations: 0 / 1.044 GB, free: 49.59 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.031/1.774, allocations: 19.8 MB / 1.064 GB, free: 30.09 MB / 0.5137 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001589/1.774, allocations: 255.6 kB / 1.064 GB, free: 29.8 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.622/4.396, allocations: 6.969 kB / 1.064 GB, free: 29.79 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