Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.DryAirNasa.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.001759/0.001759, 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.002314/0.002314, allocations: 211.5 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.497/1.497, allocations: 230.6 MB / 258.2 MB, free: 7.746 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.264/0.264, allocations: 44.94 MB / 359.6 MB, free: 6.035 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.DryAirNasa,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.DryAirNasa") translateModel(ModelicaTest.Media.TestAllProperties.DryAirNasa,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.DryAirNasa") [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.002328/0.002328, allocations: 68.09 kB / 0.4943 GB, free: 9.973 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.334/0.3363, allocations: 65.47 MB / 0.5582 GB, free: 7.434 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.DryAirNasa): time 0.1766/0.5129, allocations: 132 MB / 0.6871 GB, free: 2.922 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.006822/0.5198, allocations: 4.618 MB / 0.6916 GB, free: 14.29 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001686/0.5199, allocations: 0 / 0.6916 GB, free: 14.29 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0003171/0.5203, allocations: 43.62 kB / 0.6917 GB, free: 14.25 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.003601/0.5239, allocations: 1.228 MB / 0.6929 GB, free: 13.02 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003711/0.5242, allocations: 151.6 kB / 0.693 GB, free: 12.88 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0007311/0.525, allocations: 402 kB / 0.6934 GB, free: 12.48 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 5.815e-05/0.525, allocations: 9.812 kB / 0.6934 GB, free: 12.47 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003761/0.5254, allocations: 179.3 kB / 0.6936 GB, free: 12.3 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003698/0.5258, allocations: 163.5 kB / 0.6937 GB, free: 12.14 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 4.852e-05/0.5258, allocations: 8 kB / 0.6937 GB, free: 12.13 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002295/0.5281, allocations: 0.9401 MB / 0.6947 GB, free: 11.19 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.0001096/0.5282, allocations: 47.81 kB / 0.6947 GB, free: 11.14 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.0001656/0.5284, allocations: 95.58 kB / 0.6948 GB, free: 11.05 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.002028/0.5304, allocations: 0.8442 MB / 0.6956 GB, free: 10.2 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 4.128e-06/0.5304, allocations: 0 / 0.6956 GB, free: 10.2 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.483e-06/0.5304, allocations: 0 / 0.6956 GB, free: 10.2 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 8.206e-06/0.5304, allocations: 0 / 0.6956 GB, free: 10.2 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.00153/0.532, allocations: 0.6177 MB / 0.6962 GB, free: 9.555 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.697e-05/0.532, allocations: 8.031 kB / 0.6962 GB, free: 9.547 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008087/0.5401, allocations: 0.6015 MB / 0.6968 GB, free: 8.945 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006149/0.5407, allocations: 221.4 kB / 0.697 GB, free: 8.703 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002146/0.5409, allocations: 230.1 kB / 0.6973 GB, free: 8.426 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001243/0.541, allocations: 16 kB / 0.6973 GB, free: 8.41 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001404/0.5424, allocations: 0.7383 MB / 0.698 GB, free: 7.598 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.727e-05/0.5425, allocations: 0 / 0.698 GB, free: 7.598 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.188e-05/0.5425, allocations: 15.98 kB / 0.698 GB, free: 7.582 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.099e-05/0.5426, allocations: 8 kB / 0.698 GB, free: 7.574 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001567/0.5441, allocations: 0.6221 MB / 0.6986 GB, free: 6.949 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.002343/0.5465, allocations: 1.409 MB / 0.7 GB, free: 5.461 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003972/0.5469, allocations: 150.5 kB / 0.7001 GB, free: 5.305 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001457/0.547, allocations: 68.88 kB / 0.7002 GB, free: 5.234 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006306/0.5476, allocations: 375.9 kB / 0.7006 GB, free: 4.848 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.622e-05/0.5477, allocations: 34.56 kB / 0.7006 GB, free: 4.805 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=17): time 1.784e-06/0.5477, allocations: 0 / 0.7006 GB, free: 4.805 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=17): time 0.00108/0.5488, allocations: 330.7 kB / 0.7009 GB, free: 4.48 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.109e-05/0.5488, allocations: 55.41 kB / 0.701 GB, free: 4.414 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002204/0.549, allocations: 206.9 kB / 0.7012 GB, free: 4.203 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 3.585e-05/0.5491, allocations: 29.7 kB / 0.7012 GB, free: 4.168 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001422/0.5492, allocations: 191.7 kB / 0.7014 GB, free: 3.977 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 6.429e-05/0.5493, allocations: 67.47 kB / 0.7014 GB, free: 3.91 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001541/0.5494, allocations: 102 kB / 0.7015 GB, free: 3.805 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001641/0.5496, allocations: 326.8 kB / 0.7018 GB, free: 3.477 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001576/0.5497, allocations: 68.7 kB / 0.7019 GB, free: 3.41 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003344/0.5501, allocations: 260 kB / 0.7022 GB, free: 3.062 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005455/0.5506, allocations: 370.2 kB / 0.7025 GB, free: 2.605 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.208e-06/0.5506, allocations: 0 / 0.7025 GB, free: 2.605 MB / 0.5294 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0007049/0.5513, allocations: 369.5 kB / 0.7029 GB, free: 2.238 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.958e-05/0.5513, allocations: 16.16 kB / 0.7029 GB, free: 2.223 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.74e-05/0.5514, allocations: 4 kB / 0.7029 GB, free: 2.219 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.545e-05/0.5514, allocations: 15.94 kB / 0.7029 GB, free: 2.203 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004275/0.5518, allocations: 127.8 kB / 0.703 GB, free: 2.078 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004462/0.5523, allocations: 0.6016 MB / 0.7036 GB, free: 1.453 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002615/0.5525, allocations: 35.73 kB / 0.7036 GB, free: 1.418 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.79e-05/0.5526, allocations: 43.98 kB / 0.7037 GB, free: 1.375 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.0001774/0.5528, allocations: 145.6 kB / 0.7038 GB, free: 1.223 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.672e-05/0.5528, allocations: 27.95 kB / 0.7038 GB, free: 1.195 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008568/0.5537, allocations: 436 kB / 0.7043 GB, free: 0.7578 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.158e-06/0.5537, allocations: 0 / 0.7043 GB, free: 0.7578 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.927e-06/0.5537, allocations: 0 / 0.7043 GB, free: 0.7578 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.536e-06/0.5537, allocations: 0 / 0.7043 GB, free: 0.7578 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009133/0.5546, allocations: 0.4962 MB / 0.7047 GB, free: 208 kB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.938e-06/0.5546, allocations: 4.219 kB / 0.7048 GB, free: 204 kB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002283/0.5549, allocations: 59.89 kB / 0.7048 GB, free: 144 kB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.444e-06/0.5549, allocations: 4 kB / 0.7048 GB, free: 140 kB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.285e-05/0.5549, allocations: 8 kB / 0.7048 GB, free: 132 kB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004602/0.5553, allocations: 0.6015 MB / 0.7054 GB, free: 15.5 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.689e-06/0.5553, allocations: 4.031 kB / 0.7054 GB, free: 15.5 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000425/0.5558, allocations: 289.3 kB / 0.7057 GB, free: 15.18 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001123/0.5559, allocations: 39.75 kB / 0.7057 GB, free: 15.14 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.224e-05/0.5559, allocations: 12.09 kB / 0.7057 GB, free: 15.13 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002472/0.5562, allocations: 7.984 kB / 0.7057 GB, free: 15.12 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.797e-05/0.5562, allocations: 15.98 kB / 0.7058 GB, free: 15.11 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.361e-05/0.5563, allocations: 19.98 kB / 0.7058 GB, free: 15.09 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0001407/0.5564, allocations: 139.6 kB / 0.7059 GB, free: 14.95 MB / 0.545 GB Notification: Performance of sort global known variables: time 9e-08/0.5564, allocations: 4 kB / 0.7059 GB, free: 14.95 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.000657/0.5571, allocations: 147.7 kB / 0.7061 GB, free: 14.8 MB / 0.545 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * 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.0005009/0.5576, allocations: 234.8 kB / 0.7063 GB, free: 14.56 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0005722/0.5581, allocations: 215.5 kB / 0.7065 GB, free: 14.35 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 5.891e-06/0.5581, allocations: 5.875 kB / 0.7065 GB, free: 14.35 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0002041/0.5583, allocations: 75.83 kB / 0.7066 GB, free: 14.27 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005641/0.5589, allocations: 64.61 kB / 0.7066 GB, free: 14.21 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001536/0.5604, allocations: 0.7416 MB / 0.7074 GB, free: 13.41 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001339/0.5606, allocations: 124.4 kB / 0.7075 GB, free: 13.27 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002751/0.5608, allocations: 95.34 kB / 0.7076 GB, free: 13.18 MB / 0.545 GB Notification: Performance of SimCode: time 9.22e-07/0.5608, allocations: 0 / 0.7076 GB, free: 13.18 MB / 0.545 GB Notification: Performance of Templates: time 0.009831/0.5707, allocations: 5.429 MB / 0.7129 GB, free: 7.754 MB / 0.545 GB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.DryAirNasa.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.DryAirNasa.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.DryAirNasa.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.DryAirNasa.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.DryAirNasa.sim & ./ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.DryAirNasa -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.DryAirNasa.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.DryAirNasa_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestAllProperties/DryAirNasa/DryAirNasa.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.DryAirNasa.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.DryAirNasa_res.mat. Warning: Get data of variable eps from file ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.DryAirNasa_res.mat failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 8.866668467409909]