Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test19.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.002166/0.002166, allocations: 105.1 kB / 21.21 MB, free: 0.6523 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.002377/0.002377, allocations: 214.9 kB / 24.52 MB, free: 3.941 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.48/1.48, allocations: 230.6 MB / 258.3 MB, free: 7.785 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.2241/0.2241, allocations: 44.94 MB / 359.6 MB, free: 6.047 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: "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test19,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test19",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test19,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test19",fmuType="cs",version="2.0",platforms={"static"}) [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.002063/0.002063, allocations: 63.91 kB / 0.4938 GB, free: 10.53 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3544/0.3565, allocations: 65.47 MB / 0.5577 GB, free: 7.344 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test19): time 0.003326/0.3598, allocations: 1.877 MB / 0.5596 GB, free: 5.645 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001798/0.3616, allocations: 0.944 MB / 0.5605 GB, free: 4.695 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.846e-05/0.3617, allocations: 3.938 kB / 0.5605 GB, free: 4.691 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004589/0.3622, allocations: 255.2 kB / 0.5607 GB, free: 4.441 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004974/0.3627, allocations: 267.1 kB / 0.561 GB, free: 4.18 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001014/0.3637, allocations: 481 kB / 0.5614 GB, free: 3.723 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003932/0.3641, allocations: 299.2 kB / 0.5617 GB, free: 3.43 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001381/0.3642, allocations: 42.67 kB / 0.5618 GB, free: 3.387 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001579/0.3644, allocations: 135.4 kB / 0.5619 GB, free: 3.254 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002614/0.3646, allocations: 215.2 kB / 0.5621 GB, free: 3.043 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.996e-05/0.3647, allocations: 12 kB / 0.5621 GB, free: 3.031 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001212/0.3648, allocations: 51.97 kB / 0.5622 GB, free: 2.98 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000132/0.3649, allocations: 91.56 kB / 0.5623 GB, free: 2.891 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 8.866e-05/0.365, allocations: 83.28 kB / 0.5623 GB, free: 2.809 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003939/0.3654, allocations: 318.4 kB / 0.5626 GB, free: 2.496 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.667e-06/0.3654, allocations: 0 / 0.5626 GB, free: 2.496 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.183e-06/0.3654, allocations: 0 / 0.5626 GB, free: 2.496 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.122e-06/0.3654, allocations: 0 / 0.5626 GB, free: 2.496 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0007858/0.3662, allocations: 0.5971 MB / 0.5632 GB, free: 1.867 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.439e-05/0.3662, allocations: 8.031 kB / 0.5632 GB, free: 1.859 MB / 398.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.972e-05/0.3663, allocations: 4.188 kB / 0.5632 GB, free: 1.855 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.249e-05/0.3663, allocations: 38.75 kB / 0.5633 GB, free: 1.809 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.28e-05/0.3664, allocations: 44.66 kB / 0.5633 GB, free: 1.766 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003487/0.3667, allocations: 264.7 kB / 0.5636 GB, free: 1.48 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.354e-05/0.3667, allocations: 8.375 kB / 0.5636 GB, free: 1.473 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.436e-05/0.3667, allocations: 8.125 kB / 0.5636 GB, free: 1.465 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001869/0.3669, allocations: 81.61 kB / 0.5637 GB, free: 1.379 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.614e-06/0.3669, allocations: 0 / 0.5637 GB, free: 1.379 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.093e-05/0.3669, allocations: 4 kB / 0.5637 GB, free: 1.375 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.284e-05/0.367, allocations: 7.984 kB / 0.5637 GB, free: 1.367 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001367/0.3671, allocations: 51.97 kB / 0.5637 GB, free: 1.316 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005724/0.3677, allocations: 411.5 kB / 0.5641 GB, free: 0.8711 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001254/0.3678, allocations: 54.56 kB / 0.5642 GB, free: 0.8086 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.929e-05/0.3679, allocations: 28.97 kB / 0.5642 GB, free: 0.7773 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.324e-05/0.3679, allocations: 0 / 0.5642 GB, free: 0.7773 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.453e-05/0.3679, allocations: 30.56 kB / 0.5642 GB, free: 0.7383 MB / 398.1 MB Notification: Performance of pre-optimization done (n=6): time 8.82e-07/0.3679, allocations: 4 kB / 0.5642 GB, free: 0.7344 MB / 398.1 MB Notification: Performance of matching and sorting (n=6): time 0.0003376/0.3683, allocations: 137.3 kB / 0.5644 GB, free: 0.5938 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.266e-05/0.3683, allocations: 59.41 kB / 0.5644 GB, free: 0.5234 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006895/0.369, allocations: 0.5916 MB / 0.565 GB, free: 15.92 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.713e-05/0.369, allocations: 25.7 kB / 0.565 GB, free: 15.89 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001638/0.3692, allocations: 208.1 kB / 0.5652 GB, free: 15.68 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.448e-05/0.3692, allocations: 15.86 kB / 0.5652 GB, free: 15.67 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.229e-05/0.3692, allocations: 29.58 kB / 0.5653 GB, free: 15.63 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001764/0.3694, allocations: 350.8 kB / 0.5656 GB, free: 15.28 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.504e-05/0.3695, allocations: 23.98 kB / 0.5656 GB, free: 15.26 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.941e-05/0.3696, allocations: 15.98 kB / 0.5656 GB, free: 15.24 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000131/0.3697, allocations: 48.78 kB / 0.5657 GB, free: 15.19 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.703e-06/0.3697, allocations: 4.375 kB / 0.5657 GB, free: 15.19 MB / 414.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002216/0.3699, allocations: 121.4 kB / 0.5658 GB, free: 15.06 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.38e-05/0.3699, allocations: 4 kB / 0.5658 GB, free: 15.06 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.997e-06/0.3699, allocations: 0 / 0.5658 GB, free: 15.06 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.517e-05/0.37, allocations: 3.938 kB / 0.5658 GB, free: 15.05 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.972e-05/0.37, allocations: 15.98 kB / 0.5658 GB, free: 15.04 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.769e-06/0.3701, allocations: 0 / 0.5658 GB, free: 15.04 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.178e-05/0.3701, allocations: 11.89 kB / 0.5658 GB, free: 15.03 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.843e-06/0.3701, allocations: 0 / 0.5658 GB, free: 15.03 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (6): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001543/0.3703, allocations: 169.8 kB / 0.566 GB, free: 14.85 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.65e-05/0.3704, allocations: 47.66 kB / 0.566 GB, free: 14.8 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002853/0.3706, allocations: 137.1 kB / 0.5662 GB, free: 14.66 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.234e-06/0.3707, allocations: 0 / 0.5662 GB, free: 14.66 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.058e-06/0.3707, allocations: 0 / 0.5662 GB, free: 14.66 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.405e-06/0.3707, allocations: 0 / 0.5662 GB, free: 14.66 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002936/0.371, allocations: 252.6 kB / 0.5664 GB, free: 14.37 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.022e-06/0.371, allocations: 0 / 0.5664 GB, free: 14.37 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.92e-05/0.371, allocations: 12 kB / 0.5664 GB, free: 14.36 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.653e-06/0.371, allocations: 0 / 0.5664 GB, free: 14.36 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.558e-05/0.371, allocations: 11.92 kB / 0.5664 GB, free: 14.35 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.293e-06/0.371, allocations: 0 / 0.5664 GB, free: 14.35 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.71e-07/0.371, allocations: 0 / 0.5664 GB, free: 14.35 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002558/0.3713, allocations: 215.2 kB / 0.5666 GB, free: 14.12 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.167e-05/0.3713, allocations: 39.75 kB / 0.5667 GB, free: 14.08 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.227e-05/0.3714, allocations: 3.938 kB / 0.5667 GB, free: 14.08 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.843e-05/0.3715, allocations: 11.98 kB / 0.5667 GB, free: 14.07 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.408e-05/0.3715, allocations: 4 kB / 0.5667 GB, free: 14.06 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.33e-06/0.3715, allocations: 192 / 0.5667 GB, free: 14.06 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0004899/0.372, allocations: 447 kB / 0.5671 GB, free: 13.62 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.372, allocations: 4 kB / 0.5671 GB, free: 13.62 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003231/0.3723, allocations: 35.89 kB / 0.5672 GB, free: 13.59 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (6): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002973/0.3753, allocations: 1.295 MB / 0.5684 GB, free: 12.57 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0001897/0.3755, allocations: 47.91 kB / 0.5685 GB, free: 12.53 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.3755, allocations: 0 / 0.5685 GB, free: 12.53 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 6.998e-05/0.3756, allocations: 35.86 kB / 0.5685 GB, free: 12.49 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005268/0.3761, allocations: 79.89 kB / 0.5686 GB, free: 12.43 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003568/0.3797, allocations: 2.844 MB / 0.5714 GB, free: 9.504 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002159/0.3799, allocations: 199.1 kB / 0.5715 GB, free: 9.289 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001054/0.38, allocations: 37.59 kB / 0.5716 GB, free: 9.254 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001721/0.3801, allocations: 115.4 kB / 0.5717 GB, free: 9.141 MB / 414.1 MB Notification: Performance of SimCode: time 5.11e-07/0.3801, allocations: 0 / 0.5717 GB, free: 9.141 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02763/0.4078, allocations: 7.171 MB / 0.5787 GB, free: 2 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.81/12.22, allocations: 2.656 kB / 0.5787 GB, free: 2 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test19.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test19.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test19.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test19.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test19_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test19_fmu --startTime=0 --stopTime=6 --stepSize=0.00119952 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test19.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test19.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test19_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test19/Test19.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test19.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 15.447414027992636]