Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_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.001878/0.001878, allocations: 113.1 kB / 21.85 MB, free: 80 kB / 14.72 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.002172/0.002172, allocations: 212.4 kB / 25.13 MB, free: 3.605 MB / 14.72 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.41/1.41, allocations: 230.4 MB / 258.7 MB, free: 8.047 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2249/0.2249, allocations: 46.93 MB / 362 MB, free: 4.223 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-beta.om/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.1.|MM|h2|d2|err_T|err_d|err_u|s_is|err_h_is|eps",fileNamePrefix="ModelicaTest_4.1.0-beta.om_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-beta.om_ModelicaTest.Media.TestAllProperties.LinearColdWater") [Timeout 660] "Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002274/0.002274, allocations: 75.88 kB / 0.4978 GB, free: 7.352 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3111/0.3133, allocations: 66.08 MB / 0.5624 GB, free: 4.273 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.LinearColdWater): time 0.006068/0.3194, allocations: 4.609 MB / 0.5669 GB, free: 15.63 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.004534/0.3239, allocations: 3.994 MB / 0.5708 GB, free: 11.63 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.82e-05/0.324, allocations: 0 / 0.5708 GB, free: 11.63 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002573/0.3243, allocations: 55.66 kB / 0.5708 GB, free: 11.57 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001641/0.3259, allocations: 0.7532 MB / 0.5715 GB, free: 10.82 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003121/0.3262, allocations: 135.3 kB / 0.5717 GB, free: 10.69 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005206/0.3268, allocations: 378.1 kB / 0.572 GB, free: 10.32 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.381e-05/0.3268, allocations: 9.812 kB / 0.572 GB, free: 10.31 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002071/0.327, allocations: 151.5 kB / 0.5722 GB, free: 10.16 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002529/0.3273, allocations: 151.4 kB / 0.5723 GB, free: 10.01 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 2.891e-05/0.3273, allocations: 8 kB / 0.5723 GB, free: 10 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007237/0.328, allocations: 391.5 kB / 0.5727 GB, free: 9.621 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 8.113e-05/0.3281, allocations: 43.86 kB / 0.5728 GB, free: 9.578 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001336/0.3282, allocations: 107.5 kB / 0.5729 GB, free: 9.473 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007163/0.3289, allocations: 465.1 kB / 0.5733 GB, free: 9.023 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.038e-06/0.3289, allocations: 4 kB / 0.5733 GB, free: 9.02 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.312e-06/0.3289, allocations: 0 / 0.5733 GB, free: 9.02 MB / 414.1 MB Notification: Performance of Transformations before backend: time 5.841e-06/0.329, allocations: 0 / 0.5733 GB, free: 9.02 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.001108/0.3301, allocations: 0.5285 MB / 0.5738 GB, free: 8.461 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.66e-05/0.3301, allocations: 12.03 kB / 0.5738 GB, free: 8.449 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000147/0.3302, allocations: 24.83 kB / 0.5739 GB, free: 8.426 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003047/0.3305, allocations: 174.2 kB / 0.574 GB, free: 8.23 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001834/0.3307, allocations: 226.7 kB / 0.5742 GB, free: 7.957 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.127e-05/0.3308, allocations: 20.38 kB / 0.5743 GB, free: 7.938 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006183/0.3314, allocations: 496.9 kB / 0.5747 GB, free: 7.391 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.097e-05/0.3314, allocations: 4 kB / 0.5747 GB, free: 7.387 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.094e-05/0.3314, allocations: 12 kB / 0.5748 GB, free: 7.375 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.199e-05/0.3314, allocations: 4 kB / 0.5748 GB, free: 7.371 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008606/0.3323, allocations: 0.7625 MB / 0.5755 GB, free: 6.605 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.001434/0.3337, allocations: 1.272 MB / 0.5767 GB, free: 5.223 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003518/0.3341, allocations: 155.8 kB / 0.5769 GB, free: 5.062 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001315/0.3342, allocations: 81.42 kB / 0.577 GB, free: 4.98 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001532/0.3358, allocations: 0.7349 MB / 0.5777 GB, free: 4.227 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.58e-05/0.3358, allocations: 38.5 kB / 0.5777 GB, free: 4.18 MB / 414.1 MB Notification: Performance of pre-optimization done (n=11): time 1.533e-06/0.3358, allocations: 0 / 0.5777 GB, free: 4.18 MB / 414.1 MB Notification: Performance of matching and sorting (n=11): time 0.0002947/0.3361, allocations: 129.3 kB / 0.5778 GB, free: 4.047 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.617e-05/0.3361, allocations: 51.41 kB / 0.5779 GB, free: 3.984 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002096/0.3363, allocations: 222 kB / 0.5781 GB, free: 3.762 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.364e-05/0.3363, allocations: 29.69 kB / 0.5781 GB, free: 3.727 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001536/0.3365, allocations: 223.5 kB / 0.5783 GB, free: 3.504 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.109e-05/0.3365, allocations: 43.64 kB / 0.5784 GB, free: 3.461 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.371e-05/0.3366, allocations: 86.08 kB / 0.5785 GB, free: 3.371 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001498/0.3368, allocations: 326.8 kB / 0.5788 GB, free: 3.043 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.942e-05/0.3369, allocations: 48.84 kB / 0.5788 GB, free: 2.992 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003207/0.3372, allocations: 339.2 kB / 0.5792 GB, free: 2.516 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004759/0.3377, allocations: 448.5 kB / 0.5796 GB, free: 1.93 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.108e-06/0.3377, allocations: 0 / 0.5796 GB, free: 1.93 MB / 414.1 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0005833/0.3383, allocations: 392.9 kB / 0.58 GB, free: 1.539 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.742e-05/0.3383, allocations: 8.938 kB / 0.58 GB, free: 1.531 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.356e-05/0.3383, allocations: 12 kB / 0.58 GB, free: 1.52 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.668e-05/0.3383, allocations: 15.94 kB / 0.58 GB, free: 1.504 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002432/0.3386, allocations: 103.8 kB / 0.5801 GB, free: 1.402 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.48e-05/0.3386, allocations: 19.92 kB / 0.5801 GB, free: 1.383 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002296/0.3388, allocations: 55.56 kB / 0.5802 GB, free: 1.328 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.512e-05/0.3388, allocations: 28 kB / 0.5802 GB, free: 1.301 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.0001347/0.339, allocations: 153.6 kB / 0.5803 GB, free: 1.141 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.858e-05/0.339, allocations: 15.91 kB / 0.5804 GB, free: 1.125 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002743/0.3393, allocations: 148.5 kB / 0.5805 GB, free: 0.9648 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.447e-06/0.3393, allocations: 3.938 kB / 0.5805 GB, free: 0.9609 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.697e-06/0.3393, allocations: 4 kB / 0.5805 GB, free: 0.957 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.785e-06/0.3393, allocations: 0 / 0.5805 GB, free: 0.957 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000471/0.3398, allocations: 372 kB / 0.5809 GB, free: 0.5352 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.008e-06/0.3398, allocations: 8.062 kB / 0.5809 GB, free: 0.5273 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.244e-05/0.3399, allocations: 19.92 kB / 0.5809 GB, free: 0.5078 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.494e-06/0.3399, allocations: 0 / 0.5809 GB, free: 0.5078 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.785e-06/0.3399, allocations: 0 / 0.5809 GB, free: 0.5078 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.787e-06/0.3399, allocations: 4 kB / 0.5809 GB, free: 0.5039 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.353e-06/0.3399, allocations: 0 / 0.5809 GB, free: 0.5039 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002219/0.3401, allocations: 217.9 kB / 0.5811 GB, free: 272 kB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.32e-05/0.3401, allocations: 19.84 kB / 0.5811 GB, free: 252 kB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.419e-05/0.3402, allocations: 11.94 kB / 0.5811 GB, free: 240 kB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001467/0.3403, allocations: 11.97 kB / 0.5811 GB, free: 228 kB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.29e-05/0.3404, allocations: 7.984 kB / 0.5811 GB, free: 220 kB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.007e-05/0.3404, allocations: 8 kB / 0.5812 GB, free: 212 kB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001335/0.3405, allocations: 156.5 kB / 0.5813 GB, free: 56 kB / 414.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.3405, allocations: 192 / 0.5813 GB, free: 56 kB / 414.1 MB Notification: Performance of remove unused functions: time 0.0004936/0.341, allocations: 91.92 kB / 0.5814 GB, free: 15.96 MB / 430.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.0002499/0.3412, allocations: 155 kB / 0.5815 GB, free: 15.8 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.000296/0.3415, allocations: 165.9 kB / 0.5817 GB, free: 15.64 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.435e-06/0.3415, allocations: 0 / 0.5817 GB, free: 15.64 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 4.41e-05/0.3416, allocations: 24.55 kB / 0.5817 GB, free: 15.62 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000405/0.342, allocations: 50.91 kB / 0.5818 GB, free: 15.57 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001006/0.343, allocations: 0.5401 MB / 0.5823 GB, free: 15 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003704/0.3434, allocations: 0.7206 MB / 0.583 GB, free: 14.25 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0001683/0.3435, allocations: 58.86 kB / 0.5831 GB, free: 14.19 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.839e-05/0.3436, allocations: 27.42 kB / 0.5831 GB, free: 14.16 MB / 430.1 MB Notification: Performance of SimCode: time 3.71e-07/0.3436, allocations: 0 / 0.5831 GB, free: 14.16 MB / 430.1 MB Notification: Performance of Templates: time 0.00744/0.351, allocations: 3.326 MB / 0.5863 GB, free: 10.85 MB / 430.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestAllProperties.LinearColdWater.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestAllProperties.LinearColdWater.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestAllProperties.LinearColdWater.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestAllProperties.LinearColdWater.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestAllProperties.LinearColdWater.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestAllProperties.LinearColdWater -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestAllProperties.LinearColdWater.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0-beta.om_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-beta.om_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-beta.om_ModelicaTest.Media.TestAllProperties.LinearColdWater_res.mat. Warning: Get data of variable eps from file ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestAllProperties.LinearColdWater_res.mat failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 5.07376677216962]