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.001884/0.001884, allocations: 103.6 kB / 21.18 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.002349/0.002349, allocations: 211 kB / 24.48 MB, free: 3.938 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.454/1.454, allocations: 230.6 MB / 258.2 MB, free: 7.793 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.2495/0.2495, allocations: 46.98 MB / 361.6 MB, free: 4.141 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.002061/0.002061, allocations: 75.88 kB / 0.4974 GB, free: 7.207 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3162/0.3183, allocations: 66.04 MB / 0.5619 GB, free: 4.195 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.LinearColdWater): time 0.006337/0.3246, allocations: 4.298 MB / 0.5661 GB, free: 15.86 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.004589/0.3292, allocations: 3.597 MB / 0.5696 GB, free: 12.26 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001602/0.3294, allocations: 0 / 0.5696 GB, free: 12.26 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000339/0.3297, allocations: 51.61 kB / 0.5696 GB, free: 12.21 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002392/0.3321, allocations: 0.7461 MB / 0.5703 GB, free: 11.46 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003562/0.3325, allocations: 135.5 kB / 0.5705 GB, free: 11.33 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.000605/0.3331, allocations: 374.1 kB / 0.5708 GB, free: 10.96 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.84e-05/0.3331, allocations: 13.8 kB / 0.5708 GB, free: 10.95 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002246/0.3334, allocations: 147.5 kB / 0.571 GB, free: 10.8 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000278/0.3336, allocations: 151.4 kB / 0.5711 GB, free: 10.65 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 3.422e-05/0.3337, allocations: 8 kB / 0.5711 GB, free: 10.64 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009542/0.3346, allocations: 379.5 kB / 0.5715 GB, free: 10.27 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 8.797e-05/0.3347, allocations: 39.83 kB / 0.5715 GB, free: 10.23 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001257/0.3348, allocations: 103.5 kB / 0.5716 GB, free: 10.13 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007362/0.3356, allocations: 461.1 kB / 0.5721 GB, free: 9.688 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.068e-06/0.3356, allocations: 4 kB / 0.5721 GB, free: 9.684 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.483e-06/0.3356, allocations: 0 / 0.5721 GB, free: 9.684 MB / 414.1 MB Notification: Performance of Transformations before backend: time 6.041e-06/0.3356, allocations: 0 / 0.5721 GB, free: 9.684 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.001158/0.3367, allocations: 0.5246 MB / 0.5726 GB, free: 9.129 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.86e-05/0.3368, allocations: 8.031 kB / 0.5726 GB, free: 9.121 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001577/0.3369, allocations: 28.84 kB / 0.5726 GB, free: 9.094 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003537/0.3373, allocations: 174.2 kB / 0.5728 GB, free: 8.898 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002046/0.3375, allocations: 226.7 kB / 0.573 GB, free: 8.625 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.769e-05/0.3375, allocations: 28.38 kB / 0.573 GB, free: 8.598 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006533/0.3382, allocations: 0.4892 MB / 0.5735 GB, free: 8.047 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.597e-05/0.3382, allocations: 0 / 0.5735 GB, free: 8.047 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.334e-05/0.3383, allocations: 8 kB / 0.5735 GB, free: 8.039 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.285e-05/0.3383, allocations: 8 kB / 0.5735 GB, free: 8.031 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008167/0.3391, allocations: 0.7117 MB / 0.5742 GB, free: 7.316 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.001399/0.3405, allocations: 1.054 MB / 0.5753 GB, free: 6.207 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003566/0.3409, allocations: 143.8 kB / 0.5754 GB, free: 6.059 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001296/0.341, allocations: 85.36 kB / 0.5755 GB, free: 5.973 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001534/0.3425, allocations: 0.7232 MB / 0.5762 GB, free: 5.23 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.292e-05/0.3426, allocations: 38.55 kB / 0.5762 GB, free: 5.184 MB / 414.1 MB Notification: Performance of pre-optimization done (n=11): time 1.593e-06/0.3426, allocations: 0 / 0.5762 GB, free: 5.184 MB / 414.1 MB Notification: Performance of matching and sorting (n=11): time 0.0002981/0.3429, allocations: 113.5 kB / 0.5763 GB, free: 5.066 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.418e-05/0.3429, allocations: 59.34 kB / 0.5764 GB, free: 4.996 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002268/0.3431, allocations: 239.8 kB / 0.5766 GB, free: 4.754 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.056e-05/0.3432, allocations: 29.64 kB / 0.5766 GB, free: 4.719 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001558/0.3433, allocations: 231.4 kB / 0.5769 GB, free: 4.488 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.849e-05/0.3433, allocations: 47.67 kB / 0.5769 GB, free: 4.441 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.626e-05/0.3434, allocations: 90.02 kB / 0.577 GB, free: 4.348 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.000144/0.3436, allocations: 322.8 kB / 0.5773 GB, free: 4.023 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.591e-05/0.3437, allocations: 48.84 kB / 0.5773 GB, free: 3.973 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003093/0.344, allocations: 343.2 kB / 0.5777 GB, free: 3.492 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005092/0.3445, allocations: 452.6 kB / 0.5781 GB, free: 2.902 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.873e-06/0.3445, allocations: 4 kB / 0.5781 GB, free: 2.898 MB / 414.1 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0005729/0.3451, allocations: 377.2 kB / 0.5785 GB, free: 2.523 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.117e-05/0.3451, allocations: 8 kB / 0.5785 GB, free: 2.516 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.667e-05/0.3451, allocations: 12 kB / 0.5785 GB, free: 2.504 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.846e-05/0.3451, allocations: 16.75 kB / 0.5785 GB, free: 2.488 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002463/0.3454, allocations: 99.77 kB / 0.5786 GB, free: 2.391 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.112e-05/0.3454, allocations: 23.88 kB / 0.5786 GB, free: 2.367 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002322/0.3456, allocations: 55.61 kB / 0.5787 GB, free: 2.312 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.37e-05/0.3457, allocations: 28 kB / 0.5787 GB, free: 2.285 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.0001373/0.3458, allocations: 153.6 kB / 0.5788 GB, free: 2.125 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.032e-05/0.3459, allocations: 19.86 kB / 0.5789 GB, free: 2.105 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002833/0.3461, allocations: 144.5 kB / 0.579 GB, free: 1.949 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.107e-06/0.3462, allocations: 4 kB / 0.579 GB, free: 1.945 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.262e-06/0.3462, allocations: 7.875 kB / 0.579 GB, free: 1.938 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.986e-06/0.3462, allocations: 0 / 0.579 GB, free: 1.938 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004491/0.3466, allocations: 352.5 kB / 0.5793 GB, free: 1.547 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.3e-06/0.3466, allocations: 4 kB / 0.5794 GB, free: 1.543 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.952e-05/0.3467, allocations: 12.06 kB / 0.5794 GB, free: 1.531 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.046e-06/0.3467, allocations: 12.03 kB / 0.5794 GB, free: 1.52 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.096e-05/0.3467, allocations: 3.984 kB / 0.5794 GB, free: 1.516 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.646e-06/0.3467, allocations: 4 kB / 0.5794 GB, free: 1.512 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.443e-06/0.3467, allocations: 0 / 0.5794 GB, free: 1.512 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002014/0.3469, allocations: 201.9 kB / 0.5796 GB, free: 1.289 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.299e-05/0.347, allocations: 27.77 kB / 0.5796 GB, free: 1.262 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.828e-05/0.347, allocations: 11.89 kB / 0.5796 GB, free: 1.25 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001438/0.3471, allocations: 4 kB / 0.5796 GB, free: 1.246 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.096e-05/0.3472, allocations: 7.984 kB / 0.5796 GB, free: 1.238 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.828e-06/0.3472, allocations: 4.188 kB / 0.5796 GB, free: 1.234 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001393/0.3473, allocations: 160.5 kB / 0.5798 GB, free: 1.078 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3473, allocations: 3.938 kB / 0.5798 GB, free: 1.074 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0004976/0.3478, allocations: 91.92 kB / 0.5799 GB, free: 0.9844 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.0002954/0.3481, allocations: 155.1 kB / 0.58 GB, free: 0.8203 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0003018/0.3484, allocations: 164.8 kB / 0.5802 GB, free: 0.6602 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.625e-06/0.3484, allocations: 0 / 0.5802 GB, free: 0.6602 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 4.618e-05/0.3485, allocations: 29.55 kB / 0.5802 GB, free: 0.6328 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004424/0.3489, allocations: 48.95 kB / 0.5803 GB, free: 0.5859 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001029/0.3499, allocations: 0.5609 MB / 0.5808 GB, free: 15.98 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001156/0.35, allocations: 116.6 kB / 0.5809 GB, free: 15.85 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.258e-05/0.3501, allocations: 31.38 kB / 0.5809 GB, free: 15.82 MB / 430.1 MB Notification: Performance of SimCode: time 4.21e-07/0.3501, allocations: 7.875 kB / 0.5809 GB, free: 15.81 MB / 430.1 MB Notification: Performance of Templates: time 0.005966/0.3561, allocations: 3.446 MB / 0.5843 GB, free: 12.38 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.8385288300924]