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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001154/0.001154, allocations: 80.92 kB / 21.49 MB, free: 2.996 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.00124/0.00124, allocations: 170.1 kB / 24.91 MB, free: 8.723 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9756/0.9756, allocations: 177.1 MB / 205.3 MB, free: 4.488 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1692/0.1692, allocations: 32.79 MB / 294.6 MB, free: 15.43 MB / 282.7 MB " [Timeout remaining time 180] 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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/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.0.0_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.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.Glycol47") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.244e-06/2.244e-06, allocations: 3.984 kB / 323.2 MB, free: 2.77 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.293e-05/2.518e-05, allocations: 4.844 kB / 323.3 MB, free: 2.766 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.IncompleteMedia.Glycol47): time 0.005519/0.005544, allocations: 5.408 MB / 328.7 MB, free: 13.32 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.002162/0.007706, allocations: 2.728 MB / 331.4 MB, free: 10.58 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.843e-05/0.007765, allocations: 4 kB / 331.4 MB, free: 10.57 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002281/0.007993, allocations: 47.69 kB / 331.4 MB, free: 10.53 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002191/0.01018, allocations: 1.21 MB / 332.7 MB, free: 9.312 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002222/0.01041, allocations: 159.7 kB / 332.8 MB, free: 9.156 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003253/0.01073, allocations: 338.4 kB / 333.1 MB, free: 8.824 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.846e-05/0.01077, allocations: 6.469 kB / 333.1 MB, free: 8.82 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007327/0.0115, allocations: 0.6821 MB / 333.8 MB, free: 8.137 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001582/0.01166, allocations: 147.7 kB / 334 MB, free: 7.992 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 1.812e-05/0.01168, allocations: 8 kB / 334 MB, free: 7.984 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001136/0.01282, allocations: 1.193 MB / 335.2 MB, free: 6.789 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 5.332e-05/0.01287, allocations: 39.89 kB / 335.2 MB, free: 6.75 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 5.438e-05/0.01292, allocations: 55.84 kB / 335.3 MB, free: 6.695 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005903/0.01351, allocations: 0.5726 MB / 335.8 MB, free: 6.121 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.22e-06/0.01352, allocations: 0 / 335.8 MB, free: 6.121 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.613e-06/0.01352, allocations: 0 / 335.8 MB, free: 6.121 MB / 314.7 MB Notification: Performance of Transformations before backend: time 4.098e-06/0.01352, allocations: 0 / 335.8 MB, free: 6.121 MB / 314.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.0006446/0.01417, allocations: 487.3 kB / 336.3 MB, free: 5.621 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.856e-05/0.01421, allocations: 11.98 kB / 336.3 MB, free: 5.609 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002788/0.01449, allocations: 96.66 kB / 336.4 MB, free: 5.516 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001543/0.01464, allocations: 145.5 kB / 336.6 MB, free: 5.348 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.321e-05/0.01465, allocations: 12.38 kB / 336.6 MB, free: 5.336 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.505e-05/0.01468, allocations: 20.38 kB / 336.6 MB, free: 5.316 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002303/0.01491, allocations: 284.7 kB / 336.9 MB, free: 4.984 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.656e-06/0.01492, allocations: 0 / 336.9 MB, free: 4.984 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.523e-05/0.01493, allocations: 8 kB / 336.9 MB, free: 4.977 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.116e-06/0.01494, allocations: 4 kB / 336.9 MB, free: 4.973 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001455/0.01509, allocations: 147.9 kB / 337 MB, free: 4.828 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006784/0.01577, allocations: 0.9296 MB / 338 MB, free: 3.855 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001047/0.01587, allocations: 54.53 kB / 338 MB, free: 3.793 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.699e-05/0.0159, allocations: 28.86 kB / 338 MB, free: 3.762 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006062/0.0165, allocations: 0.5004 MB / 338.5 MB, free: 3.246 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001372/0.01664, allocations: 180.7 kB / 338.7 MB, free: 3.023 MB / 314.7 MB Notification: Performance of pre-optimization done (n=18): time 1.292e-06/0.01664, allocations: 0 / 338.7 MB, free: 3.023 MB / 314.7 MB Notification: Performance of matching and sorting (n=18): time 0.0002509/0.01689, allocations: 157.4 kB / 338.9 MB, free: 2.863 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.856e-05/0.01697, allocations: 269 kB / 339.1 MB, free: 2.539 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001437/0.01711, allocations: 161.6 kB / 339.3 MB, free: 2.371 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 2.374e-05/0.01714, allocations: 33.7 kB / 339.3 MB, free: 2.332 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.626e-05/0.01719, allocations: 156 kB / 339.5 MB, free: 2.176 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.288e-05/0.01723, allocations: 59.47 kB / 339.5 MB, free: 2.117 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.027e-05/0.01728, allocations: 57.92 kB / 339.6 MB, free: 2.055 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 7.027e-05/0.01735, allocations: 326.8 kB / 339.9 MB, free: 1.727 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.669e-05/0.01737, allocations: 28.53 kB / 339.9 MB, free: 1.699 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.434e-05/0.01746, allocations: 168.1 kB / 340.1 MB, free: 1.469 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001493/0.01761, allocations: 233.3 kB / 340.3 MB, free: 1.172 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.986e-06/0.01761, allocations: 0 / 340.3 MB, free: 1.172 MB / 314.7 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0001682/0.01778, allocations: 201.3 kB / 340.5 MB, free: 0.9688 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.39e-05/0.01779, allocations: 11.94 kB / 340.5 MB, free: 0.957 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.352e-06/0.0178, allocations: 4 kB / 340.5 MB, free: 0.9531 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.535e-05/0.01782, allocations: 8 kB / 340.5 MB, free: 0.9453 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002147/0.01803, allocations: 87.88 kB / 340.6 MB, free: 0.8594 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002318/0.01826, allocations: 0.586 MB / 341.2 MB, free: 256 kB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.494e-05/0.01834, allocations: 28.16 kB / 341.2 MB, free: 228 kB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.121e-05/0.01836, allocations: 23.98 kB / 341.3 MB, free: 204 kB / 314.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 (34): * Single equations (assignments): 33 * 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 7.578e-05/0.01843, allocations: 136.5 kB / 341.4 MB, free: 56 kB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.786e-05/0.01846, allocations: 23.92 kB / 341.4 MB, free: 32 kB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.1372/0.1557, allocations: 181.2 kB / 341.6 MB, free: 26.89 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.093e-06/0.1557, allocations: 3.109 kB / 341.6 MB, free: 26.89 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.667e-06/0.1557, allocations: 0.7188 kB / 341.6 MB, free: 26.89 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.472e-06/0.1557, allocations: 2.734 kB / 341.6 MB, free: 26.89 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004462/0.1561, allocations: 283 kB / 341.9 MB, free: 26.7 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.826e-06/0.1561, allocations: 2.344 kB / 341.9 MB, free: 26.7 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001925/0.1563, allocations: 41.11 kB / 341.9 MB, free: 26.7 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.4e-06/0.1563, allocations: 2.469 kB / 341.9 MB, free: 26.7 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.276e-06/0.1563, allocations: 1.906 kB / 341.9 MB, free: 26.7 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001357/0.1565, allocations: 0.5857 MB / 342.5 MB, free: 26.12 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.803e-06/0.1565, allocations: 1.188 kB / 342.5 MB, free: 26.12 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000122/0.1566, allocations: 109.1 kB / 342.6 MB, free: 26.04 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.048e-05/0.1567, allocations: 23.36 kB / 342.7 MB, free: 26.04 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.782e-05/0.1567, allocations: 9.531 kB / 342.7 MB, free: 26.04 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.993e-05/0.1568, allocations: 13.03 kB / 342.7 MB, free: 26.04 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.142e-05/0.1568, allocations: 7.906 kB / 342.7 MB, free: 26.04 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.672e-05/0.1568, allocations: 4.812 kB / 342.7 MB, free: 26.04 MB / 314.7 MB Notification: Performance of sorting global known variables: time 5.884e-05/0.1569, allocations: 41.64 kB / 342.7 MB, free: 26.04 MB / 314.7 MB Notification: Performance of sort global known variables: time 6e-08/0.1569, allocations: 0 / 342.7 MB, free: 26.04 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0004132/0.1573, allocations: 143 kB / 342.9 MB, free: 26.04 MB / 314.7 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 (11): * Single equations (assignments): 10 * 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.0003596/0.1576, allocations: 248.6 kB / 343.1 MB, free: 25.97 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0003052/0.1579, allocations: 141.3 kB / 343.2 MB, free: 25.96 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.002e-05/0.1579, allocations: 3.594 kB / 343.2 MB, free: 25.96 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001038/0.158, allocations: 47.97 kB / 343.3 MB, free: 25.95 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002141/0.1583, allocations: 58.38 kB / 343.4 MB, free: 25.95 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001116/0.1594, allocations: 0.773 MB / 344.1 MB, free: 25.75 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.849e-05/0.1594, allocations: 69.44 kB / 344.2 MB, free: 25.68 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0001423/0.1595, allocations: 68 kB / 344.3 MB, free: 25.68 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001193/0.1597, allocations: 107.7 kB / 344.4 MB, free: 25.63 MB / 314.7 MB Notification: Performance of SimCode: time 5.71e-07/0.1597, allocations: 0 / 344.4 MB, free: 25.63 MB / 314.7 MB Notification: Performance of Templates: time 0.006921/0.1666, allocations: 5.15 MB / 349.5 MB, free: 24.97 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.Glycol47.makefile [Timeout 660] (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=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.Glycol47.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.Glycol47_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestAllProperties/IncompleteMedia/Glycol47/Glycol47.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Could not read variable eps in file ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.Glycol47_res.mat. Warning: Get data of variable eps from file ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.Glycol47_res.mat failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.3789556473493576]