Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.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.001829/0.001829, allocations: 73.72 kB / 21.24 MB, free: 0.5547 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.002174/0.002174, allocations: 160.8 kB / 24.5 MB, free: 3.715 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.463/1.463, allocations: 177.2 MB / 204.9 MB, free: 8.992 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2133/0.2133, allocations: 32.81 MB / 294.1 MB, free: 12 kB / 270.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.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.0.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.0.0_ModelicaTest.Media.TestAllProperties.LinearColdWater") [Timeout 660] "Notification: ModelicaTest requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002158/0.002158, allocations: 69.94 kB / 440.6 MB, free: 9.383 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3052/0.3073, allocations: 65.43 MB / 0.4942 GB, free: 31.39 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.LinearColdWater): time 0.004516/0.3119, allocations: 4.326 MB / 0.4984 GB, free: 28.4 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.002833/0.3147, allocations: 3.587 MB / 0.5019 GB, free: 25.99 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.087e-05/0.3148, allocations: 7.219 kB / 0.5019 GB, free: 25.98 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000237/0.315, allocations: 53.78 kB / 0.502 GB, free: 25.96 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001286/0.3163, allocations: 0.7408 MB / 0.5027 GB, free: 25.55 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002598/0.3165, allocations: 136.5 kB / 0.5028 GB, free: 25.48 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003761/0.3169, allocations: 373.2 kB / 0.5032 GB, free: 25.32 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.502e-05/0.317, allocations: 15.83 kB / 0.5032 GB, free: 25.31 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001464/0.3171, allocations: 149.5 kB / 0.5033 GB, free: 25.26 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002002/0.3173, allocations: 146.8 kB / 0.5035 GB, free: 25.21 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 3.547e-05/0.3174, allocations: 6.438 kB / 0.5035 GB, free: 25.21 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005953/0.3179, allocations: 381.9 kB / 0.5038 GB, free: 25.1 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 7.458e-05/0.318, allocations: 51.2 kB / 0.5039 GB, free: 25.07 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 9.864e-05/0.3181, allocations: 92.73 kB / 0.504 GB, free: 25.04 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005525/0.3187, allocations: 453.8 kB / 0.5044 GB, free: 24.89 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.527e-06/0.3187, allocations: 4 kB / 0.5044 GB, free: 24.89 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.503e-06/0.3187, allocations: 3.938 kB / 0.5044 GB, free: 24.89 MB / 446.1 MB Notification: Performance of Transformations before backend: time 5.44e-06/0.3187, allocations: 0 / 0.5044 GB, free: 24.89 MB / 446.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.0009073/0.3196, allocations: 0.5289 MB / 0.5049 GB, free: 24.49 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.919e-05/0.3196, allocations: 9.75 kB / 0.5049 GB, free: 24.49 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001452/0.3198, allocations: 32.09 kB / 0.505 GB, free: 24.48 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000236/0.32, allocations: 163.8 kB / 0.5051 GB, free: 24.33 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001071/0.3201, allocations: 227.6 kB / 0.5054 GB, free: 24.07 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.487e-05/0.3201, allocations: 25.22 kB / 0.5054 GB, free: 24.06 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000432/0.3206, allocations: 498.8 kB / 0.5058 GB, free: 23.69 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.182e-05/0.3206, allocations: 0 / 0.5058 GB, free: 23.69 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.522e-05/0.3206, allocations: 11.09 kB / 0.5059 GB, free: 23.68 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.653e-05/0.3206, allocations: 6.594 kB / 0.5059 GB, free: 23.68 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005784/0.3212, allocations: 0.7158 MB / 0.5066 GB, free: 23.56 MB / 446.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.000939/0.3221, allocations: 1.049 MB / 0.5076 GB, free: 22.69 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000287/0.3224, allocations: 155.2 kB / 0.5077 GB, free: 22.62 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001009/0.3225, allocations: 78.53 kB / 0.5078 GB, free: 22.59 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001197/0.3237, allocations: 0.7252 MB / 0.5085 GB, free: 22.17 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.012e-05/0.3237, allocations: 33.66 kB / 0.5086 GB, free: 22.13 MB / 446.1 MB Notification: Performance of pre-optimization done (n=11): time 1.312e-06/0.3237, allocations: 3.938 kB / 0.5086 GB, free: 22.12 MB / 446.1 MB Notification: Performance of matching and sorting (n=11): time 0.0002559/0.324, allocations: 118.8 kB / 0.5087 GB, free: 22.06 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.299e-05/0.324, allocations: 63.28 kB / 0.5087 GB, free: 21.99 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000132/0.3242, allocations: 235.8 kB / 0.509 GB, free: 21.83 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.166e-05/0.3242, allocations: 28.58 kB / 0.509 GB, free: 21.8 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.551e-05/0.3242, allocations: 232.4 kB / 0.5092 GB, free: 21.6 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.118e-05/0.3243, allocations: 45 kB / 0.5092 GB, free: 21.56 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.401e-05/0.3243, allocations: 86.8 kB / 0.5093 GB, free: 21.51 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.112e-05/0.3244, allocations: 324.5 kB / 0.5096 GB, free: 21.2 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.364e-05/0.3244, allocations: 53.92 kB / 0.5097 GB, free: 21.18 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001369/0.3246, allocations: 342.7 kB / 0.51 GB, free: 20.77 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002481/0.3248, allocations: 447.9 kB / 0.5104 GB, free: 20.29 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.669e-06/0.3248, allocations: 3.031 kB / 0.5104 GB, free: 20.29 MB / 446.1 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0004376/0.3252, allocations: 383 kB / 0.5108 GB, free: 20.12 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.429e-05/0.3253, allocations: 8.969 kB / 0.5108 GB, free: 20.12 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.085e-05/0.3253, allocations: 12.22 kB / 0.5108 GB, free: 20.12 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.271e-05/0.3253, allocations: 12.94 kB / 0.5108 GB, free: 20.12 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000215/0.3255, allocations: 103.1 kB / 0.5109 GB, free: 20.11 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.452e-05/0.3255, allocations: 28.03 kB / 0.511 GB, free: 20.09 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002121/0.3257, allocations: 54.47 kB / 0.511 GB, free: 20.06 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.598e-05/0.3258, allocations: 32.44 kB / 0.5111 GB, free: 20.05 MB / 446.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 7.349e-05/0.3258, allocations: 147.5 kB / 0.5112 GB, free: 19.91 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.283e-05/0.3259, allocations: 21.05 kB / 0.5112 GB, free: 19.9 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002097/0.3261, allocations: 146.6 kB / 0.5114 GB, free: 19.8 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.165e-06/0.3261, allocations: 0 / 0.5114 GB, free: 19.8 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.158e-06/0.3261, allocations: 3.938 kB / 0.5114 GB, free: 19.8 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.257e-06/0.3261, allocations: 6.656 kB / 0.5114 GB, free: 19.8 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002962/0.3264, allocations: 351.2 kB / 0.5117 GB, free: 19.49 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.904e-06/0.3264, allocations: 0 / 0.5117 GB, free: 19.49 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.64e-05/0.3265, allocations: 15.5 kB / 0.5117 GB, free: 19.49 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.545e-06/0.3265, allocations: 8.031 kB / 0.5117 GB, free: 19.48 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.875e-06/0.3265, allocations: 3.094 kB / 0.5117 GB, free: 19.48 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.573e-06/0.3265, allocations: 0 / 0.5117 GB, free: 19.48 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.3265, allocations: 7 kB / 0.5117 GB, free: 19.48 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001225/0.3266, allocations: 205.6 kB / 0.5119 GB, free: 19.3 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.166e-05/0.3266, allocations: 23.75 kB / 0.512 GB, free: 19.29 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.96e-05/0.3267, allocations: 14.89 kB / 0.512 GB, free: 19.27 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001443/0.3268, allocations: 2.812 kB / 0.512 GB, free: 19.27 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.489e-05/0.3268, allocations: 6.609 kB / 0.512 GB, free: 19.27 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.788e-06/0.3268, allocations: 10.55 kB / 0.512 GB, free: 19.27 MB / 446.1 MB Notification: Performance of sorting global known variables: time 8.497e-05/0.3269, allocations: 160.9 kB / 0.5121 GB, free: 19.16 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.3269, allocations: 0 / 0.5121 GB, free: 19.16 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0004486/0.3274, allocations: 92.09 kB / 0.5122 GB, free: 19.15 MB / 446.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.0001828/0.3276, allocations: 151.5 kB / 0.5124 GB, free: 19.04 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0002279/0.3278, allocations: 168.5 kB / 0.5125 GB, free: 18.98 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.3278, allocations: 0 / 0.5125 GB, free: 18.98 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 3.141e-05/0.3278, allocations: 28.89 kB / 0.5126 GB, free: 18.97 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004002/0.3282, allocations: 42.58 kB / 0.5126 GB, free: 18.96 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006951/0.3289, allocations: 0.5389 MB / 0.5131 GB, free: 18.62 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.61e-05/0.329, allocations: 116.7 kB / 0.5132 GB, free: 18.55 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0001506/0.3291, allocations: 50.42 kB / 0.5133 GB, free: 18.52 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.616e-05/0.3292, allocations: 31.62 kB / 0.5133 GB, free: 18.5 MB / 446.1 MB Notification: Performance of SimCode: time 3.21e-07/0.3292, allocations: 0 / 0.5133 GB, free: 18.5 MB / 446.1 MB Notification: Performance of Templates: time 0.006585/0.3357, allocations: 3.064 MB / 0.5163 GB, free: 18.07 MB / 446.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.LinearColdWater.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.LinearColdWater.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.LinearColdWater.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.LinearColdWater.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.LinearColdWater.sim & ./ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.LinearColdWater -abortSlowSimulation -alarm=480 -s ida -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.LinearColdWater.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.LinearColdWater_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestAllProperties/LinearColdWater/LinearColdWater.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.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.0.0_ModelicaTest.Media.TestAllProperties.LinearColdWater_res.mat. Warning: Get data of variable eps from file ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.LinearColdWater_res.mat failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 5.213565040961839]