Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestAllProperties.IncompleteMedia.Glycol47.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.006723/0.006723, allocations: 107.8 kB / 21.98 MB, free: 5.219 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001796/0.001796, allocations: 216.5 kB / 25.29 MB, free: 3.215 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.444/1.444, allocations: 230.5 MB / 258.9 MB, free: 8.051 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2266/0.2266, allocations: 46.93 MB / 362.3 MB, free: 4.316 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/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) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(ModelicaTest.Media.TestAllProperties.IncompleteMedia.Glycol47,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,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.1.0-beta.om_ModelicaTest.Media.TestAllProperties.IncompleteMedia.Glycol47") translateModel(ModelicaTest.Media.TestAllProperties.IncompleteMedia.Glycol47,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,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.1.0-beta.om_ModelicaTest.Media.TestAllProperties.IncompleteMedia.Glycol47") [Timeout 660] "Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002316/0.002316, allocations: 83.86 kB / 0.4982 GB, free: 7.27 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3151/0.3174, allocations: 66.07 MB / 0.5628 GB, free: 4.289 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.IncompleteMedia.Glycol47): time 0.007714/0.3251, allocations: 5.379 MB / 0.568 GB, free: 14.88 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.003179/0.3283, allocations: 2.67 MB / 0.5706 GB, free: 12.2 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.724e-05/0.3284, allocations: 0 / 0.5706 GB, free: 12.2 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002094/0.3286, allocations: 43.69 kB / 0.5707 GB, free: 12.16 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002736/0.3313, allocations: 1.105 MB / 0.5717 GB, free: 11.05 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003279/0.3316, allocations: 146.5 kB / 0.5719 GB, free: 10.91 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004386/0.3321, allocations: 318.3 kB / 0.5722 GB, free: 10.6 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.636e-05/0.3321, allocations: 9.75 kB / 0.5722 GB, free: 10.59 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001119/0.3332, allocations: 0.673 MB / 0.5728 GB, free: 9.914 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002707/0.3335, allocations: 155.5 kB / 0.573 GB, free: 9.762 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 2.301e-05/0.3335, allocations: 11.94 kB / 0.573 GB, free: 9.75 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002078/0.3356, allocations: 1.252 MB / 0.5742 GB, free: 8.496 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 6.894e-05/0.3357, allocations: 35.83 kB / 0.5743 GB, free: 8.461 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 9.604e-05/0.3358, allocations: 75.66 kB / 0.5743 GB, free: 8.387 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008502/0.3366, allocations: 0.5334 MB / 0.5749 GB, free: 7.855 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.897e-06/0.3366, allocations: 0 / 0.5749 GB, free: 7.855 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.463e-06/0.3366, allocations: 0 / 0.5749 GB, free: 7.855 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.144e-05/0.3366, allocations: 0 / 0.5749 GB, free: 7.855 MB / 414.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.0009995/0.3376, allocations: 0.5085 MB / 0.5754 GB, free: 7.316 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.649e-05/0.3377, allocations: 12.03 kB / 0.5754 GB, free: 7.305 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004354/0.3381, allocations: 48.75 kB / 0.5754 GB, free: 7.258 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003166/0.3384, allocations: 154.3 kB / 0.5756 GB, free: 7.082 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.64e-05/0.3384, allocations: 8.375 kB / 0.5756 GB, free: 7.074 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.096e-05/0.3385, allocations: 19.94 kB / 0.5756 GB, free: 7.055 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004316/0.3389, allocations: 252.7 kB / 0.5758 GB, free: 6.773 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.408e-05/0.3389, allocations: 3.938 kB / 0.5758 GB, free: 6.77 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.351e-05/0.3389, allocations: 4 kB / 0.5758 GB, free: 6.766 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.879e-06/0.339, allocations: 8 kB / 0.5758 GB, free: 6.758 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003724/0.3393, allocations: 240.5 kB / 0.5761 GB, free: 6.523 MB / 414.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.001265/0.3406, allocations: 1.114 MB / 0.5772 GB, free: 5.328 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002045/0.3408, allocations: 78.61 kB / 0.5772 GB, free: 5.242 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.634e-05/0.3409, allocations: 36.83 kB / 0.5773 GB, free: 5.203 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0008395/0.3417, allocations: 472.3 kB / 0.5777 GB, free: 4.723 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000236/0.3419, allocations: 165.3 kB / 0.5779 GB, free: 4.523 MB / 414.1 MB Notification: Performance of pre-optimization done (n=18): time 5.28e-06/0.3419, allocations: 7.984 kB / 0.5779 GB, free: 4.516 MB / 414.1 MB Notification: Performance of matching and sorting (n=19): time 0.0009181/0.3429, allocations: 372.1 kB / 0.5782 GB, free: 4.145 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001492/0.343, allocations: 266 kB / 0.5785 GB, free: 3.824 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001443/0.3432, allocations: 145.8 kB / 0.5786 GB, free: 3.672 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.596e-05/0.3432, allocations: 37.7 kB / 0.5787 GB, free: 3.629 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001005/0.3433, allocations: 144.2 kB / 0.5788 GB, free: 3.484 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.658e-05/0.3433, allocations: 79.34 kB / 0.5789 GB, free: 3.406 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.828e-05/0.3434, allocations: 65.59 kB / 0.5789 GB, free: 3.336 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001376/0.3436, allocations: 322.8 kB / 0.5793 GB, free: 3.012 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.512e-05/0.3437, allocations: 43.97 kB / 0.5793 GB, free: 2.969 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002028/0.3439, allocations: 187.4 kB / 0.5795 GB, free: 2.719 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003246/0.3442, allocations: 266.5 kB / 0.5797 GB, free: 2.391 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.813e-06/0.3442, allocations: 0 / 0.5797 GB, free: 2.391 MB / 414.1 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0004246/0.3446, allocations: 253.1 kB / 0.58 GB, free: 2.137 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.763e-05/0.3446, allocations: 8 kB / 0.58 GB, free: 2.129 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.027e-06/0.3446, allocations: 4 kB / 0.58 GB, free: 2.125 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.913e-05/0.3447, allocations: 8.656 kB / 0.58 GB, free: 2.117 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004554/0.3451, allocations: 103.8 kB / 0.5801 GB, free: 2.016 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003992/0.3455, allocations: 0.5898 MB / 0.5807 GB, free: 1.402 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001428/0.3457, allocations: 15.95 kB / 0.5807 GB, free: 1.387 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.592e-05/0.3457, allocations: 23.98 kB / 0.5807 GB, free: 1.363 MB / 414.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.0001378/0.3458, allocations: 133.7 kB / 0.5808 GB, free: 1.223 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.268e-05/0.3459, allocations: 20 kB / 0.5808 GB, free: 1.203 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004587/0.3463, allocations: 232.4 kB / 0.5811 GB, free: 0.9492 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.769e-06/0.3463, allocations: 4 kB / 0.5811 GB, free: 0.9453 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.553e-06/0.3464, allocations: 3.938 kB / 0.5811 GB, free: 0.9414 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.346e-06/0.3464, allocations: 0 / 0.5811 GB, free: 0.9414 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004238/0.3468, allocations: 346.9 kB / 0.5814 GB, free: 0.5508 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.927e-06/0.3468, allocations: 4 kB / 0.5814 GB, free: 0.5469 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003307/0.3471, allocations: 55.89 kB / 0.5815 GB, free: 0.4922 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.843e-06/0.3471, allocations: 7.922 kB / 0.5815 GB, free: 496 kB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.218e-05/0.3471, allocations: 4 kB / 0.5815 GB, free: 492 kB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00035/0.3475, allocations: 0.5782 MB / 0.582 GB, free: 15.88 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.343e-06/0.3475, allocations: 0 / 0.582 GB, free: 15.88 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002285/0.3477, allocations: 158.7 kB / 0.5822 GB, free: 15.7 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.089e-05/0.3478, allocations: 23.92 kB / 0.5822 GB, free: 15.68 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.162e-05/0.3478, allocations: 7.953 kB / 0.5822 GB, free: 15.67 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001341/0.3479, allocations: 4 kB / 0.5822 GB, free: 15.66 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.762e-05/0.348, allocations: 7.984 kB / 0.5822 GB, free: 15.66 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.199e-05/0.348, allocations: 19.98 kB / 0.5823 GB, free: 15.64 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0001143/0.3481, allocations: 123.2 kB / 0.5824 GB, free: 15.52 MB / 430.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3481, allocations: 0 / 0.5824 GB, free: 15.52 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0005054/0.3486, allocations: 139.7 kB / 0.5825 GB, free: 15.38 MB / 430.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.0004517/0.3491, allocations: 254.6 kB / 0.5827 GB, free: 15.12 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0004822/0.3495, allocations: 156.3 kB / 0.5829 GB, free: 14.97 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.404e-06/0.3495, allocations: 0 / 0.5829 GB, free: 14.97 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001948/0.3497, allocations: 55.89 kB / 0.5829 GB, free: 14.92 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003646/0.3501, allocations: 48.17 kB / 0.583 GB, free: 14.87 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001635/0.3517, allocations: 0.802 MB / 0.5838 GB, free: 14.03 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004407/0.3522, allocations: 0.7208 MB / 0.5845 GB, free: 13.28 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001116/0.3523, allocations: 35.42 kB / 0.5845 GB, free: 13.24 MB / 430.1 MB Notification: Performance of SimCode: time 6.82e-07/0.3523, allocations: 0 / 0.5845 GB, free: 13.24 MB / 430.1 MB Notification: Performance of Templates: time 0.009068/0.3614, allocations: 5.022 MB / 0.5894 GB, free: 8.23 MB / 430.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestAllProperties.IncompleteMedia.Glycol47.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestAllProperties.IncompleteMedia.Glycol47.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestAllProperties.IncompleteMedia.Glycol47.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestAllProperties.IncompleteMedia.Glycol47.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestAllProperties.IncompleteMedia.Glycol47.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestAllProperties.IncompleteMedia.Glycol47 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestAllProperties.IncompleteMedia.Glycol47.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestAllProperties.IncompleteMedia.Glycol47_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Media/TestAllProperties/IncompleteMedia/Glycol47/Glycol47.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestAllProperties.IncompleteMedia.Glycol47.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Could not read variable eps in file ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestAllProperties.IncompleteMedia.Glycol47_res.mat. Warning: Get data of variable eps from file ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestAllProperties.IncompleteMedia.Glycol47_res.mat failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 8.310710917925462]