Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.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.00102/0.00102, allocations: 77.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001558/0.002578, 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.001002/0.001002, allocations: 165.1 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001209/0.002212, allocations: 479.5 kB / 11.83 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 0.9808/0.9808, allocations: 177.2 MB / 189.8 MB, free: 5.262 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09375/1.075, allocations: 53.66 MB / 243.4 MB, free: 15.52 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.2751/0.2751, allocations: 34.25 MB / 278.4 MB, free: 15.3 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0298/0.3049, allocations: 13.11 MB / 291.5 MB, free: 7.348 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.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|s_is|eps",fileNamePrefix="ModelicaTest_4.1.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|s_is|eps",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.MoistAir") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.552e-06/1.552e-06, allocations: 0 / 292.9 MB, free: 6.188 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.954e-05/2.109e-05, allocations: 3.297 kB / 292.9 MB, free: 6.184 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.MoistAir): time 0.1405/0.1405, allocations: 147.9 MB / 440.8 MB, free: 1.68 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.2047/0.3452, allocations: 6.45 MB / 447.3 MB, free: 3.645 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001945/0.3454, allocations: 3.375 kB / 447.3 MB, free: 3.645 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003622/0.3457, allocations: 84.84 kB / 447.3 MB, free: 3.645 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 0.006351/0.3521, allocations: 2.451 MB / 449.8 MB, free: 3.555 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003591/0.3524, allocations: 172.3 kB / 450 MB, free: 3.555 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.0009938/0.3534, allocations: 0.5723 MB / 450.5 MB, free: 3.555 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.425e-05/0.3535, allocations: 12.75 kB / 450.5 MB, free: 3.551 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005742/0.3541, allocations: 332.4 kB / 450.9 MB, free: 3.547 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007588/0.3548, allocations: 353.8 kB / 451.2 MB, free: 3.547 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 3.837e-05/0.3549, allocations: 13.12 kB / 451.2 MB, free: 3.547 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005649/0.3605, allocations: 3.055 MB / 454.3 MB, free: 3.504 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000126/0.3607, allocations: 88.5 kB / 454.4 MB, free: 3.504 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001458/0.3608, allocations: 95.78 kB / 454.5 MB, free: 3.504 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003546/0.3644, allocations: 1.647 MB / 456.1 MB, free: 3.395 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.234e-05/0.3644, allocations: 1.094 kB / 456.1 MB, free: 3.395 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.114e-06/0.3644, allocations: 0 / 456.1 MB, free: 3.395 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.229e-05/0.3644, allocations: 1.031 kB / 456.1 MB, free: 3.395 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.002041/0.3664, allocations: 1.179 MB / 457.3 MB, free: 18.83 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.337e-05/0.3665, allocations: 10.28 kB / 457.3 MB, free: 18.83 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001652/0.3666, allocations: 66.14 kB / 457.4 MB, free: 18.82 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000233/0.3668, allocations: 177.8 kB / 457.5 MB, free: 18.68 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001081/0.367, allocations: 235.9 kB / 457.8 MB, free: 18.43 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.729e-05/0.367, allocations: 28.33 kB / 457.8 MB, free: 18.43 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004195/0.3674, allocations: 0.5454 MB / 458.3 MB, free: 18.06 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.436e-05/0.3674, allocations: 3.625 kB / 458.3 MB, free: 18.06 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.392e-05/0.3675, allocations: 15.69 kB / 458.4 MB, free: 18.06 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.116e-05/0.3675, allocations: 20.47 kB / 458.4 MB, free: 18.06 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004358/0.3679, allocations: 0.5565 MB / 458.9 MB, free: 18.05 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001258/0.3692, allocations: 1.397 MB / 460.3 MB, free: 17.24 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003575/0.3695, allocations: 242.2 kB / 460.6 MB, free: 17.16 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.028e-05/0.3696, allocations: 70.11 kB / 460.6 MB, free: 17.15 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001921/0.3716, allocations: 1.043 MB / 461.7 MB, free: 16.85 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.508e-05/0.3716, allocations: 37.56 kB / 461.7 MB, free: 16.81 MB / 442.7 MB Notification: Performance of pre-optimization done (n=42): time 1.913e-06/0.3716, allocations: 0 / 461.7 MB, free: 16.81 MB / 442.7 MB Notification: Performance of matching and sorting (n=42): time 0.001449/0.373, allocations: 0.6309 MB / 462.3 MB, free: 16.71 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.116e-05/0.3731, allocations: 55.66 kB / 462.4 MB, free: 16.65 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000163/0.3732, allocations: 212.6 kB / 462.6 MB, free: 16.52 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 3.645e-05/0.3733, allocations: 36.64 kB / 462.6 MB, free: 16.49 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000107/0.3734, allocations: 196.8 kB / 462.8 MB, free: 16.32 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.519e-05/0.3735, allocations: 156.2 kB / 463 MB, free: 16.23 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001425/0.3736, allocations: 120.8 kB / 463.1 MB, free: 16.21 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001418/0.3738, allocations: 342.3 kB / 463.4 MB, free: 15.89 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001452/0.3739, allocations: 62.95 kB / 463.5 MB, free: 15.89 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002433/0.3742, allocations: 370.6 kB / 463.9 MB, free: 15.5 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003877/0.3745, allocations: 0.5244 MB / 464.4 MB, free: 15.12 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.492e-06/0.3746, allocations: 3.188 kB / 464.4 MB, free: 15.12 MB / 442.7 MB Notification: Performance of matching and sorting (n=72) (initialization): time 0.0003992/0.375, allocations: 400 kB / 464.8 MB, free: 15.08 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.908e-05/0.375, allocations: 12.34 kB / 464.8 MB, free: 15.08 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.129e-05/0.375, allocations: 9.75 kB / 464.8 MB, free: 15.08 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.837e-05/0.375, allocations: 14.19 kB / 464.8 MB, free: 15.08 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004232/0.3754, allocations: 213 kB / 465 MB, free: 15.08 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002944/0.3757, allocations: 0.6034 MB / 465.6 MB, free: 14.5 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002295/0.376, allocations: 64.56 kB / 465.7 MB, free: 14.46 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.7e-05/0.376, allocations: 45.16 kB / 465.7 MB, free: 14.46 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.0001258/0.3762, allocations: 164.2 kB / 465.9 MB, free: 14.34 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.879e-05/0.3762, allocations: 36.47 kB / 465.9 MB, free: 14.34 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005821/0.3768, allocations: 0.5238 MB / 466.5 MB, free: 14.19 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.188e-05/0.3768, allocations: 6.516 kB / 466.5 MB, free: 14.19 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.573e-06/0.3768, allocations: 0 / 466.5 MB, free: 14.19 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.923e-06/0.3768, allocations: 3.812 kB / 466.5 MB, free: 14.19 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005969/0.3774, allocations: 0.5579 MB / 467 MB, free: 13.91 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.107e-06/0.3774, allocations: 0 / 467 MB, free: 13.91 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002292/0.3776, allocations: 101.7 kB / 467.1 MB, free: 13.91 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.801e-05/0.3777, allocations: 43.08 kB / 467.2 MB, free: 13.89 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.839e-06/0.3777, allocations: 4.562 kB / 467.2 MB, free: 13.89 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.35e-05/0.3777, allocations: 8.844 kB / 467.2 MB, free: 13.89 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002181/0.3779, allocations: 0.5932 MB / 467.8 MB, free: 13.3 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.365e-06/0.3779, allocations: 0 / 467.8 MB, free: 13.3 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002206/0.3781, allocations: 318.9 kB / 468.1 MB, free: 13.09 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.028e-05/0.3782, allocations: 16 kB / 468.1 MB, free: 13.09 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001116/0.3783, allocations: 12.22 kB / 468.1 MB, free: 13.09 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.771e-05/0.3783, allocations: 29.59 kB / 468.1 MB, free: 13.09 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.852e-05/0.3783, allocations: 14.59 kB / 468.2 MB, free: 13.09 MB / 442.7 MB Notification: Performance of sorting global known variables: time 5.373e-05/0.3784, allocations: 72.52 kB / 468.2 MB, free: 13.07 MB / 442.7 MB Notification: Performance of sort global known variables: time 5e-08/0.3784, allocations: 0.5938 kB / 468.2 MB, free: 13.07 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.001223/0.3796, allocations: 458.2 kB / 468.7 MB, free: 12.98 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.001199/0.3808, allocations: 0.6975 MB / 469.4 MB, free: 12.82 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0003836/0.3812, allocations: 265.1 kB / 469.6 MB, free: 12.81 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 1.632e-05/0.3812, allocations: 7.875 kB / 469.6 MB, free: 12.81 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001127/0.3813, allocations: 110.8 kB / 469.7 MB, free: 12.8 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005704/0.3819, allocations: 456.2 kB / 470.2 MB, free: 12.49 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008778/0.3907, allocations: 5.899 MB / 476.1 MB, free: 12.05 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001055/0.3908, allocations: 100.2 kB / 476.2 MB, free: 11.98 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.0006084/0.3914, allocations: 157 kB / 476.3 MB, free: 11.95 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003406/0.3917, allocations: 187.8 kB / 476.5 MB, free: 11.9 MB / 442.7 MB Notification: Performance of SimCode: time 2.565e-06/0.3917, allocations: 0 / 476.5 MB, free: 11.9 MB / 442.7 MB Notification: Performance of Templates: time 0.01722/0.4089, allocations: 15.79 MB / 492.3 MB, free: 7.66 MB / 442.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.MoistAir.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.MoistAir.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.MoistAir.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.MoistAir.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.MoistAir.sim & ./ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.MoistAir -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.MoistAir.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.MoistAir_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Media/TestAllProperties/MoistAir/MoistAir.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.MoistAir_res.mat. Warning: Get data of variable eps from file ModelicaTest_4.1.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.036658925935626]