Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test22.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.001821/0.001821, 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.002257/0.002257, allocations: 212.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.497/1.497, allocations: 230.6 MB / 258.3 MB, free: 7.793 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.2523/0.2523, allocations: 44.93 MB / 359.6 MB, free: 6.043 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.Test22,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test22",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test22,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test22",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.001998/0.001998, allocations: 63.91 kB / 0.4938 GB, free: 10.51 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3605/0.3625, allocations: 65.47 MB / 0.5577 GB, free: 7.324 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test22): time 0.00404/0.3665, allocations: 1.958 MB / 0.5596 GB, free: 5.551 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002313/0.3689, allocations: 1.201 MB / 0.5608 GB, free: 4.344 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001406/0.369, allocations: 4 kB / 0.5608 GB, free: 4.34 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002571/0.3692, allocations: 43.58 kB / 0.5609 GB, free: 4.297 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005294/0.3698, allocations: 215 kB / 0.5611 GB, free: 4.086 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009856/0.3708, allocations: 441.7 kB / 0.5615 GB, free: 3.668 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004116/0.3712, allocations: 303.1 kB / 0.5618 GB, free: 3.371 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001693/0.3713, allocations: 48.89 kB / 0.5618 GB, free: 3.32 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002629/0.3716, allocations: 139.4 kB / 0.562 GB, free: 3.184 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002904/0.3719, allocations: 199.2 kB / 0.5621 GB, free: 2.988 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 4.036e-05/0.3719, allocations: 19.98 kB / 0.5622 GB, free: 2.969 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000141/0.3721, allocations: 63.97 kB / 0.5622 GB, free: 2.906 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001713/0.3722, allocations: 147.4 kB / 0.5624 GB, free: 2.762 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001442/0.3724, allocations: 127 kB / 0.5625 GB, free: 2.637 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005164/0.3729, allocations: 411.9 kB / 0.5629 GB, free: 2.234 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.043e-06/0.3729, allocations: 4 kB / 0.5629 GB, free: 2.23 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.814e-06/0.3729, allocations: 0 / 0.5629 GB, free: 2.23 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.134e-05/0.3729, allocations: 0 / 0.5629 GB, free: 2.23 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: 24 * Number of variables: 24 Notification: Performance of Generate backend data structure: time 0.001091/0.374, allocations: 0.7446 MB / 0.5636 GB, free: 1.453 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.031e-05/0.3741, allocations: 8.031 kB / 0.5636 GB, free: 1.445 MB / 398.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.608e-05/0.3741, allocations: 4.188 kB / 0.5636 GB, free: 1.441 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.338e-05/0.3741, allocations: 46.69 kB / 0.5637 GB, free: 1.387 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002965/0.3744, allocations: 80.48 kB / 0.5637 GB, free: 1.309 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007036/0.3751, allocations: 418.4 kB / 0.5641 GB, free: 0.875 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.685e-05/0.3751, allocations: 8.125 kB / 0.5642 GB, free: 0.8672 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.415e-05/0.3752, allocations: 8 kB / 0.5642 GB, free: 0.8594 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000298/0.3755, allocations: 142.9 kB / 0.5643 GB, free: 0.7109 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.429e-05/0.3755, allocations: 0 / 0.5643 GB, free: 0.7109 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.821e-05/0.3755, allocations: 8 kB / 0.5643 GB, free: 0.7031 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.692e-06/0.3755, allocations: 3.984 kB / 0.5643 GB, free: 0.6992 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002305/0.3757, allocations: 71.95 kB / 0.5644 GB, free: 0.6289 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001046/0.3768, allocations: 0.6245 MB / 0.565 GB, free: 15.96 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000249/0.377, allocations: 101.2 kB / 0.5651 GB, free: 15.84 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001128/0.3771, allocations: 53.7 kB / 0.5651 GB, free: 15.78 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.883e-05/0.3772, allocations: 0 / 0.5651 GB, free: 15.78 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.005e-05/0.3772, allocations: 38.56 kB / 0.5652 GB, free: 15.73 MB / 414.1 MB Notification: Performance of pre-optimization done (n=10): time 1.162e-06/0.3772, allocations: 0 / 0.5652 GB, free: 15.73 MB / 414.1 MB Notification: Performance of matching and sorting (n=16): time 0.001507/0.3787, allocations: 0.5306 MB / 0.5657 GB, free: 15.2 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.059e-05/0.3788, allocations: 81.11 kB / 0.5658 GB, free: 15.1 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001154/0.3799, allocations: 0.9181 MB / 0.5667 GB, free: 14.17 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.564e-05/0.38, allocations: 29.7 kB / 0.5667 GB, free: 14.13 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002472/0.3802, allocations: 268.3 kB / 0.5669 GB, free: 13.86 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.015e-05/0.3803, allocations: 55.73 kB / 0.567 GB, free: 13.81 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.994e-05/0.3804, allocations: 33.7 kB / 0.567 GB, free: 13.77 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002109/0.3806, allocations: 382.6 kB / 0.5674 GB, free: 13.39 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001574/0.3807, allocations: 47.97 kB / 0.5674 GB, free: 13.34 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001721/0.3809, allocations: 81.23 kB / 0.5675 GB, free: 13.26 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003349/0.3812, allocations: 137.6 kB / 0.5677 GB, free: 13.12 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.196e-06/0.3812, allocations: 4 kB / 0.5677 GB, free: 13.11 MB / 414.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0005272/0.3818, allocations: 225.3 kB / 0.5679 GB, free: 12.89 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.771e-05/0.3818, allocations: 8 kB / 0.5679 GB, free: 12.88 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.221e-05/0.3818, allocations: 11.92 kB / 0.5679 GB, free: 12.87 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.587e-05/0.3818, allocations: 0 / 0.5679 GB, free: 12.87 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000208/0.382, allocations: 39.97 kB / 0.5679 GB, free: 12.83 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.871e-06/0.382, allocations: 0 / 0.5679 GB, free: 12.83 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001399/0.3822, allocations: 15.94 kB / 0.5679 GB, free: 12.81 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.78e-05/0.3822, allocations: 7.984 kB / 0.5679 GB, free: 12.8 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (16): * Single equations (assignments): 16 * 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.0002268/0.3824, allocations: 213.7 kB / 0.5682 GB, free: 12.59 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001201/0.3825, allocations: 63.58 kB / 0.5682 GB, free: 12.52 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006143/0.3831, allocations: 266.5 kB / 0.5685 GB, free: 12.25 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.6e-06/0.3832, allocations: 4 kB / 0.5685 GB, free: 12.25 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.268e-06/0.3832, allocations: 0 / 0.5685 GB, free: 12.25 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.29e-06/0.3832, allocations: 3.984 kB / 0.5685 GB, free: 12.24 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001192/0.3844, allocations: 0.7234 MB / 0.5692 GB, free: 11.47 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.488e-06/0.3844, allocations: 4 kB / 0.5692 GB, free: 11.46 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001644/0.3845, allocations: 31.97 kB / 0.5692 GB, free: 11.43 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.998e-06/0.3845, allocations: 4 kB / 0.5692 GB, free: 11.43 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.151e-05/0.3845, allocations: 11.92 kB / 0.5692 GB, free: 11.42 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.761e-06/0.3846, allocations: 7.938 kB / 0.5692 GB, free: 11.41 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.024e-06/0.3846, allocations: 0 / 0.5692 GB, free: 11.41 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005778/0.3851, allocations: 398.3 kB / 0.5696 GB, free: 11 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001682/0.3853, allocations: 83.59 kB / 0.5697 GB, free: 10.92 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.643e-05/0.3854, allocations: 7.875 kB / 0.5697 GB, free: 10.91 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002053/0.3856, allocations: 15.98 kB / 0.5697 GB, free: 10.9 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.356e-05/0.3856, allocations: 15.97 kB / 0.5697 GB, free: 10.88 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.883e-05/0.3857, allocations: 12 kB / 0.5697 GB, free: 10.87 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0008716/0.3865, allocations: 0.6747 MB / 0.5704 GB, free: 10.2 MB / 414.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3865, allocations: 0 / 0.5704 GB, free: 10.2 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003647/0.3869, allocations: 52 kB / 0.5705 GB, free: 10.15 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (16): * Single equations (assignments): 16 * 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.002467/0.3894, allocations: 1.267 MB / 0.5717 GB, free: 9.035 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0004192/0.3898, allocations: 131.9 kB / 0.5718 GB, free: 8.906 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.585e-06/0.3898, allocations: 4 kB / 0.5718 GB, free: 8.902 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001924/0.39, allocations: 79.89 kB / 0.5719 GB, free: 8.824 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005916/0.3906, allocations: 78.55 kB / 0.572 GB, free: 8.75 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007059/0.3976, allocations: 5.056 MB / 0.5769 GB, free: 3.605 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003553/0.398, allocations: 257.3 kB / 0.5772 GB, free: 3.332 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0002191/0.3982, allocations: 91.2 kB / 0.5772 GB, free: 3.242 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002713/0.3985, allocations: 171.4 kB / 0.5774 GB, free: 3.074 MB / 414.1 MB Notification: Performance of SimCode: time 1.012e-06/0.3985, allocations: 0 / 0.5774 GB, free: 3.074 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03486/0.4333, allocations: 10.37 MB / 0.5875 GB, free: 8.816 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.23/12.66, allocations: 4.062 kB / 0.5875 GB, free: 8.812 MB / 430.1 MB " [Timeout remaining time 647] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test22.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test22.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test22.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test22.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test22_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test22_fmu --startTime=0 --stopTime=1 --stepSize=0.00019992 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test22.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test22.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test22_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test22/Test22.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test22.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: 16.08173075306695]