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.001811/0.001811, allocations: 77.97 kB / 21.42 MB, free: 3.078 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.002165/0.002165, allocations: 171 kB / 24.82 MB, free: 8.938 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 1.114/1.114, allocations: 177.1 MB / 205.3 MB, free: 5.465 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.3259/0.3259, allocations: 32.81 MB / 294.6 MB, free: 1.172 MB / 266.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 1.914e-06/1.914e-06, allocations: 0 / 376.5 MB, free: 4.359 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.889e-05/3.081e-05, allocations: 2.312 kB / 376.5 MB, free: 4.355 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.IncompleteMedia.Glycol47): time 0.01002/0.01006, allocations: 5.365 MB / 381.9 MB, free: 14.95 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.003895/0.01395, allocations: 2.705 MB / 384.6 MB, free: 12.24 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000174/0.01412, allocations: 0 / 384.6 MB, free: 12.24 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003678/0.01449, allocations: 43.7 kB / 384.6 MB, free: 12.2 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004016/0.01851, allocations: 1.198 MB / 385.8 MB, free: 10.99 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004115/0.01892, allocations: 171.5 kB / 386 MB, free: 10.82 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005505/0.01947, allocations: 330.5 kB / 386.3 MB, free: 10.5 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.213e-05/0.01952, allocations: 9.812 kB / 386.3 MB, free: 10.49 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001249/0.02077, allocations: 0.7289 MB / 387.1 MB, free: 9.762 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003132/0.02109, allocations: 143.7 kB / 387.2 MB, free: 9.621 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 3.111e-05/0.02112, allocations: 8 kB / 387.2 MB, free: 9.613 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001945/0.02306, allocations: 1.248 MB / 388.4 MB, free: 8.363 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 6.733e-05/0.02313, allocations: 31.84 kB / 388.5 MB, free: 8.332 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 7.166e-05/0.0232, allocations: 63.83 kB / 388.5 MB, free: 8.27 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001044/0.02424, allocations: 0.5726 MB / 389.1 MB, free: 7.695 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 8.436e-06/0.02425, allocations: 0 / 389.1 MB, free: 7.695 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.895e-06/0.02426, allocations: 0 / 389.1 MB, free: 7.695 MB / 362.7 MB Notification: Performance of Transformations before backend: time 8.596e-06/0.02426, allocations: 4 kB / 389.1 MB, free: 7.691 MB / 362.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.0009069/0.02517, allocations: 0.6005 MB / 389.7 MB, free: 7.055 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.243e-05/0.02521, allocations: 8.031 kB / 389.7 MB, free: 7.047 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003361/0.02555, allocations: 80.56 kB / 389.8 MB, free: 6.969 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001972/0.02575, allocations: 156.3 kB / 390 MB, free: 6.789 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.504e-05/0.02576, allocations: 12.38 kB / 390 MB, free: 6.777 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.725e-05/0.02579, allocations: 24.36 kB / 390 MB, free: 6.754 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003039/0.02609, allocations: 305.6 kB / 390.3 MB, free: 6.395 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.217e-05/0.02611, allocations: 3.984 kB / 390.3 MB, free: 6.391 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.857e-05/0.02612, allocations: 8 kB / 390.3 MB, free: 6.383 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.833e-06/0.02613, allocations: 4 kB / 390.3 MB, free: 6.379 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001893/0.02632, allocations: 149.1 kB / 390.5 MB, free: 6.234 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001033/0.02735, allocations: 1.341 MB / 391.8 MB, free: 4.832 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001536/0.02751, allocations: 79.02 kB / 391.9 MB, free: 4.742 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.159e-05/0.02755, allocations: 38.06 kB / 391.9 MB, free: 4.703 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007147/0.02826, allocations: 0.5691 MB / 392.5 MB, free: 4.117 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002386/0.0285, allocations: 215.8 kB / 392.7 MB, free: 3.848 MB / 362.7 MB Notification: Performance of pre-optimization done (n=18): time 1.663e-06/0.0285, allocations: 4 kB / 392.7 MB, free: 3.844 MB / 362.7 MB Notification: Performance of matching and sorting (n=19): time 0.0006868/0.02919, allocations: 225.1 kB / 392.9 MB, free: 3.617 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001168/0.02931, allocations: 269 kB / 393.2 MB, free: 3.293 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001392/0.02945, allocations: 229.6 kB / 393.4 MB, free: 3.055 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.975e-05/0.02947, allocations: 29.7 kB / 393.4 MB, free: 3.02 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.78e-05/0.02956, allocations: 190.9 kB / 393.6 MB, free: 2.828 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.459e-05/0.02961, allocations: 71.42 kB / 393.7 MB, free: 2.758 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.58e-05/0.02968, allocations: 79.27 kB / 393.8 MB, free: 2.672 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001639/0.02985, allocations: 0.4923 MB / 394.3 MB, free: 2.168 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.735e-05/0.02988, allocations: 27.91 kB / 394.3 MB, free: 2.141 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000152/0.03004, allocations: 230.5 kB / 394.5 MB, free: 1.824 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002331/0.03027, allocations: 292.8 kB / 394.8 MB, free: 1.445 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.437e-06/0.03027, allocations: 4 kB / 394.8 MB, free: 1.441 MB / 362.7 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0002768/0.03055, allocations: 233.5 kB / 395 MB, free: 1.207 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.97e-05/0.03057, allocations: 9.875 kB / 395 MB, free: 1.199 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.348e-06/0.03058, allocations: 7.938 kB / 395 MB, free: 1.191 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.397e-05/0.03059, allocations: 8 kB / 395 MB, free: 1.184 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003001/0.03089, allocations: 95.88 kB / 395.1 MB, free: 1.09 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000414/0.03131, allocations: 0.905 MB / 396 MB, free: 160 kB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.65e-05/0.03139, allocations: 8 kB / 396.1 MB, free: 152 kB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.889e-05/0.03142, allocations: 20.28 kB / 396.1 MB, free: 132 kB / 362.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 (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.000137/0.03156, allocations: 196.3 kB / 396.3 MB, free: 15.93 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.824e-05/0.0316, allocations: 19.91 kB / 396.3 MB, free: 15.91 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003301/0.03193, allocations: 232.4 kB / 396.5 MB, free: 15.64 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.859e-06/0.03193, allocations: 4 kB / 396.5 MB, free: 15.64 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.696e-06/0.03194, allocations: 0 / 396.5 MB, free: 15.64 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.293e-06/0.03194, allocations: 3.984 kB / 396.5 MB, free: 15.64 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003499/0.03229, allocations: 338.1 kB / 396.8 MB, free: 15.27 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.288e-06/0.0323, allocations: 8.094 kB / 396.9 MB, free: 15.26 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001951/0.03249, allocations: 51.95 kB / 396.9 MB, free: 15.21 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.038e-06/0.0325, allocations: 0 / 396.9 MB, free: 15.21 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.617e-06/0.0325, allocations: 4 kB / 396.9 MB, free: 15.21 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003808/0.03289, allocations: 0.901 MB / 397.8 MB, free: 14.28 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.446e-06/0.03289, allocations: 3.938 kB / 397.8 MB, free: 14.27 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002118/0.0331, allocations: 143.7 kB / 398 MB, free: 14.1 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.939e-05/0.03315, allocations: 27.86 kB / 398 MB, free: 14.07 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.783e-05/0.03317, allocations: 4.062 kB / 398 MB, free: 14.07 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.179e-05/0.03324, allocations: 8 kB / 398 MB, free: 14.06 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.055e-05/0.03326, allocations: 15.91 kB / 398 MB, free: 14.05 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.199e-05/0.03327, allocations: 8 kB / 398 MB, free: 14.04 MB / 378.7 MB Notification: Performance of sorting global known variables: time 7.12e-05/0.03334, allocations: 163.1 kB / 398.2 MB, free: 13.88 MB / 378.7 MB Notification: Performance of sort global known variables: time 5e-08/0.03334, allocations: 0 / 398.2 MB, free: 13.88 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0004041/0.03375, allocations: 139.7 kB / 398.3 MB, free: 13.74 MB / 378.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 (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.0003967/0.03414, allocations: 266.7 kB / 398.6 MB, free: 13.47 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0002933/0.03444, allocations: 148.7 kB / 398.7 MB, free: 13.32 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.023e-06/0.03444, allocations: 0 / 398.7 MB, free: 13.32 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 9.096e-05/0.03453, allocations: 55.64 kB / 398.8 MB, free: 13.27 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003558/0.03489, allocations: 60.58 kB / 398.8 MB, free: 13.21 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001291/0.03618, allocations: 0.7874 MB / 399.6 MB, free: 12.38 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.457e-05/0.03622, allocations: 68.34 kB / 399.7 MB, free: 12.3 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0001712/0.03639, allocations: 73.92 kB / 399.8 MB, free: 12.22 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001412/0.03653, allocations: 134.1 kB / 399.9 MB, free: 12.09 MB / 378.7 MB Notification: Performance of SimCode: time 1.673e-06/0.03654, allocations: 0 / 399.9 MB, free: 12.09 MB / 378.7 MB Notification: Performance of Templates: time 0.008055/0.04459, allocations: 5.304 MB / 405.2 MB, free: 6.836 MB / 378.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.4984224350191653]