Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.Glycol47.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.Glycol47,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.Glycol47") translateModel(ModelicaTest.Media.TestAllProperties.IncompleteMedia.Glycol47,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.Glycol47") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001563/0.001563, allocations: 103.3 kB / 18.4 MB, free: 4.57 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.001869/0.001869, allocations: 192 kB / 19.34 MB, free: 3.641 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.487/1.487, 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.2235/0.2235, allocations: 44.18 MB / 337.4 MB, free: 2.719 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001256/0.001256, allocations: 61.53 kB / 409.9 MB, free: 26.54 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1194/0.1207, allocations: 60.83 MB / 470.7 MB, free: 13.66 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.IncompleteMedia.Glycol47): time 0.008012/0.1288, allocations: 5.243 MB / 476 MB, free: 8.383 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.003148/0.132, allocations: 2.647 MB / 478.6 MB, free: 5.723 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.668e-05/0.1321, allocations: 0 / 478.6 MB, free: 5.723 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003516/0.1325, allocations: 39.7 kB / 478.6 MB, free: 5.684 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00364/0.1362, allocations: 1.062 MB / 479.7 MB, free: 4.621 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004019/0.1366, allocations: 144.3 kB / 479.8 MB, free: 4.484 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000515/0.1371, allocations: 306.6 kB / 480.1 MB, free: 4.184 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.905e-05/0.1372, allocations: 13.55 kB / 480.2 MB, free: 4.172 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001148/0.1383, allocations: 0.6508 MB / 480.8 MB, free: 3.52 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002898/0.1386, allocations: 151.6 kB / 481 MB, free: 3.371 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.439e-05/0.1387, allocations: 4 kB / 481 MB, free: 3.367 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00219/0.1409, allocations: 1.19 MB / 482.1 MB, free: 2.176 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.686e-05/0.141, allocations: 31.84 kB / 482.2 MB, free: 2.145 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001118/0.1411, allocations: 79.64 kB / 482.3 MB, free: 2.066 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008955/0.142, allocations: 0.5223 MB / 482.8 MB, free: 1.543 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.713e-06/0.142, allocations: 4 kB / 482.8 MB, free: 1.539 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.904e-06/0.142, allocations: 0 / 482.8 MB, free: 1.539 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.514e-06/0.142, allocations: 0 / 482.8 MB, free: 1.539 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.0009504/0.143, allocations: 0.5575 MB / 483.3 MB, free: 0.9336 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.17e-05/0.143, allocations: 20.02 kB / 483.4 MB, free: 0.9141 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004443/0.1435, allocations: 40.72 kB / 483.4 MB, free: 0.875 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000364/0.1439, allocations: 212.1 kB / 483.6 MB, free: 0.6289 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.754e-05/0.1439, allocations: 20.3 kB / 483.6 MB, free: 0.6094 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.707e-05/0.1439, allocations: 19.94 kB / 483.6 MB, free: 0.5898 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004355/0.1444, allocations: 248.5 kB / 483.9 MB, free: 320 kB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.488e-05/0.1444, allocations: 7.938 kB / 483.9 MB, free: 312 kB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.484e-05/0.1444, allocations: 4 kB / 483.9 MB, free: 308 kB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.134e-06/0.1444, allocations: 4 kB / 483.9 MB, free: 304 kB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003438/0.1448, allocations: 233.4 kB / 484.1 MB, free: 72 kB / 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.001473/0.1463, allocations: 1.357 MB / 485.5 MB, free: 14.57 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002112/0.1465, allocations: 86.59 kB / 485.6 MB, free: 14.48 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.615e-05/0.1466, allocations: 48.83 kB / 485.6 MB, free: 14.43 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001765/0.1483, allocations: 2.051 MB / 487.7 MB, free: 11.96 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002718/0.1486, allocations: 170 kB / 487.8 MB, free: 11.76 MB / 366.1 MB Notification: Performance of pre-optimization done (n=18): time 2.425e-06/0.1486, allocations: 0 / 487.8 MB, free: 11.76 MB / 366.1 MB Notification: Performance of matching and sorting (n=19): time 0.001016/0.1497, allocations: 363.8 kB / 488.2 MB, free: 11.39 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001657/0.1498, allocations: 261 kB / 488.4 MB, free: 11.08 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002145/0.1501, allocations: 149.7 kB / 488.6 MB, free: 10.92 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.561e-05/0.1501, allocations: 29.7 kB / 488.6 MB, free: 10.89 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001125/0.1502, allocations: 147.7 kB / 488.8 MB, free: 10.74 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.441e-05/0.1503, allocations: 67.34 kB / 488.8 MB, free: 10.67 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.651e-05/0.1504, allocations: 69.59 kB / 488.9 MB, free: 10.6 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001449/0.1505, allocations: 322.8 kB / 489.2 MB, free: 10.27 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.549e-05/0.1506, allocations: 47.91 kB / 489.3 MB, free: 10.23 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001895/0.1508, allocations: 176.5 kB / 489.4 MB, free: 9.988 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003129/0.1511, allocations: 262 kB / 489.7 MB, free: 9.668 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.529e-06/0.1512, allocations: 4 kB / 489.7 MB, free: 9.664 MB / 366.1 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0004274/0.1516, allocations: 253.3 kB / 489.9 MB, free: 9.41 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.945e-05/0.1516, allocations: 4 kB / 489.9 MB, free: 9.406 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.346e-05/0.1516, allocations: 8 kB / 490 MB, free: 9.398 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.36e-05/0.1517, allocations: 4 kB / 490 MB, free: 9.395 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000461/0.1521, allocations: 103.8 kB / 490.1 MB, free: 9.293 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004256/0.1526, allocations: 0.6057 MB / 490.7 MB, free: 8.664 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001395/0.1527, allocations: 8 kB / 490.7 MB, free: 8.656 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.737e-05/0.1528, allocations: 20 kB / 490.7 MB, free: 8.637 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.0001338/0.1529, allocations: 141.7 kB / 490.8 MB, free: 8.488 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.191e-05/0.153, allocations: 15.81 kB / 490.8 MB, free: 8.473 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004719/0.1535, allocations: 243.8 kB / 491.1 MB, free: 8.203 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.556e-06/0.1535, allocations: 0 / 491.1 MB, free: 8.203 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.151e-06/0.1535, allocations: 7.938 kB / 491.1 MB, free: 8.195 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.538e-06/0.1535, allocations: 0 / 491.1 MB, free: 8.195 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004505/0.1539, allocations: 436.9 kB / 491.5 MB, free: 7.691 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.073e-06/0.154, allocations: 0 / 491.5 MB, free: 7.691 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003237/0.1543, allocations: 55.97 kB / 491.6 MB, free: 7.637 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.402e-06/0.1543, allocations: 11.94 kB / 491.6 MB, free: 7.625 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.201e-05/0.1543, allocations: 0 / 491.6 MB, free: 7.625 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003062/0.1546, allocations: 0.5821 MB / 492.2 MB, free: 7.02 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.663e-06/0.1546, allocations: 0 / 492.2 MB, free: 7.02 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001972/0.1549, allocations: 154.6 kB / 492.3 MB, free: 6.844 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.233e-05/0.155, allocations: 101 kB / 492.4 MB, free: 6.727 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.492e-05/0.155, allocations: 11.94 kB / 492.4 MB, free: 6.715 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001252/0.1551, allocations: 0 / 492.4 MB, free: 6.715 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.571e-05/0.1552, allocations: 7.984 kB / 492.4 MB, free: 6.707 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.062e-05/0.1552, allocations: 15.94 kB / 492.5 MB, free: 6.691 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001105/0.1553, allocations: 127.2 kB / 492.6 MB, free: 6.566 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1553, allocations: 0 / 492.6 MB, free: 6.566 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0005102/0.1558, allocations: 136.1 kB / 492.7 MB, free: 6.434 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.0005505/0.1564, allocations: 265.8 kB / 493 MB, free: 6.172 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0004842/0.1569, allocations: 160.9 kB / 493.1 MB, free: 6.016 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.286e-06/0.1569, allocations: 0 / 493.1 MB, free: 6.016 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001858/0.1571, allocations: 51.91 kB / 493.2 MB, free: 5.965 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003678/0.1575, allocations: 47.94 kB / 493.2 MB, free: 5.918 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001513/0.159, allocations: 0.7641 MB / 494 MB, free: 5.121 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003529/0.1594, allocations: 0.7128 MB / 494.7 MB, free: 4.383 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0002181/0.1596, allocations: 77.84 kB / 494.8 MB, free: 4.305 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.39e-05/0.1596, allocations: 27.42 kB / 494.8 MB, free: 4.277 MB / 366.1 MB Notification: Performance of SimCode: time 3.61e-07/0.1597, allocations: 0 / 494.8 MB, free: 4.277 MB / 366.1 MB Notification: Performance of Templates: time 0.008845/0.1685, allocations: 4.498 MB / 499.3 MB, free: 15.81 MB / 382.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.Glycol47.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.Glycol47.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.Glycol47.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.Glycol47.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.Glycol47.sim & ./ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.Glycol47 -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.Glycol47.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.Glycol47_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestAllProperties/IncompleteMedia/Glycol47/Glycol47.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.Glycol47.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches