Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_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.001756/0.001756, allocations: 103.6 kB / 21.19 MB, free: 0.6445 MB / 14.72 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.002337/0.002337, allocations: 218.1 kB / 24.49 MB, free: 3.949 MB / 14.72 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.475/1.475, allocations: 230.6 MB / 258.2 MB, free: 7.797 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2384/0.2384, allocations: 46.96 MB / 361.6 MB, free: 4.121 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.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.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.1.|MM|h2|d2|err_T|err_d|err_u|s_is|err_h_is|eps",fileNamePrefix="ModelicaTest_4.1.0_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.1.|MM|h2|d2|err_T|err_d|err_u|s_is|err_h_is|eps",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.LinearColdWater") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00197/0.00197, allocations: 67.89 kB / 0.4974 GB, free: 7.176 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3494/0.3514, allocations: 66.03 MB / 0.5618 GB, free: 4.16 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.LinearColdWater): time 0.0072/0.3586, allocations: 4.31 MB / 0.5661 GB, free: 15.82 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.004925/0.3635, allocations: 3.593 MB / 0.5696 GB, free: 12.21 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001475/0.3637, allocations: 0 / 0.5696 GB, free: 12.21 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003475/0.364, allocations: 43.69 kB / 0.5696 GB, free: 12.17 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002406/0.3664, allocations: 0.75 MB / 0.5703 GB, free: 11.42 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003711/0.3668, allocations: 135.3 kB / 0.5705 GB, free: 11.29 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006379/0.3674, allocations: 390 kB / 0.5708 GB, free: 10.91 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.112e-05/0.3675, allocations: 5.812 kB / 0.5708 GB, free: 10.9 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002216/0.3677, allocations: 147.5 kB / 0.571 GB, free: 10.75 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002875/0.368, allocations: 147.5 kB / 0.5711 GB, free: 10.61 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 2.736e-05/0.368, allocations: 11.94 kB / 0.5711 GB, free: 10.6 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000977/0.369, allocations: 391.5 kB / 0.5715 GB, free: 10.21 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001013/0.3691, allocations: 43.81 kB / 0.5716 GB, free: 10.17 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001262/0.3692, allocations: 91.59 kB / 0.5716 GB, free: 10.08 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007761/0.37, allocations: 469 kB / 0.5721 GB, free: 9.629 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.312e-06/0.37, allocations: 4 kB / 0.5721 GB, free: 9.625 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.074e-06/0.37, allocations: 0 / 0.5721 GB, free: 9.625 MB / 414.1 MB Notification: Performance of Transformations before backend: time 7.384e-06/0.37, allocations: 0 / 0.5721 GB, free: 9.625 MB / 414.1 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.001233/0.3713, allocations: 0.5324 MB / 0.5726 GB, free: 9.062 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.086e-05/0.3713, allocations: 8.031 kB / 0.5726 GB, free: 9.055 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000164/0.3715, allocations: 28.83 kB / 0.5726 GB, free: 9.027 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003595/0.3718, allocations: 166.2 kB / 0.5728 GB, free: 8.84 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002014/0.372, allocations: 230.7 kB / 0.573 GB, free: 8.562 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.623e-05/0.3721, allocations: 20.38 kB / 0.573 GB, free: 8.543 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006439/0.3727, allocations: 493 kB / 0.5735 GB, free: 8 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.388e-05/0.3727, allocations: 0 / 0.5735 GB, free: 8 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.697e-05/0.3728, allocations: 19.98 kB / 0.5735 GB, free: 7.98 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.334e-05/0.3728, allocations: 8 kB / 0.5735 GB, free: 7.973 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008664/0.3736, allocations: 0.7195 MB / 0.5742 GB, free: 7.25 MB / 414.1 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001522/0.3752, allocations: 1.042 MB / 0.5753 GB, free: 6.152 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00037/0.3755, allocations: 147.8 kB / 0.5754 GB, free: 6 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001343/0.3757, allocations: 73.48 kB / 0.5755 GB, free: 5.926 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00169/0.3774, allocations: 0.731 MB / 0.5762 GB, free: 5.176 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.147e-05/0.3774, allocations: 38.56 kB / 0.5762 GB, free: 5.129 MB / 414.1 MB Notification: Performance of pre-optimization done (n=11): time 1.453e-06/0.3774, allocations: 0 / 0.5762 GB, free: 5.129 MB / 414.1 MB Notification: Performance of matching and sorting (n=11): time 0.0003259/0.3777, allocations: 125.3 kB / 0.5763 GB, free: 5 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.007e-05/0.3778, allocations: 59.34 kB / 0.5764 GB, free: 4.93 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002445/0.378, allocations: 231.8 kB / 0.5766 GB, free: 4.695 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.086e-05/0.378, allocations: 33.69 kB / 0.5767 GB, free: 4.656 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001682/0.3782, allocations: 227.4 kB / 0.5769 GB, free: 4.43 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.884e-05/0.3783, allocations: 43.69 kB / 0.5769 GB, free: 4.387 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001063/0.3784, allocations: 86.03 kB / 0.577 GB, free: 4.297 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.000184/0.3785, allocations: 326.8 kB / 0.5773 GB, free: 3.969 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.752e-05/0.3786, allocations: 52.84 kB / 0.5774 GB, free: 3.914 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003945/0.379, allocations: 343.2 kB / 0.5777 GB, free: 3.434 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005565/0.3796, allocations: 444.6 kB / 0.5781 GB, free: 2.852 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.492e-06/0.3796, allocations: 4 kB / 0.5781 GB, free: 2.848 MB / 414.1 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0006162/0.3802, allocations: 381.7 kB / 0.5785 GB, free: 2.469 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.017e-05/0.3802, allocations: 18.53 kB / 0.5785 GB, free: 2.453 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.659e-05/0.3803, allocations: 12 kB / 0.5785 GB, free: 2.441 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.117e-05/0.3803, allocations: 16 kB / 0.5785 GB, free: 2.426 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002614/0.3805, allocations: 95.83 kB / 0.5786 GB, free: 2.332 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.598e-05/0.3806, allocations: 23.86 kB / 0.5786 GB, free: 2.309 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002614/0.3808, allocations: 55.62 kB / 0.5787 GB, free: 2.254 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.125e-05/0.3809, allocations: 28 kB / 0.5787 GB, free: 2.227 MB / 414.1 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.0001789/0.3811, allocations: 153.5 kB / 0.5789 GB, free: 2.066 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.511e-05/0.3811, allocations: 19.86 kB / 0.5789 GB, free: 2.047 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003421/0.3814, allocations: 140.6 kB / 0.579 GB, free: 1.895 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.285e-05/0.3815, allocations: 4 kB / 0.579 GB, free: 1.891 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.775e-06/0.3815, allocations: 3.938 kB / 0.579 GB, free: 1.887 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.737e-06/0.3815, allocations: 3.938 kB / 0.579 GB, free: 1.883 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005133/0.382, allocations: 352.6 kB / 0.5794 GB, free: 1.492 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.681e-06/0.382, allocations: 7.938 kB / 0.5794 GB, free: 1.484 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.976e-05/0.3821, allocations: 11.98 kB / 0.5794 GB, free: 1.473 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.763e-06/0.3821, allocations: 7.938 kB / 0.5794 GB, free: 1.465 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.718e-06/0.3821, allocations: 0 / 0.5794 GB, free: 1.465 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.432e-06/0.3821, allocations: 7.938 kB / 0.5794 GB, free: 1.457 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.663e-06/0.3821, allocations: 0 / 0.5794 GB, free: 1.457 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002326/0.3823, allocations: 201.9 kB / 0.5796 GB, free: 1.234 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.876e-05/0.3824, allocations: 23.83 kB / 0.5796 GB, free: 1.211 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.291e-05/0.3824, allocations: 4.094 kB / 0.5796 GB, free: 1.207 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001691/0.3826, allocations: 12.05 kB / 0.5796 GB, free: 1.195 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.95e-05/0.3826, allocations: 8 kB / 0.5796 GB, free: 1.188 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.522e-05/0.3826, allocations: 11.98 kB / 0.5796 GB, free: 1.176 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001389/0.3828, allocations: 148.5 kB / 0.5798 GB, free: 1.031 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3828, allocations: 0 / 0.5798 GB, free: 1.031 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0005267/0.3833, allocations: 99.81 kB / 0.5799 GB, free: 0.9336 MB / 414.1 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.0003184/0.3836, allocations: 163.2 kB / 0.58 GB, free: 0.7617 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0003273/0.3839, allocations: 166.3 kB / 0.5802 GB, free: 0.6016 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/0.3839, allocations: 0 / 0.5802 GB, free: 0.6016 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 4.825e-05/0.384, allocations: 32.11 kB / 0.5802 GB, free: 0.5703 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004557/0.3844, allocations: 40.34 kB / 0.5803 GB, free: 0.5312 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001111/0.3856, allocations: 0.5571 MB / 0.5808 GB, free: 15.93 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001201/0.3857, allocations: 112.6 kB / 0.5809 GB, free: 15.8 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.52e-05/0.3857, allocations: 31.44 kB / 0.5809 GB, free: 15.77 MB / 430.1 MB Notification: Performance of SimCode: time 5.11e-07/0.3857, allocations: 0 / 0.5809 GB, free: 15.77 MB / 430.1 MB Notification: Performance of Templates: time 0.006247/0.392, allocations: 3.457 MB / 0.5843 GB, free: 12.33 MB / 430.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.LinearColdWater.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.LinearColdWater.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.LinearColdWater.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.LinearColdWater.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.LinearColdWater.sim & ./ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.LinearColdWater -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.LinearColdWater.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.LinearColdWater_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Media/TestAllProperties/LinearColdWater/LinearColdWater.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.LinearColdWater.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Could not read variable eps in file ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.LinearColdWater_res.mat. Warning: Get data of variable eps from file ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.LinearColdWater_res.mat failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 7.979907122004079]