Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_cpp_ModelicaTest.Media.TestAllProperties.IncompleteMedia.Glycol47.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/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_trunk_cpp_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_trunk_cpp_ModelicaTest.Media.TestAllProperties.IncompleteMedia.Glycol47") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001519/0.001519, allocations: 193.2 kB / 16.78 MB, free: 5.035 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.399/1.399, allocations: 226.5 MB / 244.1 MB, free: 6.508 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007577/0.0007577, allocations: 99.31 kB / 296.1 MB, free: 6.668 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3098/0.3098, allocations: 44.82 MB / 393 MB, free: 35.68 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003945/0.0003945, allocations: 8 kB / 465.9 MB, free: 12.71 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3394/0.3399, allocations: 62.96 MB / 0.5165 GB, free: 37.36 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4/0.7399, allocations: 192.1 MB / 0.704 GB, free: 139.3 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002494/0.7402, allocations: 82.47 kB / 0.7041 GB, free: 139.2 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.06961/0.8098, allocations: 32.73 MB / 0.7361 GB, free: 114.4 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.824e-06/0.8099, allocations: 0 / 0.7361 GB, free: 114.4 MB / 490.7 MB Notification: Performance of Transformations before backend: time 1.188e-05/0.8099, allocations: 4 kB / 0.7361 GB, free: 114.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.001021/0.8109, allocations: 0.6 MB / 0.7367 GB, free: 113.8 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.721e-05/0.811, allocations: 15.97 kB / 0.7367 GB, free: 113.8 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004254/0.8114, allocations: 44.72 kB / 0.7367 GB, free: 113.7 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001795/0.8116, allocations: 208.2 kB / 0.7369 GB, free: 113.5 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.733e-05/0.8116, allocations: 12.38 kB / 0.7369 GB, free: 113.5 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.101e-05/0.8116, allocations: 16.38 kB / 0.737 GB, free: 113.5 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003337/0.812, allocations: 242.4 kB / 0.7372 GB, free: 113.2 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.161e-05/0.812, allocations: 192 / 0.7372 GB, free: 113.2 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.829e-05/0.812, allocations: 15.94 kB / 0.7372 GB, free: 113.2 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.434e-06/0.8121, allocations: 4 kB / 0.7372 GB, free: 113.2 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002728/0.8123, allocations: 233.4 kB / 0.7374 GB, free: 112.9 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009168/0.8133, allocations: 1.314 MB / 0.7387 GB, free: 111.5 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000163/0.8134, allocations: 94.48 kB / 0.7388 GB, free: 111.4 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.539e-05/0.8135, allocations: 40.83 kB / 0.7388 GB, free: 111.3 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001108/0.8146, allocations: 2.051 MB / 0.7409 GB, free: 108.9 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001704/0.8148, allocations: 166.9 kB / 0.741 GB, free: 108.7 MB / 490.7 MB Notification: Performance of pre-optimization done (n=17): time 1.413e-06/0.8148, allocations: 0 / 0.741 GB, free: 108.7 MB / 490.7 MB Notification: Performance of matching and sorting (n=18): time 0.0008437/0.8157, allocations: 347.1 kB / 0.7413 GB, free: 108.3 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.224e-05/0.8157, allocations: 273.9 kB / 0.7416 GB, free: 108 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001081/0.8159, allocations: 164.5 kB / 0.7418 GB, free: 107.8 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 1.849e-05/0.8159, allocations: 33.7 kB / 0.7418 GB, free: 107.8 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.952e-05/0.8159, allocations: 147.7 kB / 0.7419 GB, free: 107.6 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.496e-05/0.816, allocations: 63.12 kB / 0.742 GB, free: 107.6 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.111e-05/0.816, allocations: 4 kB / 0.742 GB, free: 107.6 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 5.44e-05/0.8161, allocations: 326.8 kB / 0.7423 GB, free: 107.2 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.469e-05/0.8161, allocations: 43.53 kB / 0.7424 GB, free: 107.2 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001087/0.8162, allocations: 182.8 kB / 0.7425 GB, free: 107 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002067/0.8165, allocations: 246.6 kB / 0.7428 GB, free: 106.7 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.753e-06/0.8165, allocations: 4 kB / 0.7428 GB, free: 106.7 MB / 490.7 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0003206/0.8168, allocations: 260.5 kB / 0.743 GB, free: 106.4 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.374e-05/0.8168, allocations: 8 kB / 0.743 GB, free: 106.4 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.263e-06/0.8168, allocations: 4.656 kB / 0.743 GB, free: 106.4 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.741e-05/0.8168, allocations: 15.98 kB / 0.743 GB, free: 106.4 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004222/0.8173, allocations: 99.81 kB / 0.7431 GB, free: 106.3 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002055/0.8175, allocations: 0.5899 MB / 0.7437 GB, free: 105.7 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000134/0.8176, allocations: 8.656 kB / 0.7437 GB, free: 105.6 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.644e-05/0.8177, allocations: 27.98 kB / 0.7437 GB, free: 105.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 9.937e-05/0.8178, allocations: 145.7 kB / 0.7439 GB, free: 105.5 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.394e-05/0.8178, allocations: 19.81 kB / 0.7439 GB, free: 105.4 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003926/0.8182, allocations: 215.8 kB / 0.7441 GB, free: 105.2 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.937e-06/0.8182, allocations: 3.984 kB / 0.7441 GB, free: 105.2 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.078e-06/0.8182, allocations: 0 / 0.7441 GB, free: 105.2 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.558e-06/0.8183, allocations: 4 kB / 0.7441 GB, free: 105.2 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001709/0.8184, allocations: 225.5 kB / 0.7443 GB, free: 104.9 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.074e-06/0.8184, allocations: 4 kB / 0.7443 GB, free: 104.9 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002899/0.8187, allocations: 43.91 kB / 0.7444 GB, free: 104.9 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.447e-06/0.8187, allocations: 4 kB / 0.7444 GB, free: 104.9 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.095e-05/0.8188, allocations: 11.98 kB / 0.7444 GB, free: 104.9 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001586/0.8189, allocations: 0.5821 MB / 0.745 GB, free: 104.3 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.453e-06/0.8189, allocations: 0 / 0.745 GB, free: 104.3 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001335/0.8191, allocations: 137.8 kB / 0.7451 GB, free: 104.1 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.895e-05/0.8192, allocations: 112.9 kB / 0.7452 GB, free: 104 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.643e-05/0.8192, allocations: 4 kB / 0.7452 GB, free: 104 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001102/0.8193, allocations: 7.938 kB / 0.7452 GB, free: 104 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.044e-05/0.8193, allocations: 7.984 kB / 0.7452 GB, free: 104 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.381e-05/0.8194, allocations: 8 kB / 0.7452 GB, free: 104 MB / 490.7 MB Notification: Performance of sorting global known variables: time 7.537e-05/0.8194, allocations: 137.6 kB / 0.7454 GB, free: 103.8 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.8194, allocations: 0 / 0.7454 GB, free: 103.8 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0005373/0.82, allocations: 155.8 kB / 0.7455 GB, free: 103.7 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.0004789/0.8205, allocations: 268.8 kB / 0.7458 GB, free: 103.4 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0003831/0.8209, allocations: 164.5 kB / 0.7459 GB, free: 103.2 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 2.625e-06/0.8209, allocations: 0 / 0.7459 GB, free: 103.2 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001578/0.821, allocations: 47.91 kB / 0.746 GB, free: 103.2 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002728/0.8213, allocations: 27.98 kB / 0.746 GB, free: 103.2 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01291/0.8342, allocations: 8.228 MB / 0.754 GB, free: 94.86 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001171/0.8344, allocations: 0.7167 MB / 0.7547 GB, free: 94.12 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001179/0.8345, allocations: 35.42 kB / 0.7548 GB, free: 94.08 MB / 490.7 MB Notification: Performance of SimCode: time 4.31e-07/0.8345, allocations: 0 / 0.7548 GB, free: 94.08 MB / 490.7 MB Notification: Performance of Templates: time 0.005586/0.8401, allocations: 4.69 MB / 0.7593 GB, free: 89.4 MB / 490.7 MB make -j1 -f ModelicaTest_trunk_cpp_ModelicaTest.Media.TestAllProperties.IncompleteMedia.Glycol47.makefile (rm -f ModelicaTest_trunk_cpp_ModelicaTest.Media.TestAllProperties.IncompleteMedia.Glycol47.pipe ; mkfifo ModelicaTest_trunk_cpp_ModelicaTest.Media.TestAllProperties.IncompleteMedia.Glycol47.pipe ; head -c 1048576 < ModelicaTest_trunk_cpp_ModelicaTest.Media.TestAllProperties.IncompleteMedia.Glycol47.pipe >> ../files/ModelicaTest_trunk_cpp_ModelicaTest.Media.TestAllProperties.IncompleteMedia.Glycol47.sim & ./ModelicaTest_trunk_cpp_ModelicaTest.Media.TestAllProperties.IncompleteMedia.Glycol47 --alarm=480 -emit_protected > ModelicaTest_trunk_cpp_ModelicaTest.Media.TestAllProperties.IncompleteMedia.Glycol47.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_cpp_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","../files/ModelicaTest_trunk_cpp_ModelicaTest.Media.TestAllProperties.IncompleteMedia.Glycol47.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches