Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.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.001345/0.001345, allocations: 107.6 kB / 21.18 MB, free: 0.5273 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.002001/0.002001, allocations: 204.8 kB / 24.48 MB, free: 3.695 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.667/1.667, allocations: 230.6 MB / 258.2 MB, free: 7.805 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.2558/0.2558, allocations: 46.97 MB / 361.6 MB, free: 4.023 MB / 286.1 MB " [Timeout remaining time 179] 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.Tables.CombiTable2Dv.Test22,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|combiTable2D_1R.y.1.|der_1R.y|combiTable2D_2R.y.1.|der_2R.y|sine_R.y|const_R.y|combiTable2D_1L.y.1.|der_1L.y|combiTable2D_2L.y.1.|der_2L.y|sine_L.y|const_L.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test22") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test22,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|combiTable2D_1R.y.1.|der_1R.y|combiTable2D_2R.y.1.|der_2R.y|sine_R.y|const_R.y|combiTable2D_1L.y.1.|der_1L.y|combiTable2D_2L.y.1.|der_2L.y|sine_L.y|const_L.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test22") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002013/0.002013, allocations: 67.89 kB / 0.4973 GB, free: 7.199 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4125/0.4145, allocations: 66.04 MB / 0.5618 GB, free: 4.152 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test22): time 0.006945/0.4215, allocations: 1.96 MB / 0.5637 GB, free: 2.18 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.004608/0.4261, allocations: 1.311 MB / 0.565 GB, free: 0.8633 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000253/0.4263, allocations: 7.938 kB / 0.565 GB, free: 0.8555 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004152/0.4267, allocations: 51.52 kB / 0.5651 GB, free: 0.8047 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009898/0.4277, allocations: 219.1 kB / 0.5653 GB, free: 0.5898 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002744/0.4305, allocations: 0.603 MB / 0.5659 GB, free: 0 / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008886/0.4314, allocations: 331 kB / 0.5662 GB, free: 15.68 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002783/0.4316, allocations: 48.7 kB / 0.5662 GB, free: 15.63 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004725/0.4321, allocations: 147.4 kB / 0.5664 GB, free: 15.48 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000486/0.4326, allocations: 207.2 kB / 0.5666 GB, free: 15.28 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 7.449e-05/0.4327, allocations: 16 kB / 0.5666 GB, free: 15.27 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002573/0.4329, allocations: 63.98 kB / 0.5667 GB, free: 15.2 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002864/0.4332, allocations: 151.5 kB / 0.5668 GB, free: 15.05 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002457/0.4335, allocations: 122.9 kB / 0.5669 GB, free: 14.93 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008655/0.4343, allocations: 408.5 kB / 0.5673 GB, free: 14.54 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.228e-06/0.4343, allocations: 0 / 0.5673 GB, free: 14.54 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.883e-06/0.4343, allocations: 0 / 0.5673 GB, free: 14.54 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.505e-05/0.4344, allocations: 0 / 0.5673 GB, free: 14.54 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: 24 * Number of variables: 24 Notification: Performance of Generate backend data structure: time 0.001755/0.4361, allocations: 0.7174 MB / 0.568 GB, free: 13.79 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.787e-05/0.4362, allocations: 12.03 kB / 0.568 GB, free: 13.78 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005173/0.4367, allocations: 76.55 kB / 0.5681 GB, free: 13.7 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001194/0.4379, allocations: 406.4 kB / 0.5685 GB, free: 13.28 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.44e-05/0.4379, allocations: 8.375 kB / 0.5685 GB, free: 13.27 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.193e-05/0.438, allocations: 12.12 kB / 0.5685 GB, free: 13.26 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005429/0.4385, allocations: 156.8 kB / 0.5687 GB, free: 13.1 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.33e-05/0.4385, allocations: 3.953 kB / 0.5687 GB, free: 13.09 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.043e-05/0.4386, allocations: 8 kB / 0.5687 GB, free: 13.09 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.534e-06/0.4386, allocations: 0 / 0.5687 GB, free: 13.09 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004649/0.439, allocations: 91.94 kB / 0.5687 GB, free: 13 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001692/0.4407, allocations: 0.5939 MB / 0.5693 GB, free: 12.37 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004889/0.4412, allocations: 109.2 kB / 0.5694 GB, free: 12.24 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001984/0.4414, allocations: 45.81 kB / 0.5695 GB, free: 12.19 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.04e-05/0.4414, allocations: 4 kB / 0.5695 GB, free: 12.19 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.272e-05/0.4415, allocations: 38.5 kB / 0.5695 GB, free: 12.14 MB / 414.1 MB Notification: Performance of pre-optimization done (n=10): time 2.365e-06/0.4415, allocations: 3.938 kB / 0.5695 GB, free: 12.14 MB / 414.1 MB Notification: Performance of matching and sorting (n=16): time 0.002832/0.4443, allocations: 0.558 MB / 0.5701 GB, free: 11.57 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.935e-05/0.4444, allocations: 85.09 kB / 0.5701 GB, free: 11.47 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00228/0.4467, allocations: 0.8663 MB / 0.571 GB, free: 10.59 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 4.397e-05/0.4468, allocations: 33.7 kB / 0.571 GB, free: 10.55 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003912/0.4471, allocations: 260.3 kB / 0.5713 GB, free: 10.29 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001043/0.4472, allocations: 51.75 kB / 0.5713 GB, free: 10.24 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001491/0.4474, allocations: 33.7 kB / 0.5714 GB, free: 10.2 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0003078/0.4477, allocations: 374.7 kB / 0.5717 GB, free: 9.824 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003363/0.448, allocations: 59.95 kB / 0.5718 GB, free: 9.766 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003967/0.4484, allocations: 88.33 kB / 0.5719 GB, free: 9.676 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007495/0.4492, allocations: 165.6 kB / 0.572 GB, free: 9.508 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.793e-06/0.4492, allocations: 3.938 kB / 0.572 GB, free: 9.504 MB / 414.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.001176/0.4504, allocations: 245.2 kB / 0.5723 GB, free: 9.258 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.568e-05/0.4504, allocations: 4 kB / 0.5723 GB, free: 9.254 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.145e-06/0.4504, allocations: 0 / 0.5723 GB, free: 9.254 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.61e-05/0.4504, allocations: 4 kB / 0.5723 GB, free: 9.25 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004073/0.4508, allocations: 39.91 kB / 0.5723 GB, free: 9.211 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.037e-06/0.4508, allocations: 4 kB / 0.5723 GB, free: 9.207 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002698/0.4511, allocations: 20.67 kB / 0.5723 GB, free: 9.188 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.525e-05/0.4512, allocations: 7.984 kB / 0.5723 GB, free: 9.18 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.0005296/0.4517, allocations: 209.7 kB / 0.5725 GB, free: 8.965 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002159/0.4519, allocations: 63.58 kB / 0.5726 GB, free: 8.902 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001027/0.4529, allocations: 294.4 kB / 0.5729 GB, free: 8.605 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.531e-06/0.4529, allocations: 0 / 0.5729 GB, free: 8.605 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.191e-06/0.4529, allocations: 0 / 0.5729 GB, free: 8.605 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.84e-06/0.4529, allocations: 0 / 0.5729 GB, free: 8.605 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002299/0.4552, allocations: 0.7158 MB / 0.5736 GB, free: 7.852 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.058e-06/0.4552, allocations: 0 / 0.5736 GB, free: 7.852 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003319/0.4556, allocations: 35.97 kB / 0.5736 GB, free: 7.816 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.769e-06/0.4556, allocations: 8 kB / 0.5736 GB, free: 7.809 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.786e-05/0.4556, allocations: 4 kB / 0.5736 GB, free: 7.805 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.197e-06/0.4556, allocations: 4 kB / 0.5736 GB, free: 7.801 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.745e-06/0.4556, allocations: 0 / 0.5736 GB, free: 7.801 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001181/0.4568, allocations: 426.2 kB / 0.574 GB, free: 7.367 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002292/0.457, allocations: 55.67 kB / 0.5741 GB, free: 7.312 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.542e-05/0.4571, allocations: 11.92 kB / 0.5741 GB, free: 7.301 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003869/0.4575, allocations: 12 kB / 0.5741 GB, free: 7.289 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.141e-05/0.4576, allocations: 19.91 kB / 0.5741 GB, free: 7.27 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.635e-05/0.4576, allocations: 4 kB / 0.5741 GB, free: 7.266 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.001434/0.4591, allocations: 0.6432 MB / 0.5748 GB, free: 6.625 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.8e-07/0.4591, allocations: 0 / 0.5748 GB, free: 6.625 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0006937/0.4598, allocations: 55.94 kB / 0.5748 GB, free: 6.57 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.002524/0.4623, allocations: 435.1 kB / 0.5752 GB, free: 6.32 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.000819/0.4631, allocations: 151.9 kB / 0.5754 GB, free: 6.172 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 7.063e-06/0.4631, allocations: 7.938 kB / 0.5754 GB, free: 6.164 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004156/0.4635, allocations: 88.34 kB / 0.5755 GB, free: 6.078 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001092/0.4646, allocations: 78.41 kB / 0.5755 GB, free: 6.008 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002882/0.4675, allocations: 0.9557 MB / 0.5765 GB, free: 5.012 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004868/0.468, allocations: 269.1 kB / 0.5767 GB, free: 4.73 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002179/0.4682, allocations: 43.41 kB / 0.5768 GB, free: 4.691 MB / 414.1 MB Notification: Performance of SimCode: time 1.292e-06/0.4682, allocations: 0 / 0.5768 GB, free: 4.691 MB / 414.1 MB Notification: Performance of Templates: time 0.01855/0.4868, allocations: 5.944 MB / 0.5826 GB, free: 14.75 MB / 430.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test22.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test22.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test22.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test22.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test22.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test22 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test22.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test22_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Dv/Test22/Test22.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.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: 8.33489630697295]