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.0008964/0.0008964, allocations: 91.67 kB / 21.2 MB, free: 3.367 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.0009347/0.0009347, allocations: 160.5 kB / 24.56 MB, free: 12 kB / 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.004/1.004, allocations: 177 MB / 204.8 MB, free: 5.23 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.3 MB, free: 496 kB / 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.443e-06/1.443e-06, allocations: 0 / 378.8 MB, free: 2.066 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.538e-05/2.682e-05, allocations: 2.312 kB / 378.8 MB, free: 2.062 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.LinearColdWater): time 0.004668/0.004695, allocations: 4.71 MB / 383.5 MB, free: 13.32 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.003066/0.007761, allocations: 4.138 MB / 387.6 MB, free: 9.168 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.677e-05/0.007858, allocations: 4 kB / 387.6 MB, free: 9.164 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002973/0.008155, allocations: 55.61 kB / 387.7 MB, free: 9.109 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001753/0.009908, allocations: 0.8079 MB / 388.5 MB, free: 8.297 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002548/0.01016, allocations: 151.6 kB / 388.7 MB, free: 8.148 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004191/0.01058, allocations: 393.9 kB / 389 MB, free: 7.762 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.756e-05/0.01063, allocations: 9.812 kB / 389 MB, free: 7.75 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001888/0.01082, allocations: 199.4 kB / 389.2 MB, free: 7.555 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001738/0.01099, allocations: 139.7 kB / 389.4 MB, free: 7.418 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 2.758e-05/0.01102, allocations: 8 kB / 389.4 MB, free: 7.41 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006142/0.01163, allocations: 403.2 kB / 389.8 MB, free: 7.016 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 7.626e-05/0.01171, allocations: 47.75 kB / 389.8 MB, free: 6.969 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 7.524e-05/0.01179, allocations: 83.83 kB / 389.9 MB, free: 6.887 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005885/0.01237, allocations: 470.5 kB / 390.4 MB, free: 6.426 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.539e-06/0.01238, allocations: 0 / 390.4 MB, free: 6.426 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.433e-06/0.01238, allocations: 0 / 390.4 MB, free: 6.426 MB / 362.7 MB Notification: Performance of Transformations before backend: time 5.31e-06/0.01239, allocations: 0 / 390.4 MB, free: 6.426 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.000812/0.0132, allocations: 0.6284 MB / 391 MB, free: 5.762 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.974e-05/0.01324, allocations: 15.97 kB / 391 MB, free: 5.746 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000155/0.01339, allocations: 48.77 kB / 391.1 MB, free: 5.699 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002047/0.0136, allocations: 168.3 kB / 391.2 MB, free: 5.508 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001215/0.01372, allocations: 230.7 kB / 391.5 MB, free: 5.234 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.918e-05/0.01375, allocations: 24.38 kB / 391.5 MB, free: 5.211 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003707/0.01412, allocations: 446.2 kB / 391.9 MB, free: 4.699 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.109e-05/0.01413, allocations: 8.188 kB / 391.9 MB, free: 4.691 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.152e-05/0.01415, allocations: 11.94 kB / 391.9 MB, free: 4.68 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.998e-05/0.01418, allocations: 8 kB / 391.9 MB, free: 4.672 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003833/0.01456, allocations: 0.5216 MB / 392.5 MB, free: 4.152 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009795/0.01554, allocations: 1.335 MB / 393.8 MB, free: 2.746 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002655/0.01581, allocations: 152.2 kB / 393.9 MB, free: 2.586 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.957e-05/0.01589, allocations: 64.31 kB / 394 MB, free: 2.52 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0009395/0.01683, allocations: 0.8244 MB / 394.8 MB, free: 1.676 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.585e-05/0.01685, allocations: 37.39 kB / 394.9 MB, free: 1.629 MB / 362.7 MB Notification: Performance of pre-optimization done (n=11): time 1.202e-06/0.01686, allocations: 0 / 394.9 MB, free: 1.629 MB / 362.7 MB Notification: Performance of matching and sorting (n=11): time 0.0002288/0.01708, allocations: 109.5 kB / 395 MB, free: 1.516 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.71e-05/0.01711, allocations: 51.41 kB / 395 MB, free: 1.453 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000165/0.01728, allocations: 302.4 kB / 395.3 MB, free: 1.141 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.336e-05/0.01729, allocations: 25.7 kB / 395.3 MB, free: 1.109 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002793/0.01757, allocations: 278.1 kB / 395.6 MB, free: 0.832 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.709e-05/0.0176, allocations: 47.67 kB / 395.7 MB, free: 0.7852 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.917e-05/0.01766, allocations: 91.77 kB / 395.8 MB, free: 0.6875 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001314/0.0178, allocations: 0.5039 MB / 396.3 MB, free: 176 kB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.983e-05/0.01785, allocations: 36.97 kB / 396.3 MB, free: 140 kB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002454/0.01809, allocations: 471.9 kB / 396.8 MB, free: 15.47 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003406/0.01843, allocations: 0.5589 MB / 397.3 MB, free: 14.71 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.34e-06/0.01844, allocations: 0 / 397.3 MB, free: 14.71 MB / 378.7 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.000364/0.0188, allocations: 385.7 kB / 397.7 MB, free: 14.33 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.957e-05/0.01882, allocations: 8 kB / 397.7 MB, free: 14.32 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.112e-05/0.01883, allocations: 12 kB / 397.7 MB, free: 14.31 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.011e-05/0.01886, allocations: 12 kB / 397.7 MB, free: 14.3 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001461/0.01901, allocations: 103.8 kB / 397.8 MB, free: 14.2 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.635e-05/0.01902, allocations: 19.92 kB / 397.8 MB, free: 14.18 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000125/0.01915, allocations: 55.62 kB / 397.9 MB, free: 14.12 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.357e-05/0.01917, allocations: 31.94 kB / 397.9 MB, free: 14.09 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 9.493e-05/0.01927, allocations: 188.5 kB / 398.1 MB, free: 13.89 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.388e-05/0.0193, allocations: 35.8 kB / 398.1 MB, free: 13.86 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002107/0.01951, allocations: 146.6 kB / 398.3 MB, free: 13.71 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.778e-06/0.01952, allocations: 0 / 398.3 MB, free: 13.71 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.157e-06/0.01953, allocations: 4 kB / 398.3 MB, free: 13.7 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.827e-06/0.01953, allocations: 0 / 398.3 MB, free: 13.7 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003069/0.01984, allocations: 412.2 kB / 398.7 MB, free: 13.25 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.108e-06/0.01984, allocations: 4 kB / 398.7 MB, free: 13.24 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.875e-05/0.01987, allocations: 8 kB / 398.7 MB, free: 13.23 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.117e-06/0.01987, allocations: 4 kB / 398.7 MB, free: 13.23 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.306e-06/0.01988, allocations: 4 kB / 398.7 MB, free: 13.23 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.569e-06/0.01989, allocations: 7.938 kB / 398.7 MB, free: 13.22 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.415e-06/0.01989, allocations: 3.938 kB / 398.7 MB, free: 13.21 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001437/0.02003, allocations: 266.9 kB / 399 MB, free: 12.92 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.293e-05/0.02007, allocations: 23.83 kB / 399 MB, free: 12.9 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.205e-05/0.02009, allocations: 11.95 kB / 399 MB, free: 12.89 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.122e-05/0.02016, allocations: 3.938 kB / 399 MB, free: 12.88 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.949e-05/0.02018, allocations: 7.984 kB / 399 MB, free: 12.88 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.125e-06/0.02019, allocations: 4 kB / 399 MB, free: 12.87 MB / 378.7 MB Notification: Performance of sorting global known variables: time 8.909e-05/0.02028, allocations: 193.1 kB / 399.2 MB, free: 12.68 MB / 378.7 MB Notification: Performance of sort global known variables: time 5e-08/0.02028, allocations: 4 kB / 399.2 MB, free: 12.68 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003217/0.0206, allocations: 91.88 kB / 399.3 MB, free: 12.59 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.000246/0.02084, allocations: 163.3 kB / 399.5 MB, free: 12.42 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0002145/0.02106, allocations: 175.2 kB / 399.7 MB, free: 12.25 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.795e-06/0.02106, allocations: 320 / 399.7 MB, free: 12.25 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 2.288e-05/0.02108, allocations: 31.61 kB / 399.7 MB, free: 12.21 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002831/0.02137, allocations: 44.47 kB / 399.7 MB, free: 12.17 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001046/0.02241, allocations: 0.5299 MB / 400.3 MB, free: 11.59 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.458e-05/0.02246, allocations: 72.33 kB / 400.3 MB, free: 11.5 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0001135/0.02257, allocations: 54.83 kB / 400.4 MB, free: 11.45 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.986e-05/0.02261, allocations: 28.5 kB / 400.4 MB, free: 11.43 MB / 378.7 MB Notification: Performance of SimCode: time 6.11e-07/0.02261, allocations: 0 / 400.4 MB, free: 11.43 MB / 378.7 MB Notification: Performance of Templates: time 0.005545/0.02816, allocations: 3.048 MB / 403.5 MB, free: 8.434 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.1977682863362134]