Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.MoistAir.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.0009821/0.0009821, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001268/0.00225, allocations: 449.7 kB / 10.37 MB, free: 328 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.000933/0.000933, allocations: 169.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001244/0.002177, allocations: 455.6 kB / 11.71 MB, free: 2.461 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.6 MB, free: 5.32 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1191/1.13, allocations: 53.65 MB / 243.3 MB, free: 15.59 MB / 250.7 MB " [Timeout remaining time 179] 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.2758/0.2758, allocations: 32.8 MB / 276.8 MB, free: 15.87 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0256/0.3014, allocations: 12.54 MB / 289.3 MB, free: 8.68 MB / 282.7 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.MoistAir,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.0.0_ModelicaTest.Media.TestAllProperties.MoistAir") translateModel(ModelicaTest.Media.TestAllProperties.MoistAir,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.0.0_ModelicaTest.Media.TestAllProperties.MoistAir") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.593e-06/1.593e-06, allocations: 0 / 290.6 MB, free: 7.637 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 8.847e-06/1.044e-05, allocations: 7.078 kB / 290.6 MB, free: 7.629 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.MoistAir): time 0.1518/0.1518, allocations: 147.9 MB / 438.6 MB, free: 3.785 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.2256/0.3774, allocations: 6.451 MB / 445 MB, free: 3.625 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001755/0.3776, allocations: 1.375 kB / 445 MB, free: 3.625 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003192/0.3779, allocations: 82.78 kB / 445.1 MB, free: 3.625 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 0.008157/0.3861, allocations: 2.455 MB / 447.6 MB, free: 3.555 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.004366/0.3905, allocations: 173.5 kB / 447.7 MB, free: 3.555 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.000683/0.3912, allocations: 0.575 MB / 448.3 MB, free: 3.555 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.309e-05/0.3912, allocations: 12.94 kB / 448.3 MB, free: 3.551 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003949/0.3916, allocations: 316.9 kB / 448.6 MB, free: 3.551 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005761/0.3922, allocations: 366.3 kB / 449 MB, free: 3.547 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 3.817e-05/0.3922, allocations: 15.34 kB / 449 MB, free: 3.547 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01069/0.4029, allocations: 3.05 MB / 452 MB, free: 3.504 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001073/0.403, allocations: 87.95 kB / 452.1 MB, free: 3.504 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001253/0.4031, allocations: 94.84 kB / 452.2 MB, free: 3.504 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.005384/0.4085, allocations: 1.643 MB / 453.9 MB, free: 3.398 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.531e-05/0.4085, allocations: 1.125 kB / 453.9 MB, free: 3.398 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.383e-06/0.4085, allocations: 0 / 453.9 MB, free: 3.398 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.549e-05/0.4085, allocations: 0 / 453.9 MB, free: 3.398 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: 81 * Number of variables: 81 Notification: Performance of Generate backend data structure: time 0.002219/0.4108, allocations: 1.186 MB / 455.1 MB, free: 18.83 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.278e-05/0.4108, allocations: 13.48 kB / 455.1 MB, free: 18.82 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001585/0.411, allocations: 65.27 kB / 455.1 MB, free: 18.82 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002255/0.4112, allocations: 182.2 kB / 455.3 MB, free: 18.68 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001055/0.4113, allocations: 232.2 kB / 455.5 MB, free: 18.43 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.751e-05/0.4113, allocations: 32.73 kB / 455.6 MB, free: 18.43 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000412/0.4117, allocations: 0.5424 MB / 456.1 MB, free: 18.05 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.212e-05/0.4118, allocations: 3.188 kB / 456.1 MB, free: 18.05 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.699e-05/0.4118, allocations: 14.77 kB / 456.1 MB, free: 18.05 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.02e-05/0.4118, allocations: 31.64 kB / 456.2 MB, free: 18.05 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004865/0.4123, allocations: 0.5542 MB / 456.7 MB, free: 18.04 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001328/0.4136, allocations: 1.392 MB / 458.1 MB, free: 17.23 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003595/0.414, allocations: 238.7 kB / 458.3 MB, free: 17.16 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.153e-05/0.4141, allocations: 69.36 kB / 458.4 MB, free: 17.15 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001426/0.4155, allocations: 1.043 MB / 459.4 MB, free: 16.85 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.704e-05/0.4155, allocations: 43.28 kB / 459.5 MB, free: 16.81 MB / 442.7 MB Notification: Performance of pre-optimization done (n=42): time 1.633e-06/0.4155, allocations: 0.75 kB / 459.5 MB, free: 16.81 MB / 442.7 MB Notification: Performance of matching and sorting (n=42): time 0.0006067/0.4161, allocations: 396 kB / 459.9 MB, free: 16.72 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.459e-05/0.4162, allocations: 60.5 kB / 459.9 MB, free: 16.66 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001279/0.4163, allocations: 214.1 kB / 460.1 MB, free: 16.53 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 3.022e-05/0.4163, allocations: 31.67 kB / 460.2 MB, free: 16.5 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.07e-05/0.4164, allocations: 196.5 kB / 460.4 MB, free: 16.34 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.524e-05/0.4165, allocations: 157.8 kB / 460.5 MB, free: 16.24 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001319/0.4166, allocations: 124.4 kB / 460.6 MB, free: 16.22 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001115/0.4167, allocations: 340.3 kB / 461 MB, free: 15.9 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.504e-05/0.4168, allocations: 64.84 kB / 461 MB, free: 15.9 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002385/0.417, allocations: 366.8 kB / 461.4 MB, free: 15.52 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004599/0.4175, allocations: 0.4948 MB / 461.9 MB, free: 15.13 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.743e-06/0.4175, allocations: 2.875 kB / 461.9 MB, free: 15.13 MB / 442.7 MB Notification: Performance of matching and sorting (n=72) (initialization): time 0.0004886/0.418, allocations: 403.6 kB / 462.3 MB, free: 15.09 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.932e-05/0.418, allocations: 12.16 kB / 462.3 MB, free: 15.09 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.449e-05/0.418, allocations: 8.688 kB / 462.3 MB, free: 15.09 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.707e-05/0.418, allocations: 15.66 kB / 462.3 MB, free: 15.09 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005034/0.4186, allocations: 224.1 kB / 462.5 MB, free: 15.09 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002986/0.4188, allocations: 0.6018 MB / 463.1 MB, free: 14.51 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002631/0.4191, allocations: 61.41 kB / 463.2 MB, free: 14.48 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.382e-05/0.4192, allocations: 47.41 kB / 463.3 MB, free: 14.48 MB / 442.7 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 (71): * Single equations (assignments): 69 * Array equations: 1 * 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.0001173/0.4193, allocations: 162.2 kB / 463.4 MB, free: 14.35 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.786e-05/0.4193, allocations: 34.31 kB / 463.4 MB, free: 14.35 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006417/0.42, allocations: 0.5161 MB / 464 MB, free: 14.21 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.418e-06/0.42, allocations: 5.172 kB / 464 MB, free: 14.21 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.435e-06/0.42, allocations: 6.375 kB / 464 MB, free: 14.2 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.5e-06/0.42, allocations: 2.859 kB / 464 MB, free: 14.2 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006112/0.4206, allocations: 0.5583 MB / 464.5 MB, free: 13.92 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.456e-06/0.4206, allocations: 3.469 kB / 464.5 MB, free: 13.92 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002799/0.4209, allocations: 101 kB / 464.6 MB, free: 13.92 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.582e-05/0.421, allocations: 38.86 kB / 464.7 MB, free: 13.91 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.466e-06/0.421, allocations: 0 / 464.7 MB, free: 13.91 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.298e-05/0.421, allocations: 13.39 kB / 464.7 MB, free: 13.91 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001988/0.4212, allocations: 0.5917 MB / 465.3 MB, free: 13.32 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.083e-06/0.4212, allocations: 5.219 kB / 465.3 MB, free: 13.32 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002069/0.4214, allocations: 317.6 kB / 465.6 MB, free: 13.11 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.659e-05/0.4214, allocations: 10.84 kB / 465.6 MB, free: 13.11 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000134/0.4216, allocations: 17.28 kB / 465.6 MB, free: 13.11 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.924e-05/0.4216, allocations: 33.8 kB / 465.7 MB, free: 13.1 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.796e-05/0.4216, allocations: 11.67 kB / 465.7 MB, free: 13.1 MB / 442.7 MB Notification: Performance of sorting global known variables: time 4.646e-05/0.4216, allocations: 76.05 kB / 465.7 MB, free: 13.09 MB / 442.7 MB Notification: Performance of sort global known variables: time 6e-08/0.4216, allocations: 0 / 465.7 MB, free: 13.09 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0008698/0.4225, allocations: 458.8 kB / 466.2 MB, free: 13 MB / 442.7 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 (34): * Single equations (assignments): 32 * Array equations: 1 * 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.0009191/0.4234, allocations: 0.7023 MB / 466.9 MB, free: 12.84 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0002542/0.4237, allocations: 249.8 kB / 467.1 MB, free: 12.83 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 1.199e-05/0.4237, allocations: 12.98 kB / 467.1 MB, free: 12.83 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 6.528e-05/0.4238, allocations: 82.84 kB / 467.2 MB, free: 12.82 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003905/0.4242, allocations: 193 kB / 467.4 MB, free: 12.8 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007708/0.4319, allocations: 5.909 MB / 473.3 MB, free: 12.36 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.989e-05/0.4319, allocations: 102.5 kB / 473.4 MB, free: 12.29 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.0003601/0.4323, allocations: 182 kB / 473.6 MB, free: 12.26 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002705/0.4326, allocations: 187.8 kB / 473.8 MB, free: 12.21 MB / 442.7 MB Notification: Performance of SimCode: time 6.91e-07/0.4326, allocations: 0 / 473.8 MB, free: 12.21 MB / 442.7 MB Notification: Performance of Templates: time 0.01487/0.4474, allocations: 16.3 MB / 490.1 MB, free: 8.09 MB / 442.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.MoistAir.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.MoistAir.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.MoistAir.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.MoistAir.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.MoistAir.sim & ./ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.MoistAir -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.MoistAir.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.MoistAir_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestAllProperties/MoistAir/MoistAir.csv","",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.MoistAir_res.mat. Warning: Get data of variable eps from file ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.MoistAir_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: 4.21668388415128]