Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.CO2.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.001372/0.001372, 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.001486/0.001486, allocations: 209 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.615/1.615, allocations: 230.6 MB / 258.2 MB, free: 7.754 MB / 206.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.2418/0.2418, allocations: 44.94 MB / 359.6 MB, free: 6.043 MB / 286.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.CO2,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.CO2") translateModel(ModelicaTest.Media.TestAllProperties.CO2,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.CO2") [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.002033/0.002033, allocations: 67.88 kB / 0.4943 GB, free: 9.984 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3103/0.3124, allocations: 65.47 MB / 0.5582 GB, free: 7.438 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.CO2): time 0.1723/0.4847, allocations: 132 MB / 0.6871 GB, free: 2.898 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.006346/0.491, allocations: 4.75 MB / 0.6918 GB, free: 14.14 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001275/0.4912, allocations: 4 kB / 0.6918 GB, free: 14.13 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0003103/0.4915, allocations: 47.62 kB / 0.6918 GB, free: 14.09 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.003816/0.4953, allocations: 1.328 MB / 0.6931 GB, free: 12.76 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003413/0.4956, allocations: 139.5 kB / 0.6933 GB, free: 12.62 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0006222/0.4963, allocations: 406.1 kB / 0.6936 GB, free: 12.23 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 5.51e-05/0.4963, allocations: 9.797 kB / 0.6937 GB, free: 12.21 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003037/0.4966, allocations: 183.2 kB / 0.6938 GB, free: 12.04 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003145/0.4969, allocations: 171.5 kB / 0.694 GB, free: 11.87 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 3.738e-05/0.497, allocations: 8 kB / 0.694 GB, free: 11.86 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002185/0.4991, allocations: 0.9698 MB / 0.6949 GB, free: 10.89 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 8.85e-05/0.4992, allocations: 47.77 kB / 0.695 GB, free: 10.85 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.000132/0.4994, allocations: 99.58 kB / 0.6951 GB, free: 10.75 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.00145/0.5008, allocations: 0.8455 MB / 0.6959 GB, free: 9.902 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 3.877e-06/0.5008, allocations: 0 / 0.6959 GB, free: 9.902 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.493e-06/0.5008, allocations: 0 / 0.6959 GB, free: 9.902 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 6.162e-06/0.5008, allocations: 3.938 kB / 0.6959 GB, free: 9.898 MB / 0.5294 GB 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.001307/0.5021, allocations: 0.6176 MB / 0.6965 GB, free: 9.25 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.689e-05/0.5022, allocations: 15.98 kB / 0.6965 GB, free: 9.234 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00791/0.5101, allocations: 0.6054 MB / 0.6971 GB, free: 8.629 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006729/0.5108, allocations: 213.5 kB / 0.6973 GB, free: 8.395 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002134/0.511, allocations: 234.1 kB / 0.6975 GB, free: 8.113 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001008/0.5111, allocations: 20 kB / 0.6976 GB, free: 8.094 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001306/0.5124, allocations: 0.7383 MB / 0.6983 GB, free: 7.281 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.729e-05/0.5124, allocations: 0 / 0.6983 GB, free: 7.281 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.587e-05/0.5125, allocations: 12 kB / 0.6983 GB, free: 7.27 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.783e-05/0.5125, allocations: 15.97 kB / 0.6983 GB, free: 7.254 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001453/0.514, allocations: 0.6221 MB / 0.6989 GB, free: 6.629 MB / 0.5294 GB 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.002179/0.5161, allocations: 1.405 MB / 0.7003 GB, free: 5.145 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003543/0.5165, allocations: 142.5 kB / 0.7004 GB, free: 4.996 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001465/0.5166, allocations: 76.86 kB / 0.7005 GB, free: 4.918 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001109/0.5177, allocations: 482.9 kB / 0.701 GB, free: 4.426 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.981e-05/0.5178, allocations: 38.55 kB / 0.701 GB, free: 4.379 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=19): time 1.723e-06/0.5178, allocations: 0 / 0.701 GB, free: 4.379 MB / 0.5294 GB Warning: Some equations could not be differentiated for following variables having attribute stateSelect=StateSelect.prefer. They will be treated as if they had stateSelect=StateSelect.default ======================================== 1: medium.T Please use -d=bltdump for more information. Notification: Performance of matching and sorting (n=19): time 0.001011/0.5188, allocations: 327.9 kB / 0.7013 GB, free: 4.055 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.909e-05/0.5188, allocations: 51.41 kB / 0.7014 GB, free: 3.992 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001984/0.519, allocations: 203 kB / 0.7016 GB, free: 3.785 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 3.35e-05/0.5191, allocations: 29.7 kB / 0.7016 GB, free: 3.75 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001358/0.5192, allocations: 187.8 kB / 0.7018 GB, free: 3.562 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 6.523e-05/0.5193, allocations: 71.38 kB / 0.7018 GB, free: 3.492 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001343/0.5194, allocations: 94 kB / 0.7019 GB, free: 3.395 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001654/0.5196, allocations: 330.8 kB / 0.7022 GB, free: 3.062 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001503/0.5197, allocations: 72.7 kB / 0.7023 GB, free: 2.992 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003201/0.52, allocations: 260 kB / 0.7026 GB, free: 2.645 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004944/0.5205, allocations: 369.1 kB / 0.7029 GB, free: 2.191 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.56e-06/0.5205, allocations: 4 kB / 0.7029 GB, free: 2.188 MB / 0.5294 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0006413/0.5212, allocations: 369.7 kB / 0.7033 GB, free: 1.82 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 2.165e-05/0.5212, allocations: 12.03 kB / 0.7033 GB, free: 1.809 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.288e-06/0.5212, allocations: 4 kB / 0.7033 GB, free: 1.805 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.325e-05/0.5212, allocations: 12 kB / 0.7033 GB, free: 1.793 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004043/0.5216, allocations: 127.8 kB / 0.7034 GB, free: 1.668 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004223/0.5221, allocations: 0.6054 MB / 0.704 GB, free: 1.039 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002585/0.5223, allocations: 39.73 kB / 0.704 GB, free: 1 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.252e-05/0.5224, allocations: 43.98 kB / 0.7041 GB, free: 0.957 MB / 0.5294 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * 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 (46): * Single equations (assignments): 45 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001554/0.5225, allocations: 141.8 kB / 0.7042 GB, free: 0.8086 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.673e-05/0.5226, allocations: 19.91 kB / 0.7042 GB, free: 0.7891 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000835/0.5234, allocations: 467.1 kB / 0.7047 GB, free: 320 kB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.467e-06/0.5234, allocations: 0 / 0.7047 GB, free: 320 kB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.318e-06/0.5234, allocations: 4 kB / 0.7047 GB, free: 316 kB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.586e-06/0.5234, allocations: 0 / 0.7047 GB, free: 316 kB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008768/0.5243, allocations: 0.4932 MB / 0.7052 GB, free: 15.75 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.1e-06/0.5243, allocations: 4 kB / 0.7052 GB, free: 15.75 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002208/0.5245, allocations: 68.14 kB / 0.7052 GB, free: 15.68 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.182e-06/0.5246, allocations: 7.938 kB / 0.7052 GB, free: 15.68 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.063e-05/0.5246, allocations: 8 kB / 0.7053 GB, free: 15.67 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003734/0.5249, allocations: 0.5938 MB / 0.7058 GB, free: 15.05 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.335e-06/0.5249, allocations: 7.875 kB / 0.7058 GB, free: 15.04 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003964/0.5253, allocations: 298.3 kB / 0.7061 GB, free: 14.71 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 9.704e-05/0.5254, allocations: 39.84 kB / 0.7062 GB, free: 14.67 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.348e-05/0.5255, allocations: 4 kB / 0.7062 GB, free: 14.67 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000242/0.5257, allocations: 24.02 kB / 0.7062 GB, free: 14.64 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.693e-05/0.5258, allocations: 15.98 kB / 0.7062 GB, free: 14.63 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.359e-05/0.5258, allocations: 19.98 kB / 0.7062 GB, free: 14.61 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0001467/0.5259, allocations: 136 kB / 0.7064 GB, free: 14.48 MB / 0.545 GB Notification: Performance of sort global known variables: time 1e-07/0.5259, allocations: 0 / 0.7064 GB, free: 14.48 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0006593/0.5266, allocations: 175.6 kB / 0.7065 GB, free: 14.3 MB / 0.545 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * 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 (15): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0006103/0.5272, allocations: 258.7 kB / 0.7068 GB, free: 14.04 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0005528/0.5278, allocations: 224.4 kB / 0.707 GB, free: 13.83 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 3.306e-06/0.5278, allocations: 0 / 0.707 GB, free: 13.83 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.000206/0.528, allocations: 79.83 kB / 0.7071 GB, free: 13.75 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005546/0.5285, allocations: 72.78 kB / 0.7071 GB, free: 13.68 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00174/0.5303, allocations: 0.9113 MB / 0.708 GB, free: 12.71 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001203/0.5304, allocations: 116.5 kB / 0.7081 GB, free: 12.57 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002513/0.5306, allocations: 87.36 kB / 0.7082 GB, free: 12.49 MB / 0.545 GB Notification: Performance of SimCode: time 4.81e-07/0.5306, allocations: 0 / 0.7082 GB, free: 12.49 MB / 0.545 GB Notification: Performance of Templates: time 0.009724/0.5404, allocations: 5.643 MB / 0.7137 GB, free: 6.852 MB / 0.545 GB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.CO2.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.CO2.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.CO2.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.CO2.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.CO2.sim & ./ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.CO2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.CO2.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.CO2_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestAllProperties/CO2/CO2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.CO2.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.CO2_res.mat. Warning: Get data of variable eps from file ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.CO2_res.mat failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 9.005725848022848]