Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.LinearColdWater.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.001006/0.001006, allocations: 80.05 kB / 20.72 MB, free: 3.766 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.001058/0.001058, allocations: 169 kB / 24.14 MB, free: 356 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.8706/0.8706, allocations: 158.6 MB / 186 MB, free: 2.758 MB / 170.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1452/0.1452, allocations: 32.38 MB / 270.7 MB, free: 14.6 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.LinearColdWater,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5003,variableFilter="time|eps_h_is|eta|lambda|Pr|p|T|d|h|u|s|g|f|cp|cp2|cv|cv2|h_is|a|beta|beta2|kappa|kappa2|ddpT|ddTp|dddX.[0-9,]+.|MM|h2|d2|err_T|err_d|err_u|s_is|err_h_is|eps",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.LinearColdWater") translateModel(ModelicaTest.Media.TestAllProperties.LinearColdWater,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5003,variableFilter="time|eps_h_is|eta|lambda|Pr|p|T|d|h|u|s|g|f|cp|cp2|cv|cv2|h_is|a|beta|beta2|kappa|kappa2|ddpT|ddTp|dddX.[0-9,]+.|MM|h2|d2|err_T|err_d|err_u|s_is|err_h_is|eps",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.LinearColdWater") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.793e-06/1.793e-06, allocations: 0 / 299.1 MB, free: 2.172 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.192e-05/2.372e-05, allocations: 2.312 kB / 299.1 MB, free: 2.168 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.LinearColdWater): time 0.1317/0.1317, allocations: 4.646 MB / 303.8 MB, free: 18.29 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.003104/0.1348, allocations: 4.151 MB / 307.9 MB, free: 15.87 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001038/0.1349, allocations: 2.375 kB / 307.9 MB, free: 15.87 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002806/0.1352, allocations: 55.86 kB / 308 MB, free: 15.84 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001571/0.1368, allocations: 0.8168 MB / 308.8 MB, free: 15.37 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002515/0.137, allocations: 149.2 kB / 308.9 MB, free: 15.29 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004381/0.1375, allocations: 396.2 kB / 309.3 MB, free: 15.1 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.048e-05/0.1375, allocations: 9.672 kB / 309.3 MB, free: 15.1 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000214/0.1377, allocations: 198.2 kB / 309.5 MB, free: 15.04 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001925/0.1379, allocations: 133.1 kB / 309.6 MB, free: 15 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.481e-05/0.1379, allocations: 7.75 kB / 309.6 MB, free: 15 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000688/0.1386, allocations: 406 kB / 310 MB, free: 14.86 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 6.569e-05/0.1387, allocations: 51.97 kB / 310.1 MB, free: 14.83 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 8.262e-05/0.1388, allocations: 81.02 kB / 310.2 MB, free: 14.81 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005944/0.1394, allocations: 466.5 kB / 310.6 MB, free: 14.66 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.236e-06/0.1394, allocations: 0 / 310.6 MB, free: 14.66 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.152e-06/0.1394, allocations: 0 / 310.6 MB, free: 14.66 MB / 282.7 MB Notification: Performance of Transformations before backend: time 5.25e-06/0.1394, allocations: 0 / 310.6 MB, free: 14.66 MB / 282.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 56 * Number of variables: 56 Notification: Performance of Generate backend data structure: time 0.0006968/0.1401, allocations: 0.5087 MB / 311.1 MB, free: 14.29 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.003e-05/0.1401, allocations: 8.812 kB / 311.1 MB, free: 14.29 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000117/0.1402, allocations: 52.03 kB / 311.2 MB, free: 14.27 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001601/0.1404, allocations: 160.8 kB / 311.4 MB, free: 14.12 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.941e-05/0.1404, allocations: 228.1 kB / 311.6 MB, free: 13.86 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.73e-05/0.1405, allocations: 24.88 kB / 311.6 MB, free: 13.86 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002691/0.1407, allocations: 409 kB / 312 MB, free: 13.51 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.187e-06/0.1407, allocations: 192 / 312 MB, free: 13.51 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.839e-05/0.1408, allocations: 15.5 kB / 312 MB, free: 13.5 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.114e-05/0.1408, allocations: 11.2 kB / 312 MB, free: 13.5 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004316/0.1412, allocations: 438.2 kB / 312.5 MB, free: 13.45 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006753/0.1419, allocations: 0.9418 MB / 313.4 MB, free: 12.67 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001715/0.1421, allocations: 154.7 kB / 313.5 MB, free: 12.59 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.852e-05/0.1421, allocations: 49.56 kB / 313.6 MB, free: 12.57 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007723/0.1429, allocations: 0.764 MB / 314.4 MB, free: 12.14 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.472e-05/0.1429, allocations: 37.31 kB / 314.4 MB, free: 12.1 MB / 282.7 MB Notification: Performance of pre-optimization done (n=11): time 1.052e-06/0.1429, allocations: 0 / 314.4 MB, free: 12.1 MB / 282.7 MB Notification: Performance of matching and sorting (n=11): time 0.0001229/0.143, allocations: 133.4 kB / 314.5 MB, free: 12.02 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.593e-05/0.143, allocations: 52.78 kB / 314.6 MB, free: 11.95 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.268e-05/0.1431, allocations: 231.6 kB / 314.8 MB, free: 11.79 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 9.297e-06/0.1431, allocations: 29.38 kB / 314.8 MB, free: 11.76 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.25e-05/0.1432, allocations: 223.2 kB / 315.1 MB, free: 11.56 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.785e-05/0.1432, allocations: 44.09 kB / 315.1 MB, free: 11.53 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.376e-05/0.1433, allocations: 87.19 kB / 315.2 MB, free: 11.47 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 3.22e-05/0.1433, allocations: 338.2 kB / 315.5 MB, free: 11.14 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.638e-05/0.1433, allocations: 32.48 kB / 315.5 MB, free: 11.14 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.511e-05/0.1434, allocations: 334.3 kB / 315.9 MB, free: 10.73 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001967/0.1436, allocations: 424.7 kB / 316.3 MB, free: 10.27 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.609e-06/0.1436, allocations: 6.656 kB / 316.3 MB, free: 10.27 MB / 282.7 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0002493/0.1439, allocations: 315.5 kB / 316.6 MB, free: 10.11 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.408e-05/0.1439, allocations: 14.94 kB / 316.6 MB, free: 10.11 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.069e-05/0.1439, allocations: 13.27 kB / 316.6 MB, free: 10.1 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.789e-05/0.1439, allocations: 15.08 kB / 316.6 MB, free: 10.1 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001299/0.144, allocations: 92.25 kB / 316.7 MB, free: 10.08 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.237e-05/0.1441, allocations: 21.45 kB / 316.8 MB, free: 10.07 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001219/0.1442, allocations: 54.78 kB / 316.8 MB, free: 10.04 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.198e-05/0.1442, allocations: 26.69 kB / 316.8 MB, free: 10.04 MB / 282.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 48 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (51): * Single equations (assignments): 50 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 5.846e-05/0.1443, allocations: 154.5 kB / 317 MB, free: 9.883 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.46e-05/0.1443, allocations: 22.59 kB / 317 MB, free: 9.871 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00013/0.1444, allocations: 124 kB / 317.1 MB, free: 9.766 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.933e-06/0.1444, allocations: 1.375 kB / 317.1 MB, free: 9.766 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.813e-06/0.1444, allocations: 3.984 kB / 317.1 MB, free: 9.762 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.407e-06/0.1444, allocations: 3.531 kB / 317.1 MB, free: 9.762 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001891/0.1446, allocations: 330.5 kB / 317.5 MB, free: 9.453 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.974e-06/0.1446, allocations: 5.312 kB / 317.5 MB, free: 9.449 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.768e-05/0.1446, allocations: 11.75 kB / 317.5 MB, free: 9.449 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.325e-06/0.1446, allocations: 1.375 kB / 317.5 MB, free: 9.449 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.933e-06/0.1447, allocations: 5.375 kB / 317.5 MB, free: 9.445 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.424e-06/0.1447, allocations: 3.484 kB / 317.5 MB, free: 9.445 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.266e-06/0.1447, allocations: 5.312 kB / 317.5 MB, free: 9.441 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.797e-05/0.1447, allocations: 232.1 kB / 317.7 MB, free: 9.219 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.527e-05/0.1448, allocations: 32.11 kB / 317.7 MB, free: 9.195 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.827e-05/0.1448, allocations: 6.75 kB / 317.8 MB, free: 9.191 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.454e-05/0.1449, allocations: 2.75 kB / 317.8 MB, free: 9.191 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.301e-05/0.1449, allocations: 10.67 kB / 317.8 MB, free: 9.184 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.402e-06/0.1449, allocations: 6.75 kB / 317.8 MB, free: 9.18 MB / 282.7 MB Notification: Performance of sorting global known variables: time 4e-05/0.1449, allocations: 70.28 kB / 317.8 MB, free: 9.145 MB / 282.7 MB Notification: Performance of sort global known variables: time 6.1e-08/0.1449, allocations: 1.531 kB / 317.8 MB, free: 9.145 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0003005/0.1452, allocations: 93.55 kB / 317.9 MB, free: 9.125 MB / 282.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 8 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001824/0.1454, allocations: 142.5 kB / 318.1 MB, free: 9.023 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0001505/0.1456, allocations: 160.2 kB / 318.2 MB, free: 8.949 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.076e-05/0.1456, allocations: 5.812 kB / 318.2 MB, free: 8.949 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 1.834e-05/0.1456, allocations: 29.78 kB / 318.3 MB, free: 8.934 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002085/0.1458, allocations: 52.47 kB / 318.3 MB, free: 8.902 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007634/0.1466, allocations: 0.5299 MB / 318.8 MB, free: 8.504 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.052e-05/0.1466, allocations: 73.39 kB / 318.9 MB, free: 8.426 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0001101/0.1467, allocations: 52.98 kB / 319 MB, free: 8.395 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000106/0.1468, allocations: 97.72 kB / 319.1 MB, free: 8.336 MB / 282.7 MB Notification: Performance of SimCode: time 7.51e-07/0.1468, allocations: 0 / 319.1 MB, free: 8.336 MB / 282.7 MB Notification: Performance of Templates: time 0.004523/0.1513, allocations: 3.441 MB / 322.5 MB, free: 6.23 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.LinearColdWater.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.LinearColdWater.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.LinearColdWater.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.LinearColdWater.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.LinearColdWater.sim & ./ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.LinearColdWater -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.LinearColdWater.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.LinearColdWater_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Media/TestAllProperties/LinearColdWater/LinearColdWater.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Could not read variable eps in file ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.LinearColdWater_res.mat. Warning: Get data of variable eps from file ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.LinearColdWater_res.mat failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.0486669982783496]