Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.LinearColdWater.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.001729/0.001729, allocations: 79.69 kB / 21.7 MB, free: 2.848 MB / 18.57 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.001192/0.001192, allocations: 167.7 kB / 24.99 MB, free: 8.219 MB / 18.57 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.007/1.007, allocations: 177 MB / 205.2 MB, free: 5.543 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2727/0.2727, allocations: 34.86 MB / 296.6 MB, free: 0.5469 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/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.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_trunk_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_trunk_ModelicaTest.Media.TestAllProperties.LinearColdWater") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.613e-06/1.613e-06, allocations: 0 / 378.8 MB, free: 2.41 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.422e-05/2.583e-05, allocations: 2.312 kB / 378.8 MB, free: 2.406 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.LinearColdWater): time 0.01102/0.01105, allocations: 4.697 MB / 383.5 MB, free: 13.68 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.006476/0.01752, allocations: 4.084 MB / 387.6 MB, free: 9.578 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.043e-05/0.0176, allocations: 4 kB / 387.6 MB, free: 9.574 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000257/0.01786, allocations: 63.59 kB / 387.6 MB, free: 9.512 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001375/0.01924, allocations: 0.761 MB / 388.4 MB, free: 8.746 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002646/0.0195, allocations: 135.7 kB / 388.5 MB, free: 8.613 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004417/0.01994, allocations: 377.9 kB / 388.9 MB, free: 8.242 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.202e-05/0.01999, allocations: 9.812 kB / 388.9 MB, free: 8.23 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001802/0.02017, allocations: 191.4 kB / 389.1 MB, free: 8.043 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000145/0.02032, allocations: 135.7 kB / 389.2 MB, free: 7.91 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 2.05e-05/0.02034, allocations: 8 kB / 389.2 MB, free: 7.902 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004106/0.02075, allocations: 383.2 kB / 389.6 MB, free: 7.527 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 7.168e-05/0.02082, allocations: 55.73 kB / 389.7 MB, free: 7.473 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 7.481e-05/0.0209, allocations: 75.84 kB / 389.7 MB, free: 7.398 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004502/0.02135, allocations: 478.4 kB / 390.2 MB, free: 6.93 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.394e-06/0.02135, allocations: 0 / 390.2 MB, free: 6.93 MB / 362.7 MB Notification: Performance of FrontEnd: time 6.91e-07/0.02135, allocations: 0 / 390.2 MB, free: 6.93 MB / 362.7 MB Notification: Performance of Transformations before backend: time 4.619e-06/0.02135, allocations: 0 / 390.2 MB, free: 6.93 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: 56 * Number of variables: 56 Notification: Performance of Generate backend data structure: time 0.0007216/0.02208, allocations: 0.6323 MB / 390.8 MB, free: 6.262 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.218e-05/0.02211, allocations: 8.031 kB / 390.8 MB, free: 6.254 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001292/0.02224, allocations: 48.77 kB / 390.9 MB, free: 6.207 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001759/0.02241, allocations: 172.3 kB / 391.1 MB, free: 6.012 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001074/0.02252, allocations: 226.7 kB / 391.3 MB, free: 5.742 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.836e-05/0.02255, allocations: 32.38 kB / 391.3 MB, free: 5.711 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003191/0.02287, allocations: 438.3 kB / 391.7 MB, free: 5.207 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.185e-06/0.02288, allocations: 192 / 391.7 MB, free: 5.207 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.191e-05/0.0229, allocations: 15.94 kB / 391.8 MB, free: 5.191 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.005e-05/0.02292, allocations: 4 kB / 391.8 MB, free: 5.188 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003643/0.02328, allocations: 0.5255 MB / 392.3 MB, free: 4.664 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008053/0.02409, allocations: 1.343 MB / 393.6 MB, free: 3.25 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002265/0.02431, allocations: 148.2 kB / 393.8 MB, free: 3.094 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.889e-05/0.02439, allocations: 64.31 kB / 393.8 MB, free: 3.027 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0008093/0.0252, allocations: 0.8284 MB / 394.7 MB, free: 2.18 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.295e-05/0.02523, allocations: 37.39 kB / 394.7 MB, free: 2.133 MB / 362.7 MB Notification: Performance of pre-optimization done (n=11): time 9.72e-07/0.02523, allocations: 0 / 394.7 MB, free: 2.133 MB / 362.7 MB Notification: Performance of matching and sorting (n=11): time 0.0001906/0.02542, allocations: 113.7 kB / 394.8 MB, free: 2.016 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.539e-05/0.02544, allocations: 55.41 kB / 394.9 MB, free: 1.949 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001485/0.02559, allocations: 298.4 kB / 395.2 MB, free: 1.641 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.223e-05/0.0256, allocations: 25.7 kB / 395.2 MB, free: 1.609 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001823/0.02579, allocations: 282.2 kB / 395.5 MB, free: 1.328 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.445e-05/0.02581, allocations: 43.69 kB / 395.5 MB, free: 1.285 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.296e-05/0.02587, allocations: 91.75 kB / 395.6 MB, free: 1.188 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001112/0.02598, allocations: 0.5 MB / 396.1 MB, free: 0.6758 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.311e-05/0.02603, allocations: 36.97 kB / 396.1 MB, free: 0.6406 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002182/0.02625, allocations: 467.9 kB / 396.6 MB, free: 15.98 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003111/0.02656, allocations: 0.5589 MB / 397.1 MB, free: 15.22 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.438e-06/0.02656, allocations: 4 kB / 397.1 MB, free: 15.21 MB / 378.7 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0003278/0.02689, allocations: 381.4 kB / 397.5 MB, free: 14.84 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.446e-05/0.0269, allocations: 12 kB / 397.5 MB, free: 14.82 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.256e-06/0.02691, allocations: 8 kB / 397.5 MB, free: 14.82 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.616e-05/0.02693, allocations: 19.98 kB / 397.6 MB, free: 14.8 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00013/0.02706, allocations: 91.84 kB / 397.6 MB, free: 14.71 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.406e-05/0.02707, allocations: 23.92 kB / 397.7 MB, free: 14.68 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001189/0.02719, allocations: 52.09 kB / 397.7 MB, free: 14.63 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.024e-05/0.02721, allocations: 35.94 kB / 397.8 MB, free: 14.6 MB / 378.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 8.518e-05/0.0273, allocations: 196.3 kB / 397.9 MB, free: 14.39 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.997e-05/0.02733, allocations: 31.83 kB / 398 MB, free: 14.36 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000176/0.0275, allocations: 150.2 kB / 398.1 MB, free: 14.21 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.913e-06/0.02751, allocations: 4 kB / 398.1 MB, free: 14.2 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.056e-06/0.02751, allocations: 0 / 398.1 MB, free: 14.2 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.336e-06/0.02752, allocations: 0 / 398.1 MB, free: 14.2 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002546/0.02777, allocations: 404.3 kB / 398.5 MB, free: 13.75 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.934e-06/0.02777, allocations: 3.938 kB / 398.5 MB, free: 13.75 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.876e-05/0.0278, allocations: 15.98 kB / 398.5 MB, free: 13.73 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.543e-06/0.0278, allocations: 0 / 398.5 MB, free: 13.73 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.945e-06/0.02781, allocations: 11.94 kB / 398.6 MB, free: 13.72 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.544e-06/0.02781, allocations: 3.938 kB / 398.6 MB, free: 13.72 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.02781, allocations: 4.094 kB / 398.6 MB, free: 13.71 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001184/0.02793, allocations: 262.9 kB / 398.8 MB, free: 13.43 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.715e-05/0.02796, allocations: 23.83 kB / 398.8 MB, free: 13.4 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.145e-05/0.02798, allocations: 11.94 kB / 398.9 MB, free: 13.39 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.879e-05/0.02805, allocations: 7.938 kB / 398.9 MB, free: 13.38 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.723e-05/0.02807, allocations: 7.984 kB / 398.9 MB, free: 13.38 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.066e-06/0.02808, allocations: 8 kB / 398.9 MB, free: 13.37 MB / 378.7 MB Notification: Performance of sorting global known variables: time 8.34e-05/0.02816, allocations: 189.1 kB / 399.1 MB, free: 13.18 MB / 378.7 MB Notification: Performance of sort global known variables: time 5e-08/0.02816, allocations: 0 / 399.1 MB, free: 13.18 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002954/0.02845, allocations: 99.86 kB / 399.2 MB, free: 13.08 MB / 378.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.0001863/0.02864, allocations: 159.2 kB / 399.3 MB, free: 12.92 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.000188/0.02883, allocations: 174.9 kB / 399.5 MB, free: 12.75 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.885e-06/0.02883, allocations: 0 / 399.5 MB, free: 12.75 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 2.35e-05/0.02885, allocations: 27.61 kB / 399.5 MB, free: 12.71 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002585/0.02911, allocations: 45.41 kB / 399.6 MB, free: 12.67 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009188/0.03003, allocations: 0.5259 MB / 400.1 MB, free: 12.1 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.248e-05/0.03007, allocations: 72.33 kB / 400.1 MB, free: 12.01 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0001173/0.03019, allocations: 50.92 kB / 400.2 MB, free: 11.96 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.205e-05/0.03022, allocations: 28.5 kB / 400.2 MB, free: 11.94 MB / 378.7 MB Notification: Performance of SimCode: time 6.42e-07/0.03022, allocations: 0 / 400.2 MB, free: 11.94 MB / 378.7 MB Notification: Performance of Templates: time 0.00442/0.03464, allocations: 3.098 MB / 403.3 MB, free: 8.895 MB / 378.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.LinearColdWater.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.LinearColdWater.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.LinearColdWater.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.LinearColdWater.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.LinearColdWater.sim & ./ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.LinearColdWater -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.LinearColdWater.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.LinearColdWater_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/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_trunk_ModelicaTest.Media.TestAllProperties.LinearColdWater_res.mat. Warning: Get data of variable eps from file ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.LinearColdWater_res.mat failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.260743939084932]