Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test21.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.00134/0.00134, allocations: 112.2 kB / 21.22 MB, free: 0.7266 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.001622/0.001622, allocations: 212.2 kB / 24.52 MB, free: 4.066 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.502/1.502, allocations: 230.6 MB / 258.3 MB, free: 8.004 MB / 206.1 MB " [Timeout remaining time 178] 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.2521/0.2521, allocations: 46.93 MB / 361.7 MB, free: 4.23 MB / 286.1 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: "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test21,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable2Ds_Test21",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test21,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable2Ds_Test21",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001959/0.001959, allocations: 71.89 kB / 0.4969 GB, free: 7.84 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3515/0.3535, allocations: 66.02 MB / 0.5614 GB, free: 4.438 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test21): time 0.003993/0.3575, allocations: 2.074 MB / 0.5634 GB, free: 2.352 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002121/0.3596, allocations: 1.037 MB / 0.5645 GB, free: 1.309 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001527/0.3597, allocations: 0 / 0.5645 GB, free: 1.309 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006428/0.3604, allocations: 259.1 kB / 0.5647 GB, free: 1.055 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006286/0.361, allocations: 263.1 kB / 0.565 GB, free: 0.7969 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001225/0.3622, allocations: 493.2 kB / 0.5654 GB, free: 336 kB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004939/0.3627, allocations: 335.4 kB / 0.5657 GB, free: 16 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001862/0.3629, allocations: 56.67 kB / 0.5658 GB, free: 15.94 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001738/0.3631, allocations: 147.4 kB / 0.5659 GB, free: 15.79 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002955/0.3634, allocations: 231.2 kB / 0.5662 GB, free: 15.57 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 2.989e-05/0.3634, allocations: 12 kB / 0.5662 GB, free: 15.55 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002067/0.3636, allocations: 95.95 kB / 0.5663 GB, free: 15.46 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001347/0.3638, allocations: 99.55 kB / 0.5664 GB, free: 15.36 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001287/0.3639, allocations: 131 kB / 0.5665 GB, free: 15.23 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004906/0.3644, allocations: 362.2 kB / 0.5668 GB, free: 14.88 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.589e-06/0.3644, allocations: 0 / 0.5668 GB, free: 14.88 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.934e-06/0.3644, allocations: 0 / 0.5668 GB, free: 14.88 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.233e-05/0.3644, allocations: 3.938 kB / 0.5668 GB, free: 14.88 MB / 414.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 25 * Number of variables: 25 Notification: Performance of Generate backend data structure: time 0.0009558/0.3654, allocations: 0.6266 MB / 0.5674 GB, free: 14.22 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.487e-05/0.3654, allocations: 8.031 kB / 0.5675 GB, free: 14.21 MB / 414.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.963e-05/0.3654, allocations: 4.188 kB / 0.5675 GB, free: 14.21 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.17e-05/0.3655, allocations: 46.73 kB / 0.5675 GB, free: 14.15 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.094e-05/0.3656, allocations: 48.61 kB / 0.5676 GB, free: 14.11 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004053/0.366, allocations: 276.6 kB / 0.5678 GB, free: 13.81 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.676e-05/0.366, allocations: 8.375 kB / 0.5678 GB, free: 13.8 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.059e-05/0.3661, allocations: 20.06 kB / 0.5678 GB, free: 13.78 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002612/0.3663, allocations: 113.5 kB / 0.568 GB, free: 13.66 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.328e-05/0.3663, allocations: 0 / 0.568 GB, free: 13.66 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.476e-05/0.3664, allocations: 4 kB / 0.568 GB, free: 13.66 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.338e-06/0.3664, allocations: 4 kB / 0.568 GB, free: 13.66 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001698/0.3665, allocations: 71.89 kB / 0.568 GB, free: 13.59 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007193/0.3673, allocations: 475.4 kB / 0.5685 GB, free: 13.08 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001888/0.3674, allocations: 86.55 kB / 0.5686 GB, free: 12.98 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.66e-05/0.3675, allocations: 36.83 kB / 0.5686 GB, free: 12.95 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.747e-05/0.3675, allocations: 4 kB / 0.5686 GB, free: 12.94 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.463e-05/0.3676, allocations: 42.44 kB / 0.5686 GB, free: 12.89 MB / 414.1 MB Notification: Performance of pre-optimization done (n=11): time 1.493e-06/0.3676, allocations: 0 / 0.5686 GB, free: 12.89 MB / 414.1 MB Notification: Performance of matching and sorting (n=17): time 0.001008/0.3686, allocations: 407 kB / 0.569 GB, free: 12.49 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.752e-05/0.3686, allocations: 59.39 kB / 0.5691 GB, free: 12.42 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006772/0.3693, allocations: 0.5838 MB / 0.5697 GB, free: 11.82 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.077e-05/0.3693, allocations: 25.7 kB / 0.5697 GB, free: 11.79 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001721/0.3695, allocations: 220.4 kB / 0.5699 GB, free: 11.57 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.2e-05/0.3696, allocations: 55.48 kB / 0.5699 GB, free: 11.52 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.194e-05/0.3696, allocations: 37.7 kB / 0.57 GB, free: 11.47 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001728/0.3698, allocations: 354.7 kB / 0.5703 GB, free: 11.12 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001415/0.3699, allocations: 55.97 kB / 0.5704 GB, free: 11.06 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001159/0.3701, allocations: 47.97 kB / 0.5704 GB, free: 11.02 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002489/0.3703, allocations: 119.5 kB / 0.5705 GB, free: 10.9 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.212e-06/0.3703, allocations: 0 / 0.5705 GB, free: 10.9 MB / 414.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0003942/0.3707, allocations: 205.2 kB / 0.5707 GB, free: 10.69 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.794e-05/0.3707, allocations: 4 kB / 0.5707 GB, free: 10.69 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.781e-06/0.3707, allocations: 4 kB / 0.5707 GB, free: 10.68 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.82e-05/0.3707, allocations: 4 kB / 0.5707 GB, free: 10.68 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000157/0.3709, allocations: 31.97 kB / 0.5708 GB, free: 10.65 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.029e-05/0.3709, allocations: 4 kB / 0.5708 GB, free: 10.64 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.683e-05/0.371, allocations: 11.94 kB / 0.5708 GB, free: 10.63 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.33e-05/0.371, allocations: 4 kB / 0.5708 GB, free: 10.63 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 (17): * Single equations (assignments): 17 * 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.000189/0.3712, allocations: 181.7 kB / 0.571 GB, free: 10.44 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.734e-05/0.3713, allocations: 43.72 kB / 0.571 GB, free: 10.4 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000497/0.3718, allocations: 249.5 kB / 0.5712 GB, free: 10.14 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.817e-06/0.3718, allocations: 0 / 0.5712 GB, free: 10.14 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.439e-06/0.3718, allocations: 0 / 0.5712 GB, free: 10.14 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.252e-06/0.3718, allocations: 3.984 kB / 0.5712 GB, free: 10.14 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008913/0.3727, allocations: 0.609 MB / 0.5718 GB, free: 9.484 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.625e-06/0.3727, allocations: 3.938 kB / 0.5718 GB, free: 9.48 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001195/0.3728, allocations: 43.98 kB / 0.5719 GB, free: 9.438 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.522e-06/0.3728, allocations: 3.984 kB / 0.5719 GB, free: 9.434 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.177e-05/0.3728, allocations: 0 / 0.5719 GB, free: 9.434 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.569e-06/0.3728, allocations: 7.938 kB / 0.5719 GB, free: 9.426 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.483e-06/0.3728, allocations: 0 / 0.5719 GB, free: 9.426 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004299/0.3733, allocations: 303.1 kB / 0.5722 GB, free: 9.113 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.177e-05/0.3733, allocations: 47.69 kB / 0.5722 GB, free: 9.066 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.101e-05/0.3734, allocations: 8 kB / 0.5722 GB, free: 9.059 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001084/0.3735, allocations: 7.938 kB / 0.5722 GB, free: 9.051 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.282e-05/0.3735, allocations: 15.97 kB / 0.5723 GB, free: 9.035 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.109e-05/0.3735, allocations: 4 kB / 0.5723 GB, free: 9.031 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0005203/0.3741, allocations: 439.1 kB / 0.5727 GB, free: 8.602 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3741, allocations: 0 / 0.5727 GB, free: 8.602 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003251/0.3744, allocations: 51.92 kB / 0.5727 GB, free: 8.551 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 (17): * Single equations (assignments): 17 * 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.003412/0.3778, allocations: 1.439 MB / 0.5741 GB, free: 7.41 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0003381/0.3781, allocations: 126.3 kB / 0.5743 GB, free: 7.289 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.855e-06/0.3781, allocations: 4 kB / 0.5743 GB, free: 7.285 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001363/0.3783, allocations: 67.91 kB / 0.5743 GB, free: 7.219 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005797/0.3789, allocations: 77.61 kB / 0.5744 GB, free: 7.152 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004184/0.383, allocations: 3.171 MB / 0.5775 GB, free: 3.898 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004517/0.3835, allocations: 0.8182 MB / 0.5783 GB, free: 3.055 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001441/0.3836, allocations: 50.23 kB / 0.5783 GB, free: 3.004 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001886/0.3838, allocations: 135.4 kB / 0.5785 GB, free: 2.871 MB / 414.1 MB Notification: Performance of SimCode: time 1.553e-06/0.3838, allocations: 4 kB / 0.5785 GB, free: 2.867 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.029/0.4128, allocations: 7.897 MB / 0.5862 GB, free: 11.02 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.72/12.13, allocations: 11.08 kB / 0.5862 GB, free: 11.02 MB / 430.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test21.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test21.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test21.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test21.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test21_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable2Ds_Test21_fmu --startTime=0 --stopTime=6 --stepSize=0.00119952 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable2Ds_Test21.fmu > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test21.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test21_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Ds/Test21/Test21.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test21.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.427069915982429]