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: translateModel(ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_dT,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|eps_h_is|eps|eta|lambda|Pr|p|T|d|h|u|s|g|f|cp|cp2|cv|cv2|h_is|a|beta|beta2|kappa|kappa2|MM|h2|d2|err_T|err_d|err_u|s_is|err_h_is",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_dT") translateModel(ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_dT,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|eps_h_is|eps|eta|lambda|Pr|p|T|d|h|u|s|g|f|cp|cp2|cv|cv2|h_is|a|beta|beta2|kappa|kappa2|MM|h2|d2|err_T|err_d|err_u|s_is|err_h_is",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_dT") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001087/0.001087, allocations: 108.2 kB / 18.39 MB, free: 4.629 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.001023/0.001023, allocations: 182.9 kB / 19.33 MB, free: 3.699 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 / 243 MB, free: 15.13 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.2137/0.2137, allocations: 44.18 MB / 337.4 MB, free: 2.688 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001303/0.001303, allocations: 64.45 kB / 409.9 MB, free: 26.51 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1297/0.131, allocations: 60.83 MB / 470.7 MB, free: 13.63 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_dT): time 0.01296/0.144, allocations: 11.23 MB / 481.9 MB, free: 2.348 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01259/0.1567, allocations: 11.77 MB / 493.7 MB, free: 6.531 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001554/0.1569, allocations: 4 kB / 493.7 MB, free: 6.527 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003381/0.1573, allocations: 75.48 kB / 493.8 MB, free: 6.453 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01272/0.17, allocations: 3.113 MB / 496.9 MB, free: 3.324 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005016/0.1705, allocations: 153.8 kB / 497.1 MB, free: 3.18 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.00598/0.1765, allocations: 3.897 MB / 0.4892 GB, free: 15.27 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.135e-05/0.1766, allocations: 12.41 kB / 0.4892 GB, free: 15.26 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001944/0.1768, allocations: 143.5 kB / 0.4894 GB, free: 15.12 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.009056/0.1859, allocations: 7.13 MB / 0.4963 GB, free: 7.984 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 6.461e-05/0.186, allocations: 8 kB / 0.4963 GB, free: 7.977 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005672/0.1916, allocations: 2.111 MB / 0.4984 GB, free: 5.863 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 9.438e-05/0.1918, allocations: 43.77 kB / 0.4984 GB, free: 5.82 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000188/0.192, allocations: 127.4 kB / 0.4986 GB, free: 5.695 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003898/0.1959, allocations: 1.54 MB / 0.5001 GB, free: 4.152 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.312e-06/0.1959, allocations: 0 / 0.5001 GB, free: 4.152 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.455e-06/0.1959, allocations: 0 / 0.5001 GB, free: 4.152 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.459e-05/0.1959, allocations: 0 / 0.5001 GB, free: 4.152 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.002192/0.1981, allocations: 0.9166 MB / 0.501 GB, free: 3.188 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.873e-05/0.1982, allocations: 12.03 kB / 0.501 GB, free: 3.176 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006358/0.1988, allocations: 76.59 kB / 0.501 GB, free: 3.102 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003828/0.1992, allocations: 255.9 kB / 0.5013 GB, free: 2.812 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.462e-05/0.1993, allocations: 24.94 kB / 0.5013 GB, free: 2.789 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.937e-05/0.1993, allocations: 28.38 kB / 0.5013 GB, free: 2.762 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009858/0.2003, allocations: 477.6 kB / 0.5018 GB, free: 2.258 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.456e-05/0.2003, allocations: 0 / 0.5018 GB, free: 2.258 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.561e-05/0.2004, allocations: 20 kB / 0.5018 GB, free: 2.238 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.012e-05/0.2004, allocations: 8 kB / 0.5018 GB, free: 2.23 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001135/0.2015, allocations: 0.6773 MB / 0.5025 GB, free: 1.555 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.2747/0.4763, allocations: 3.096 MB / 0.5055 GB, free: 50.44 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007936/0.4771, allocations: 222.7 kB / 0.5057 GB, free: 50.42 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001441/0.4772, allocations: 77.88 kB / 0.5058 GB, free: 50.41 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.07636/0.5536, allocations: 30.75 MB / 0.5358 GB, free: 30.05 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007152/0.5544, allocations: 349.8 kB / 0.5362 GB, free: 29.65 MB / 382.1 MB Notification: Performance of pre-optimization done (n=35): time 2.184e-06/0.5544, allocations: 0 / 0.5362 GB, free: 29.65 MB / 382.1 MB Notification: Performance of matching and sorting (n=37): time 0.00276/0.5571, allocations: 0.9666 MB / 0.5371 GB, free: 28.7 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001062/0.5573, allocations: 475.9 kB / 0.5375 GB, free: 28.12 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001079/0.5574, allocations: 164.3 kB / 0.5377 GB, free: 27.96 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.187e-05/0.5574, allocations: 37.7 kB / 0.5377 GB, free: 27.91 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.305e-05/0.5575, allocations: 163.5 kB / 0.5379 GB, free: 27.75 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.956e-05/0.5575, allocations: 129.2 kB / 0.538 GB, free: 27.62 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.495e-05/0.5576, allocations: 94.14 kB / 0.5381 GB, free: 27.53 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 5.855e-05/0.5577, allocations: 330.8 kB / 0.5384 GB, free: 27.2 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001059/0.5578, allocations: 81.02 kB / 0.5385 GB, free: 27.12 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001914/0.558, allocations: 318.1 kB / 0.5388 GB, free: 26.7 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003606/0.5584, allocations: 460.5 kB / 0.5392 GB, free: 26.13 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.367e-06/0.5584, allocations: 1.625 kB / 0.5392 GB, free: 26.13 MB / 382.1 MB Notification: Performance of matching and sorting (n=56) (initialization): time 0.0006128/0.559, allocations: 435.4 kB / 0.5397 GB, free: 25.7 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.81e-05/0.559, allocations: 12 kB / 0.5397 GB, free: 25.68 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.072e-05/0.5591, allocations: 8 kB / 0.5397 GB, free: 25.68 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001879/0.5609, allocations: 321.2 kB / 0.54 GB, free: 25.36 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002581/0.5612, allocations: 115.7 kB / 0.5401 GB, free: 25.25 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004322/0.5617, allocations: 1.211 MB / 0.5413 GB, free: 23.99 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000207/0.5619, allocations: 23 kB / 0.5413 GB, free: 23.97 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.099e-05/0.5619, allocations: 35.98 kB / 0.5413 GB, free: 23.94 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.0001296/0.5621, allocations: 161.5 kB / 0.5415 GB, free: 23.77 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8e-05/0.5621, allocations: 37.23 kB / 0.5415 GB, free: 23.73 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001063/0.5632, allocations: 1.037 MB / 0.5425 GB, free: 22.66 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.016e-05/0.5632, allocations: 12 kB / 0.5425 GB, free: 22.65 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.761e-06/0.5632, allocations: 0 / 0.5425 GB, free: 22.65 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.072e-06/0.5633, allocations: 7.984 kB / 0.5426 GB, free: 22.64 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001154/0.5644, allocations: 1.553 MB / 0.5441 GB, free: 20.95 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.382e-06/0.5644, allocations: 4 kB / 0.5441 GB, free: 20.95 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001262/0.5646, allocations: 35.92 kB / 0.5441 GB, free: 20.91 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001129/0.5657, allocations: 245.5 kB / 0.5443 GB, free: 20.66 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.022e-05/0.5657, allocations: 15.88 kB / 0.5444 GB, free: 20.65 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004447/0.5662, allocations: 1.258 MB / 0.5456 GB, free: 19.34 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.783e-06/0.5662, allocations: 8.062 kB / 0.5456 GB, free: 19.34 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005577/0.5668, allocations: 0.6063 MB / 0.5462 GB, free: 18.68 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.515e-05/0.5668, allocations: 108.7 kB / 0.5463 GB, free: 18.56 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.788e-05/0.5669, allocations: 43.44 kB / 0.5463 GB, free: 18.52 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002216/0.5671, allocations: 15.98 kB / 0.5463 GB, free: 18.5 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.674e-05/0.5672, allocations: 31.84 kB / 0.5464 GB, free: 18.47 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.965e-05/0.5672, allocations: 12 kB / 0.5464 GB, free: 18.46 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0002244/0.5674, allocations: 275.1 kB / 0.5467 GB, free: 18.19 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.5674, allocations: 0 / 0.5467 GB, free: 18.19 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001311/0.5687, allocations: 443.6 kB / 0.5471 GB, free: 17.75 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.001161/0.5699, allocations: 0.6582 MB / 0.5477 GB, free: 17.15 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0005468/0.5705, allocations: 371.4 kB / 0.5481 GB, free: 16.79 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.958e-06/0.5705, allocations: 0 / 0.5481 GB, free: 16.79 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002255/0.5707, allocations: 235.6 kB / 0.5483 GB, free: 16.55 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007236/0.5714, allocations: 126.2 kB / 0.5484 GB, free: 16.43 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 1.087/1.658, allocations: 0.4918 GB / 1.04 GB, free: 55.23 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002654/1.658, allocations: 0.8273 MB / 1.041 GB, free: 54.38 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0004162/1.659, allocations: 166.7 kB / 1.041 GB, free: 54.23 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.899e-05/1.659, allocations: 37.31 kB / 1.041 GB, free: 54.2 MB / 0.5137 GB Notification: Performance of SimCode: time 9.11e-07/1.659, allocations: 0 / 1.041 GB, free: 54.2 MB / 0.5137 GB Notification: Performance of Templates: time 0.01837/1.677, allocations: 15.54 MB / 1.056 GB, free: 38.74 MB / 0.5137 GB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_dT.makefile (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 & ./ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_dT -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > 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