Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.Essotherm650.conf.json 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/ModelicaServices 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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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) Running command: translateModel(ModelicaTest.Media.TestAllProperties.IncompleteMedia.Essotherm650,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|eps_h_is|eta|lambda|Pr|p|T|d|h|u|s|cp|cp2|cv|cv2|h2|d2|err_T|err_d|err_u|eps",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.Essotherm650") translateModel(ModelicaTest.Media.TestAllProperties.IncompleteMedia.Essotherm650,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|eps_h_is|eta|lambda|Pr|p|T|d|h|u|s|cp|cp2|cv|cv2|h2|d2|err_T|err_d|err_u|eps",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.Essotherm650") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009367/0.0009367, allocations: 183 kB / 18.09 MB, free: 3.629 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.404/1.404, allocations: 223.3 MB / 242.1 MB, free: 9.973 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007386/0.0007385, allocations: 94.2 kB / 293.3 MB, free: 10.55 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.3414/0.3414, allocations: 44.14 MB / 388.5 MB, free: 38.48 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004214/0.0004215, allocations: 12 kB / 461.1 MB, free: 1.297 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3749/0.3753, allocations: 61.87 MB / 0.5107 GB, free: 38.1 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4681/0.8435, allocations: 191.2 MB / 0.6974 GB, free: 141.4 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002388/0.8438, allocations: 88.64 kB / 0.6975 GB, free: 141.4 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.07868/0.9224, allocations: 33.49 MB / 0.7302 GB, free: 125.4 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.354e-06/0.9225, allocations: 0 / 0.7302 GB, free: 125.4 MB / 490.7 MB Notification: Performance of Transformations before backend: time 1.827e-05/0.9225, allocations: 4 kB / 0.7302 GB, free: 125.4 MB / 490.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 41 * Number of variables: 41 Notification: Performance of Generate backend data structure: time 0.001526/0.9241, allocations: 0.5885 MB / 0.7308 GB, free: 124.7 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.874e-05/0.9241, allocations: 8.031 kB / 0.7308 GB, free: 124.7 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005108/0.9246, allocations: 52.7 kB / 0.7308 GB, free: 124.7 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002802/0.9249, allocations: 208.2 kB / 0.731 GB, free: 124.4 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.36e-05/0.925, allocations: 12.38 kB / 0.731 GB, free: 124.4 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.182e-05/0.925, allocations: 16.38 kB / 0.7311 GB, free: 124.4 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000421/0.9255, allocations: 246.4 kB / 0.7313 GB, free: 124.1 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.438e-05/0.9255, allocations: 192 / 0.7313 GB, free: 124.1 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.522e-05/0.9255, allocations: 15.92 kB / 0.7313 GB, free: 124.1 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.287e-05/0.9256, allocations: 4 kB / 0.7313 GB, free: 124.1 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003185/0.9259, allocations: 236.5 kB / 0.7315 GB, free: 123.9 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001129/0.927, allocations: 1.318 MB / 0.7328 GB, free: 122.4 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001768/0.9272, allocations: 90.48 kB / 0.7329 GB, free: 122.3 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.236e-05/0.9273, allocations: 40.84 kB / 0.733 GB, free: 122.3 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001228/0.9285, allocations: 2.051 MB / 0.735 GB, free: 119.8 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002065/0.9287, allocations: 155 kB / 0.7351 GB, free: 119.6 MB / 490.7 MB Notification: Performance of pre-optimization done (n=17): time 1.383e-06/0.9288, allocations: 0 / 0.7351 GB, free: 119.6 MB / 490.7 MB Notification: Performance of matching and sorting (n=18): time 0.0009517/0.9297, allocations: 351 kB / 0.7354 GB, free: 119.3 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001035/0.9298, allocations: 277.9 kB / 0.7357 GB, free: 119 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001463/0.93, allocations: 159.9 kB / 0.7359 GB, free: 118.8 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 2.63e-05/0.93, allocations: 25.7 kB / 0.7359 GB, free: 118.8 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.545e-05/0.9301, allocations: 143.7 kB / 0.736 GB, free: 118.6 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.147e-05/0.9301, allocations: 63.17 kB / 0.7361 GB, free: 118.6 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.267e-05/0.9302, allocations: 8 kB / 0.7361 GB, free: 118.5 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 8.034e-05/0.9303, allocations: 326.8 kB / 0.7364 GB, free: 118.2 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.849e-05/0.9303, allocations: 35.97 kB / 0.7364 GB, free: 118.2 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001187/0.9305, allocations: 182.8 kB / 0.7366 GB, free: 117.9 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002414/0.9307, allocations: 252.7 kB / 0.7368 GB, free: 117.6 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.923e-06/0.9307, allocations: 3.938 kB / 0.7368 GB, free: 117.6 MB / 490.7 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0003589/0.9311, allocations: 264.9 kB / 0.7371 GB, free: 117.4 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.967e-05/0.9311, allocations: 8.656 kB / 0.7371 GB, free: 117.3 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.143e-05/0.9311, allocations: 4 kB / 0.7371 GB, free: 117.3 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.562e-05/0.9312, allocations: 15.98 kB / 0.7371 GB, free: 117.3 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004289/0.9316, allocations: 99.81 kB / 0.7372 GB, free: 117.2 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002412/0.9318, allocations: 0.586 MB / 0.7378 GB, free: 116.6 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001591/0.932, allocations: 24.5 kB / 0.7378 GB, free: 116.6 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.127e-05/0.9321, allocations: 19.98 kB / 0.7378 GB, free: 116.6 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 22 * 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 (35): * Single equations (assignments): 34 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001139/0.9322, allocations: 145.8 kB / 0.738 GB, free: 116.4 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.76e-05/0.9322, allocations: 11.91 kB / 0.738 GB, free: 116.4 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004199/0.9327, allocations: 227 kB / 0.7382 GB, free: 116.2 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.919e-06/0.9327, allocations: 7.984 kB / 0.7382 GB, free: 116.2 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.949e-06/0.9327, allocations: 0 / 0.7382 GB, free: 116.2 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.857e-06/0.9327, allocations: 0 / 0.7382 GB, free: 116.2 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000202/0.9329, allocations: 225.5 kB / 0.7384 GB, free: 115.9 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.044e-06/0.9329, allocations: 0 / 0.7384 GB, free: 115.9 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000315/0.9332, allocations: 47.91 kB / 0.7385 GB, free: 115.8 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.518e-06/0.9332, allocations: 3.984 kB / 0.7385 GB, free: 115.8 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.326e-05/0.9333, allocations: 12 kB / 0.7385 GB, free: 115.8 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000198/0.9335, allocations: 0.5821 MB / 0.7391 GB, free: 115.2 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.854e-06/0.9335, allocations: 0 / 0.7391 GB, free: 115.2 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001507/0.9336, allocations: 137.8 kB / 0.7392 GB, free: 115.1 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.815e-05/0.9337, allocations: 112.9 kB / 0.7393 GB, free: 114.9 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.059e-05/0.9338, allocations: 0 / 0.7393 GB, free: 114.9 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000114/0.9339, allocations: 11.94 kB / 0.7393 GB, free: 114.9 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.32e-05/0.9339, allocations: 7.984 kB / 0.7393 GB, free: 114.9 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.786e-05/0.934, allocations: 4 kB / 0.7393 GB, free: 114.9 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0001012/0.9341, allocations: 139.8 kB / 0.7395 GB, free: 114.8 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.9341, allocations: 0 / 0.7395 GB, free: 114.8 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0006191/0.9347, allocations: 143.8 kB / 0.7396 GB, free: 114.6 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (11): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0007359/0.9354, allocations: 255.5 kB / 0.7398 GB, free: 114.4 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0004256/0.9359, allocations: 156.9 kB / 0.74 GB, free: 114.2 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 3.777e-06/0.9359, allocations: 4 kB / 0.74 GB, free: 114.2 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001531/0.936, allocations: 51.91 kB / 0.74 GB, free: 114.2 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003076/0.9364, allocations: 34.09 kB / 0.7401 GB, free: 114.1 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01525/0.9516, allocations: 8.629 MB / 0.7485 GB, free: 105.4 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001345/0.9518, allocations: 0.7128 MB / 0.7492 GB, free: 104.7 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.0003237/0.9521, allocations: 77.22 kB / 0.7493 GB, free: 104.6 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.377e-05/0.9522, allocations: 35.41 kB / 0.7493 GB, free: 104.6 MB / 490.7 MB Notification: Performance of SimCode: time 9.52e-07/0.9522, allocations: 0 / 0.7493 GB, free: 104.6 MB / 490.7 MB Notification: Performance of Templates: time 0.007986/0.9602, allocations: 3.746 MB / 0.753 GB, free: 100.9 MB / 490.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.Essotherm650.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.Essotherm650.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.Essotherm650.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.Essotherm650.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.Essotherm650.sim & ./ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.Essotherm650 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.Essotherm650.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.Essotherm650_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestAllProperties/IncompleteMedia/Essotherm650/Essotherm650.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.Essotherm650.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches