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/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.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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001492/0.001492, allocations: 113.4 kB / 17.86 MB, free: 5.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.001801/0.001801, allocations: 201.9 kB / 18.77 MB, free: 4.715 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.387/1.387, allocations: 222.9 MB / 242.5 MB, free: 13.76 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.2258/0.2258, allocations: 44.18 MB / 336.8 MB, free: 2.773 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00127/0.00127, allocations: 63.33 kB / 408.4 MB, free: 27.68 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1093/0.1106, allocations: 60.84 MB / 469.2 MB, free: 14.81 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.IncompleteMedia.Essotherm650): time 0.007153/0.1178, allocations: 5.338 MB / 474.5 MB, free: 9.441 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.003073/0.1209, allocations: 2.679 MB / 477.2 MB, free: 6.75 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001006/0.121, allocations: 4 kB / 477.2 MB, free: 6.746 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002318/0.1213, allocations: 27.83 kB / 477.2 MB, free: 6.719 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002434/0.1237, allocations: 0.9838 MB / 478.2 MB, free: 5.734 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003647/0.1241, allocations: 154.2 kB / 478.4 MB, free: 5.59 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005976/0.1247, allocations: 330.7 kB / 478.7 MB, free: 5.266 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.478e-05/0.1248, allocations: 9.562 kB / 478.7 MB, free: 5.258 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001427/0.1262, allocations: 0.8611 MB / 479.6 MB, free: 4.395 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000317/0.1265, allocations: 155.8 kB / 479.7 MB, free: 4.242 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.655e-05/0.1266, allocations: 4 kB / 479.7 MB, free: 4.238 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002268/0.1288, allocations: 1.365 MB / 481.1 MB, free: 2.871 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.543e-05/0.1289, allocations: 39.77 kB / 481.1 MB, free: 2.832 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001461/0.1291, allocations: 79.64 kB / 481.2 MB, free: 2.754 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007565/0.1299, allocations: 379.3 kB / 481.6 MB, free: 2.383 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.517e-06/0.1299, allocations: 0 / 481.6 MB, free: 2.383 MB / 350.1 MB Notification: Performance of FrontEnd: time 8.51e-07/0.1299, allocations: 4 kB / 481.6 MB, free: 2.379 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.531e-06/0.1299, allocations: 0 / 481.6 MB, free: 2.379 MB / 350.1 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.00107/0.131, allocations: 0.5653 MB / 482.1 MB, free: 1.766 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.679e-05/0.131, allocations: 8.031 kB / 482.2 MB, free: 1.758 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004739/0.1315, allocations: 52.7 kB / 482.2 MB, free: 1.707 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002443/0.1317, allocations: 208.1 kB / 482.4 MB, free: 1.465 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.954e-05/0.1318, allocations: 24.38 kB / 482.4 MB, free: 1.441 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.763e-05/0.1318, allocations: 19.94 kB / 482.5 MB, free: 1.422 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004373/0.1323, allocations: 237.7 kB / 482.7 MB, free: 1.156 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.222e-05/0.1323, allocations: 3.984 kB / 482.7 MB, free: 1.152 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.973e-05/0.1323, allocations: 12 kB / 482.7 MB, free: 1.141 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.344e-06/0.1323, allocations: 8 kB / 482.7 MB, free: 1.133 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003534/0.1327, allocations: 236.5 kB / 482.9 MB, free: 0.9023 MB / 350.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.001377/0.1341, allocations: 1.349 MB / 484.3 MB, free: 15.41 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002128/0.1343, allocations: 94.53 kB / 484.4 MB, free: 15.31 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.818e-05/0.1344, allocations: 40.84 kB / 484.4 MB, free: 15.27 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001695/0.1361, allocations: 2.059 MB / 486.5 MB, free: 12.79 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003017/0.1364, allocations: 163 kB / 486.6 MB, free: 12.59 MB / 366.1 MB Notification: Performance of pre-optimization done (n=18): time 1.643e-06/0.1364, allocations: 0 / 486.6 MB, free: 12.59 MB / 366.1 MB Notification: Performance of matching and sorting (n=19): time 0.0009414/0.1374, allocations: 355.8 kB / 487 MB, free: 12.24 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001251/0.1375, allocations: 273.2 kB / 487.3 MB, free: 11.91 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001327/0.1376, allocations: 149.7 kB / 487.4 MB, free: 11.75 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.092e-05/0.1377, allocations: 29.7 kB / 487.4 MB, free: 11.72 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.11e-05/0.1378, allocations: 147.7 kB / 487.6 MB, free: 11.57 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.828e-05/0.1378, allocations: 67.09 kB / 487.6 MB, free: 11.5 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.505e-05/0.1379, allocations: 65.59 kB / 487.7 MB, free: 11.43 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001089/0.138, allocations: 326.8 kB / 488 MB, free: 11.11 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.755e-05/0.1381, allocations: 35.98 kB / 488.1 MB, free: 11.07 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001712/0.1383, allocations: 180.5 kB / 488.2 MB, free: 10.83 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003794/0.1387, allocations: 266.5 kB / 488.5 MB, free: 10.5 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.364e-06/0.1387, allocations: 0.6562 kB / 488.5 MB, free: 10.5 MB / 366.1 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0004594/0.1392, allocations: 265.6 kB / 488.8 MB, free: 10.23 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.655e-05/0.1392, allocations: 8 kB / 488.8 MB, free: 10.23 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.526e-06/0.1392, allocations: 4 kB / 488.8 MB, free: 10.22 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.69e-05/0.1392, allocations: 8 kB / 488.8 MB, free: 10.21 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004683/0.1397, allocations: 95.88 kB / 488.9 MB, free: 10.12 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003491/0.1401, allocations: 0.5975 MB / 489.5 MB, free: 9.5 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001439/0.1402, allocations: 16.09 kB / 489.5 MB, free: 9.484 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.622e-05/0.1403, allocations: 24 kB / 489.5 MB, free: 9.461 MB / 366.1 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 (not torn): 1 * 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): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001301/0.1404, allocations: 139.5 kB / 489.6 MB, free: 9.316 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.42e-05/0.1405, allocations: 19.81 kB / 489.7 MB, free: 9.297 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000476/0.1409, allocations: 231.8 kB / 489.9 MB, free: 9.039 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.428e-06/0.141, allocations: 4 kB / 489.9 MB, free: 9.035 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.751e-06/0.141, allocations: 3.938 kB / 489.9 MB, free: 9.031 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.355e-06/0.141, allocations: 3.984 kB / 489.9 MB, free: 9.027 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004466/0.1414, allocations: 440.8 kB / 490.3 MB, free: 8.52 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.914e-06/0.1415, allocations: 3.938 kB / 490.3 MB, free: 8.516 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003446/0.1418, allocations: 55.95 kB / 490.4 MB, free: 8.461 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.309e-06/0.1418, allocations: 4.031 kB / 490.4 MB, free: 8.457 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.341e-05/0.1419, allocations: 8 kB / 490.4 MB, free: 8.449 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002934/0.1421, allocations: 0.5821 MB / 491 MB, free: 7.844 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.835e-06/0.1422, allocations: 3.984 kB / 491 MB, free: 7.84 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002146/0.1424, allocations: 146.7 kB / 491.1 MB, free: 7.672 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.442e-05/0.1425, allocations: 93 kB / 491.2 MB, free: 7.562 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.332e-05/0.1425, allocations: 7.938 kB / 491.2 MB, free: 7.555 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000194/0.1427, allocations: 11.98 kB / 491.2 MB, free: 7.543 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.172e-05/0.1428, allocations: 11.92 kB / 491.2 MB, free: 7.531 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.913e-05/0.1428, allocations: 4 kB / 491.3 MB, free: 7.527 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001092/0.1429, allocations: 135.7 kB / 491.4 MB, free: 7.395 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.1429, allocations: 0 / 491.4 MB, free: 7.395 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0005061/0.1434, allocations: 136 kB / 491.5 MB, free: 7.262 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (12): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * 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): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0005885/0.144, allocations: 283.9 kB / 491.8 MB, free: 6.988 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0004483/0.1445, allocations: 155.7 kB / 491.9 MB, free: 6.836 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.605e-06/0.1445, allocations: 1.312 kB / 491.9 MB, free: 6.836 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001893/0.1447, allocations: 51.91 kB / 492 MB, free: 6.785 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004126/0.1451, allocations: 52.08 kB / 492 MB, free: 6.734 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001293/0.1464, allocations: 0.8411 MB / 492.9 MB, free: 5.855 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002341/0.1467, allocations: 0.7128 MB / 493.6 MB, free: 5.113 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001024/0.1468, allocations: 39.41 kB / 493.6 MB, free: 5.074 MB / 366.1 MB Notification: Performance of SimCode: time 3.61e-07/0.1468, allocations: 0 / 493.6 MB, free: 5.074 MB / 366.1 MB Notification: Performance of Templates: time 0.006931/0.1537, allocations: 4.991 MB / 498.6 MB, free: 104 kB / 366.1 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","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.Essotherm650.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches