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.001114/0.001114, allocations: 89.05 kB / 9.989 MB, free: 0.6992 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001478/0.002593, allocations: 452 kB / 10.43 MB, free: 264 kB / 10.45 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.0009665/0.0009665, allocations: 161.1 kB / 11.33 MB, free: 2.84 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001254/0.002221, allocations: 483.5 kB / 11.8 MB, free: 2.363 MB / 13.93 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.8546/0.8546, allocations: 158.6 MB / 171.2 MB, free: 2.512 MB / 170.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.157/1.012, allocations: 49.5 MB / 220.7 MB, free: 1.355 MB / 218.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.1484/0.1484, allocations: 32.35 MB / 253.8 MB, free: 232 kB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02542/0.1738, allocations: 12.31 MB / 266.1 MB, free: 3.875 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.483e-06/1.483e-06, allocations: 0 / 267.4 MB, free: 2.523 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.199e-05/2.347e-05, allocations: 2.312 kB / 267.4 MB, free: 2.52 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.LinearColdWater): time 0.005158/0.005182, allocations: 4.701 MB / 272.1 MB, free: 13.78 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.00366/0.008842, allocations: 4.165 MB / 276.3 MB, free: 9.598 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001242/0.008966, allocations: 4 kB / 276.3 MB, free: 9.594 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002258/0.009192, allocations: 55.59 kB / 276.4 MB, free: 9.539 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001764/0.01096, allocations: 0.7922 MB / 277.1 MB, free: 8.742 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002806/0.01124, allocations: 151.7 kB / 277.3 MB, free: 8.594 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.000537/0.01177, allocations: 401.9 kB / 277.7 MB, free: 8.199 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.789e-05/0.01182, allocations: 10.47 kB / 277.7 MB, free: 8.191 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002517/0.01207, allocations: 203.4 kB / 277.9 MB, free: 7.992 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002109/0.01228, allocations: 127.7 kB / 278 MB, free: 7.867 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.789e-05/0.01231, allocations: 8 kB / 278 MB, free: 7.859 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000826/0.01314, allocations: 431.2 kB / 278.5 MB, free: 7.438 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 6.399e-05/0.0132, allocations: 23.88 kB / 278.5 MB, free: 7.414 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 7.053e-05/0.01327, allocations: 63.88 kB / 278.5 MB, free: 7.352 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005734/0.01385, allocations: 422.8 kB / 278.9 MB, free: 6.938 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.481e-05/0.01386, allocations: 0 / 278.9 MB, free: 6.938 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.513e-06/0.01386, allocations: 0 / 278.9 MB, free: 6.938 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.176e-05/0.01387, allocations: 4 kB / 279 MB, free: 6.934 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.001057/0.01493, allocations: 0.6645 MB / 279.6 MB, free: 6.227 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.064e-05/0.01497, allocations: 12.03 kB / 279.6 MB, free: 6.215 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001529/0.01512, allocations: 48.84 kB / 279.7 MB, free: 6.168 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002209/0.01534, allocations: 153.5 kB / 279.8 MB, free: 5.992 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000122/0.01547, allocations: 226.7 kB / 280 MB, free: 5.723 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.172e-05/0.0155, allocations: 24.38 kB / 280.1 MB, free: 5.699 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003365/0.01584, allocations: 409.2 kB / 280.5 MB, free: 5.23 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.153e-05/0.01585, allocations: 192 / 280.5 MB, free: 5.23 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.025e-05/0.01587, allocations: 15.94 kB / 280.5 MB, free: 5.215 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.905e-05/0.0159, allocations: 8 kB / 280.5 MB, free: 5.207 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003253/0.01622, allocations: 441.5 kB / 280.9 MB, free: 4.777 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008332/0.01705, allocations: 0.9346 MB / 281.9 MB, free: 3.797 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002112/0.01727, allocations: 155.4 kB / 282 MB, free: 3.637 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.35e-05/0.01732, allocations: 53.5 kB / 282.1 MB, free: 3.582 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0009262/0.01825, allocations: 0.7564 MB / 282.8 MB, free: 2.812 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.056e-05/0.01828, allocations: 42.55 kB / 282.9 MB, free: 2.762 MB / 282.7 MB Notification: Performance of pre-optimization done (n=11): time 3.176e-06/0.01828, allocations: 3.984 kB / 282.9 MB, free: 2.758 MB / 282.7 MB Notification: Performance of matching and sorting (n=11): time 0.0001886/0.01847, allocations: 125.4 kB / 283 MB, free: 2.629 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.961e-05/0.0185, allocations: 55.41 kB / 283 MB, free: 2.562 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001347/0.01863, allocations: 231.1 kB / 283.3 MB, free: 2.324 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.803e-05/0.01865, allocations: 29.7 kB / 283.3 MB, free: 2.289 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.621e-05/0.01875, allocations: 231.4 kB / 283.5 MB, free: 2.059 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.045e-05/0.01878, allocations: 43.67 kB / 283.6 MB, free: 2.016 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.01e-05/0.01885, allocations: 82.06 kB / 283.6 MB, free: 1.93 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 9.345e-05/0.01894, allocations: 330.7 kB / 284 MB, free: 1.598 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.448e-05/0.01897, allocations: 39.8 kB / 284 MB, free: 1.559 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001852/0.01916, allocations: 340 kB / 284.3 MB, free: 1.078 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003171/0.01948, allocations: 458.1 kB / 284.8 MB, free: 492 kB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.177e-06/0.01948, allocations: 0 / 284.8 MB, free: 492 kB / 282.7 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0002863/0.01977, allocations: 320.6 kB / 285.1 MB, free: 164 kB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.898e-05/0.01979, allocations: 8.188 kB / 285.1 MB, free: 156 kB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.311e-05/0.0198, allocations: 16 kB / 285.1 MB, free: 140 kB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.339e-05/0.01982, allocations: 12 kB / 285.1 MB, free: 128 kB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001698/0.01999, allocations: 111.8 kB / 285.2 MB, free: 16 kB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1576/0.1776, allocations: 23.72 kB / 285.3 MB, free: 9.773 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003166/0.1779, allocations: 54.69 kB / 285.3 MB, free: 9.773 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.193e-05/0.1779, allocations: 24.59 kB / 285.3 MB, free: 9.773 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 0.0001213/0.178, allocations: 148.8 kB / 285.5 MB, free: 9.656 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.029e-05/0.1781, allocations: 15.81 kB / 285.5 MB, free: 9.656 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000228/0.1783, allocations: 132.9 kB / 285.6 MB, free: 9.602 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.895e-05/0.1783, allocations: 4.062 kB / 285.6 MB, free: 9.602 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.835e-06/0.1783, allocations: 0 / 285.6 MB, free: 9.602 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.005e-06/0.1783, allocations: 0.5 kB / 285.6 MB, free: 9.602 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003076/0.1786, allocations: 325.7 kB / 286 MB, free: 9.355 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.338e-06/0.1786, allocations: 5.062 kB / 286 MB, free: 9.355 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.445e-05/0.1787, allocations: 13.8 kB / 286 MB, free: 9.355 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.155e-05/0.1787, allocations: 28.44 kB / 286 MB, free: 9.355 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.079e-06/0.1787, allocations: 1.438 kB / 286 MB, free: 9.355 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.452e-06/0.1787, allocations: 1.438 kB / 286 MB, free: 9.355 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.817e-06/0.1787, allocations: 4.156 kB / 286 MB, free: 9.355 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.705e-06/0.1787, allocations: 1.984 kB / 286 MB, free: 9.355 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001049/0.1788, allocations: 229.3 kB / 286.2 MB, free: 9.152 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.047e-05/0.1789, allocations: 8.344 kB / 286.2 MB, free: 9.148 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.51e-05/0.1789, allocations: 7.797 kB / 286.3 MB, free: 9.148 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.866e-05/0.179, allocations: 12.06 kB / 286.3 MB, free: 9.148 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.693e-06/0.179, allocations: 2.875 kB / 286.3 MB, free: 9.148 MB / 282.7 MB Notification: Performance of sorting global known variables: time 6.15e-05/0.179, allocations: 71.72 kB / 286.3 MB, free: 9.137 MB / 282.7 MB Notification: Performance of sort global known variables: time 7e-08/0.179, allocations: 5.266 kB / 286.3 MB, free: 9.137 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0003352/0.1794, allocations: 90.62 kB / 286.4 MB, free: 9.137 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.000237/0.1796, allocations: 141.5 kB / 286.6 MB, free: 9.062 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0002217/0.1798, allocations: 171.4 kB / 286.7 MB, free: 9.055 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.627e-05/0.1798, allocations: 7.25 kB / 286.7 MB, free: 9.055 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 3.6e-05/0.1799, allocations: 36.02 kB / 286.8 MB, free: 9.047 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002855/0.1802, allocations: 149.7 kB / 286.9 MB, free: 8.98 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0034/0.1836, allocations: 0.5467 MB / 287.5 MB, free: 8.738 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.501e-05/0.1836, allocations: 71.58 kB / 287.5 MB, free: 8.668 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0001193/0.1837, allocations: 48.83 kB / 287.6 MB, free: 8.66 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001058/0.1838, allocations: 100.7 kB / 287.7 MB, free: 8.617 MB / 282.7 MB Notification: Performance of SimCode: time 4.91e-07/0.1838, allocations: 0 / 287.7 MB, free: 8.617 MB / 282.7 MB Notification: Performance of Templates: time 0.005533/0.1894, allocations: 3.215 MB / 290.9 MB, free: 8.191 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 -ignoreHideResult -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,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [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] Not compared, constant in the reference and not in the result: eps Reference file matches [Calling sys.exit(0), Time elapsed: 3.0687677655369043]