Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.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.001149/0.001149, allocations: 77.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001371/0.002521, allocations: 449.8 kB / 10.44 MB, free: 252 kB / 10.45 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.0007027/0.0007027, allocations: 165.1 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009093/0.001612, allocations: 479.5 kB / 11.82 MB, free: 2.344 MB / 13.93 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.01/1.01, allocations: 177.2 MB / 189.8 MB, free: 5.242 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09668/1.106, allocations: 53.66 MB / 243.4 MB, free: 15.5 MB / 250.7 MB " [Timeout remaining time 179] 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.2581/0.2581, allocations: 34.26 MB / 278.4 MB, free: 15.27 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02311/0.2812, allocations: 13.11 MB / 291.5 MB, free: 7.32 MB / 282.7 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.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.[0-9,]+.|MM|h2|d2|err_T|err_d|err_u|s_is|err_h_is|eps",fileNamePrefix="ModelicaTest_4.1.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.[0-9,]+.|MM|h2|d2|err_T|err_d|err_u|s_is|err_h_is|eps",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.DryAirNasa") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.392e-06/1.392e-06, allocations: 0 / 292.9 MB, free: 6.164 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.039e-05/2.178e-05, allocations: 3.438 kB / 292.9 MB, free: 6.16 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.DryAirNasa): time 0.1359/0.1359, allocations: 145.9 MB / 438.7 MB, free: 3.707 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.2135/0.3495, allocations: 5.265 MB / 444 MB, free: 3.719 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001515/0.3496, allocations: 2.438 kB / 444 MB, free: 3.719 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002089/0.3498, allocations: 55.39 kB / 444.1 MB, free: 3.719 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00269/0.3525, allocations: 1.245 MB / 445.3 MB, free: 3.695 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002413/0.3528, allocations: 152.5 kB / 445.5 MB, free: 3.695 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005328/0.3533, allocations: 414.8 kB / 445.9 MB, free: 3.695 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.766e-05/0.3533, allocations: 12.47 kB / 445.9 MB, free: 3.688 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003337/0.3537, allocations: 242.5 kB / 446.1 MB, free: 3.688 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002503/0.3539, allocations: 154 kB / 446.3 MB, free: 3.688 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 2.954e-05/0.354, allocations: 8.312 kB / 446.3 MB, free: 3.688 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001658/0.3556, allocations: 1.003 MB / 447.3 MB, free: 3.664 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 6.966e-05/0.3557, allocations: 35.86 kB / 447.3 MB, free: 3.664 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 7.114e-05/0.3558, allocations: 63.56 kB / 447.4 MB, free: 3.664 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001114/0.3569, allocations: 0.8037 MB / 448.2 MB, free: 3.609 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.546e-05/0.3569, allocations: 0 / 448.2 MB, free: 3.609 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.563e-06/0.3569, allocations: 4.422 kB / 448.2 MB, free: 3.609 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.038e-05/0.3569, allocations: 0 / 448.2 MB, free: 3.609 MB / 426.7 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.001377/0.3583, allocations: 0.782 MB / 449 MB, free: 19.16 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.965e-05/0.3583, allocations: 9.219 kB / 449 MB, free: 19.16 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00335/0.3617, allocations: 0.761 MB / 449.7 MB, free: 19.09 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003488/0.362, allocations: 165.7 kB / 449.9 MB, free: 18.95 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001053/0.3621, allocations: 231.3 kB / 450.1 MB, free: 18.7 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.975e-05/0.3622, allocations: 25.31 kB / 450.2 MB, free: 18.7 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005641/0.3627, allocations: 0.6637 MB / 450.8 MB, free: 18.35 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.338e-05/0.3628, allocations: 6.578 kB / 450.8 MB, free: 18.35 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.832e-05/0.3628, allocations: 10.81 kB / 450.8 MB, free: 18.35 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.319e-05/0.3628, allocations: 12.03 kB / 450.8 MB, free: 18.35 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005398/0.3634, allocations: 369.5 kB / 451.2 MB, free: 18.35 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001335/0.3647, allocations: 1.301 MB / 452.5 MB, free: 17.4 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001962/0.3649, allocations: 102.4 kB / 452.6 MB, free: 17.37 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.192e-05/0.365, allocations: 48.38 kB / 452.7 MB, free: 17.36 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004374/0.3654, allocations: 360.2 kB / 453 MB, free: 17.13 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.069e-05/0.3654, allocations: 38.69 kB / 453 MB, free: 17.09 MB / 442.7 MB Notification: Performance of pre-optimization done (n=17): time 1.593e-06/0.3654, allocations: 1 kB / 453 MB, free: 17.09 MB / 442.7 MB Notification: Performance of matching and sorting (n=17): time 0.0007131/0.3661, allocations: 293.3 kB / 453.3 MB, free: 17.05 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.082e-05/0.3662, allocations: 54.91 kB / 453.4 MB, free: 16.99 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001186/0.3663, allocations: 207.1 kB / 453.6 MB, free: 16.87 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 2.327e-05/0.3663, allocations: 29.2 kB / 453.6 MB, free: 16.84 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.206e-05/0.3664, allocations: 196.4 kB / 453.8 MB, free: 16.68 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.054e-05/0.3664, allocations: 65.59 kB / 453.9 MB, free: 16.64 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.031e-05/0.3665, allocations: 83.48 kB / 454 MB, free: 16.62 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 8.549e-05/0.3666, allocations: 338 kB / 454.3 MB, free: 16.3 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.245e-05/0.3666, allocations: 36.08 kB / 454.3 MB, free: 16.3 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001102/0.3667, allocations: 240.4 kB / 454.6 MB, free: 16.06 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00023/0.367, allocations: 346.6 kB / 454.9 MB, free: 15.81 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.627e-06/0.367, allocations: 0 / 454.9 MB, free: 15.81 MB / 442.7 MB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0002689/0.3672, allocations: 273.1 kB / 455.2 MB, free: 15.78 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.778e-05/0.3672, allocations: 10.81 kB / 455.2 MB, free: 15.78 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.576e-06/0.3673, allocations: 6.656 kB / 455.2 MB, free: 15.78 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.405e-05/0.3673, allocations: 9.125 kB / 455.2 MB, free: 15.78 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002674/0.3675, allocations: 137.5 kB / 455.3 MB, free: 15.78 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002603/0.3678, allocations: 0.5964 MB / 455.9 MB, free: 15.19 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001341/0.3679, allocations: 43.97 kB / 456 MB, free: 15.17 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.61e-05/0.368, allocations: 40.3 kB / 456 MB, free: 15.17 MB / 442.7 MB 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 9.361e-05/0.3681, allocations: 143.9 kB / 456.1 MB, free: 15.04 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.594e-05/0.3681, allocations: 24.58 kB / 456.2 MB, free: 15.04 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004083/0.3685, allocations: 379 kB / 456.5 MB, free: 14.98 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.985e-06/0.3685, allocations: 3.594 kB / 456.5 MB, free: 14.98 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.204e-06/0.3685, allocations: 3.938 kB / 456.5 MB, free: 14.98 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.115e-06/0.3685, allocations: 0.9688 kB / 456.5 MB, free: 14.98 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004237/0.3689, allocations: 402.3 kB / 456.9 MB, free: 14.73 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.947e-06/0.369, allocations: 3.594 kB / 456.9 MB, free: 14.73 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001105/0.3691, allocations: 56.12 kB / 457 MB, free: 14.73 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.04e-05/0.3691, allocations: 33.02 kB / 457 MB, free: 14.72 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.708e-06/0.3691, allocations: 3.875 kB / 457 MB, free: 14.72 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.182e-05/0.3691, allocations: 10.31 kB / 457 MB, free: 14.72 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002094/0.3693, allocations: 0.5822 MB / 457.6 MB, free: 14.14 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.758e-06/0.3693, allocations: 9.625 kB / 457.6 MB, free: 14.13 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001592/0.3695, allocations: 238.6 kB / 457.9 MB, free: 13.95 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.826e-05/0.3695, allocations: 18.08 kB / 457.9 MB, free: 13.94 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001074/0.3696, allocations: 17.14 kB / 457.9 MB, free: 13.94 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.624e-05/0.3697, allocations: 19.11 kB / 457.9 MB, free: 13.93 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.833e-05/0.3697, allocations: 19.95 kB / 457.9 MB, free: 13.93 MB / 442.7 MB Notification: Performance of sorting global known variables: time 4.116e-05/0.3697, allocations: 52.25 kB / 458 MB, free: 13.92 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3697, allocations: 2.688 kB / 458 MB, free: 13.92 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0004497/0.3702, allocations: 149.2 kB / 458.1 MB, free: 13.91 MB / 442.7 MB 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.0003764/0.3705, allocations: 239 kB / 458.4 MB, free: 13.82 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.000299/0.3708, allocations: 203 kB / 458.6 MB, free: 13.8 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 1.608e-05/0.3709, allocations: 7.281 kB / 458.6 MB, free: 13.8 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001236/0.371, allocations: 84.42 kB / 458.7 MB, free: 13.79 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003619/0.3713, allocations: 181 kB / 458.8 MB, free: 13.71 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003404/0.3747, allocations: 0.6797 MB / 459.5 MB, free: 13.44 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.117e-05/0.3748, allocations: 78.55 kB / 459.6 MB, free: 13.37 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.0004015/0.3752, allocations: 384.6 kB / 460 MB, free: 13.34 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002182/0.3754, allocations: 151.7 kB / 460.1 MB, free: 13.29 MB / 442.7 MB Notification: Performance of SimCode: time 1.222e-06/0.3754, allocations: 1 kB / 460.1 MB, free: 13.29 MB / 442.7 MB Notification: Performance of Templates: time 0.00753/0.3829, allocations: 6.066 MB / 466.2 MB, free: 12.8 MB / 442.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.DryAirNasa.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.DryAirNasa.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.DryAirNasa.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.DryAirNasa.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.DryAirNasa.sim & ./ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.DryAirNasa -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.DryAirNasa.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.DryAirNasa_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Media/TestAllProperties/DryAirNasa/DryAirNasa.csv","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "Error: Could not read variable eps in file ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.DryAirNasa_res.mat. Warning: Get data of variable eps from file ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.DryAirNasa_res.mat failed! " [Timeout remaining time 660] Not compared, constant in the reference and not in the result: eps Reference file matches [Calling sys.exit(0), Time elapsed: 3.7217305107042193]