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.001551/0.001551, allocations: 113.9 kB / 21.18 MB, free: 0.6289 MB / 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.001702/0.001702, allocations: 209.8 kB / 24.48 MB, free: 4.035 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.441/1.441, allocations: 230.2 MB / 257.8 MB, free: 8.488 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.229/0.229, allocations: 46.89 MB / 361.1 MB, free: 4.613 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.002343/0.002343, allocations: 75.88 kB / 0.4968 GB, free: 7.766 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3151/0.3174, allocations: 65.99 MB / 0.5612 GB, free: 4.977 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.LinearColdWater): time 0.005984/0.3234, allocations: 4.641 MB / 0.5658 GB, free: 316 kB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.004532/0.328, allocations: 4.033 MB / 0.5697 GB, free: 12.26 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.835e-05/0.3281, allocations: 3.938 kB / 0.5697 GB, free: 12.25 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002634/0.3283, allocations: 55.66 kB / 0.5698 GB, free: 12.2 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001676/0.33, allocations: 0.7344 MB / 0.5705 GB, free: 11.46 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003328/0.3303, allocations: 131 kB / 0.5706 GB, free: 11.34 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.000521/0.3308, allocations: 378.1 kB / 0.571 GB, free: 10.96 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.629e-05/0.3309, allocations: 13.67 kB / 0.571 GB, free: 10.95 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002064/0.3311, allocations: 139.5 kB / 0.5711 GB, free: 10.82 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002413/0.3314, allocations: 147.5 kB / 0.5713 GB, free: 10.67 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 2.534e-05/0.3314, allocations: 8 kB / 0.5713 GB, free: 10.66 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008993/0.3323, allocations: 435.5 kB / 0.5717 GB, free: 10.24 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 8.18e-05/0.3324, allocations: 51.75 kB / 0.5717 GB, free: 10.19 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001193/0.3325, allocations: 111.5 kB / 0.5718 GB, free: 10.08 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007049/0.3332, allocations: 469.4 kB / 0.5723 GB, free: 9.621 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.887e-06/0.3332, allocations: 0 / 0.5723 GB, free: 9.621 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.653e-06/0.3332, allocations: 0 / 0.5723 GB, free: 9.621 MB / 414.1 MB Notification: Performance of Transformations before backend: time 5.18e-06/0.3332, allocations: 0 / 0.5723 GB, free: 9.621 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.001142/0.3343, allocations: 0.6039 MB / 0.5729 GB, free: 8.969 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.324e-05/0.3344, allocations: 8.031 kB / 0.5729 GB, free: 8.961 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001544/0.3345, allocations: 32.83 kB / 0.5729 GB, free: 8.93 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003344/0.3349, allocations: 228 kB / 0.5731 GB, free: 8.668 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001347/0.335, allocations: 123.9 kB / 0.5733 GB, free: 8.523 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.078e-05/0.335, allocations: 20.38 kB / 0.5733 GB, free: 8.504 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005087/0.3355, allocations: 335.6 kB / 0.5736 GB, free: 8.148 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.075e-05/0.3356, allocations: 0 / 0.5736 GB, free: 8.148 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.632e-05/0.3356, allocations: 12 kB / 0.5736 GB, free: 8.137 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.265e-05/0.3356, allocations: 8 kB / 0.5736 GB, free: 8.129 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008254/0.3364, allocations: 0.7429 MB / 0.5743 GB, free: 7.383 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.001452/0.3379, allocations: 1.308 MB / 0.5756 GB, free: 5.957 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003445/0.3382, allocations: 143.8 kB / 0.5758 GB, free: 5.809 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001332/0.3384, allocations: 89.34 kB / 0.5758 GB, free: 5.719 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00268/0.341, allocations: 2.81 MB / 0.5786 GB, free: 2.379 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.482e-05/0.3411, allocations: 38.56 kB / 0.5786 GB, free: 2.332 MB / 414.1 MB Notification: Performance of pre-optimization done (n=11): time 1.724e-06/0.3411, allocations: 0 / 0.5786 GB, free: 2.332 MB / 414.1 MB Notification: Performance of matching and sorting (n=11): time 0.0002878/0.3414, allocations: 113.5 kB / 0.5787 GB, free: 2.215 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.74e-05/0.3414, allocations: 55.41 kB / 0.5788 GB, free: 2.148 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00021/0.3416, allocations: 220.7 kB / 0.579 GB, free: 1.926 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.746e-05/0.3416, allocations: 33.7 kB / 0.579 GB, free: 1.887 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001471/0.3418, allocations: 227.2 kB / 0.5792 GB, free: 1.66 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.824e-05/0.3418, allocations: 51.64 kB / 0.5793 GB, free: 1.609 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.849e-05/0.3419, allocations: 82.08 kB / 0.5794 GB, free: 1.523 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001492/0.3421, allocations: 330.8 kB / 0.5797 GB, free: 1.191 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.505e-05/0.3422, allocations: 44.84 kB / 0.5797 GB, free: 1.145 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003216/0.3425, allocations: 347.2 kB / 0.5801 GB, free: 0.6602 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004686/0.343, allocations: 440.6 kB / 0.5805 GB, free: 84 kB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.011e-06/0.343, allocations: 4 kB / 0.5805 GB, free: 80 kB / 414.1 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0005675/0.3435, allocations: 381.8 kB / 0.5808 GB, free: 15.7 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.013e-05/0.3435, allocations: 12 kB / 0.5809 GB, free: 15.69 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.4e-05/0.3436, allocations: 16.12 kB / 0.5809 GB, free: 15.67 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.497e-05/0.3436, allocations: 12 kB / 0.5809 GB, free: 15.66 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000241/0.3438, allocations: 103.7 kB / 0.581 GB, free: 15.56 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.153e-05/0.3438, allocations: 19.94 kB / 0.581 GB, free: 15.54 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002301/0.3441, allocations: 55.62 kB / 0.5811 GB, free: 15.48 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.245e-05/0.3441, allocations: 31.98 kB / 0.5811 GB, free: 15.45 MB / 430.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.0001272/0.3442, allocations: 145.6 kB / 0.5812 GB, free: 15.3 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.143e-05/0.3443, allocations: 19.91 kB / 0.5812 GB, free: 15.28 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002677/0.3446, allocations: 140.5 kB / 0.5814 GB, free: 15.13 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.923e-06/0.3446, allocations: 7.922 kB / 0.5814 GB, free: 15.12 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.432e-06/0.3446, allocations: 0 / 0.5814 GB, free: 15.12 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.596e-05/0.3447, allocations: 100.9 kB / 0.5815 GB, free: 15 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.365e-05/0.3447, allocations: 11.98 kB / 0.5815 GB, free: 14.99 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001244/0.3448, allocations: 4 kB / 0.5815 GB, free: 14.99 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.652e-05/0.3448, allocations: 3.984 kB / 0.5815 GB, free: 14.98 MB / 430.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0001583/0.345, allocations: 152.9 kB / 0.5816 GB, free: 14.83 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0002226/0.3452, allocations: 274.7 kB / 0.5819 GB, free: 14.54 MB / 430.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 3.793e-05/0.3453, allocations: 15.98 kB / 0.5819 GB, free: 14.53 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0001402/0.3454, allocations: 160.5 kB / 0.5821 GB, free: 14.37 MB / 430.1 MB Notification: Performance of Backend: time 2.6e-07/0.3454, allocations: 0 / 0.5821 GB, free: 14.37 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.001056/0.3465, allocations: 430.6 kB / 0.5825 GB, free: 13.94 MB / 430.1 MB Notification: Performance of SimCode: time 0.001019/0.3475, allocations: 0.874 MB / 0.5833 GB, free: 13.02 MB / 430.1 MB Notification: Performance of Templates: time 0.01044/0.3579, allocations: 5.329 MB / 0.5885 GB, free: 7.699 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 -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_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Media/TestAllProperties/LinearColdWater/LinearColdWater.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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.050002843141556]