Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.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.001783/0.001783, allocations: 112.2 kB / 21.19 MB, free: 0.7578 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.002212/0.002212, allocations: 209.8 kB / 24.49 MB, free: 4.133 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.652/1.652, allocations: 230.6 MB / 258.3 MB, free: 8.215 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.2321/0.2321, allocations: 44.91 MB / 359.6 MB, free: 6.328 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: 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.0.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.0.0_ModelicaTest.Tables.CombiTable2Dv.Test22") [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.003458/0.003458, allocations: 71.89 kB / 0.4943 GB, free: 10.22 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3742/0.3777, allocations: 65.46 MB / 0.5583 GB, free: 7.699 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test22): time 0.004912/0.3826, allocations: 2.069 MB / 0.5603 GB, free: 5.645 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.003208/0.3858, allocations: 1.381 MB / 0.5616 GB, free: 4.258 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000299/0.3861, allocations: 4 kB / 0.5616 GB, free: 4.254 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003986/0.3865, allocations: 55.5 kB / 0.5617 GB, free: 4.199 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007706/0.3873, allocations: 207.1 kB / 0.5619 GB, free: 3.996 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001936/0.3892, allocations: 0.6064 MB / 0.5625 GB, free: 3.402 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007285/0.3899, allocations: 331 kB / 0.5628 GB, free: 3.078 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002242/0.3902, allocations: 52.69 kB / 0.5628 GB, free: 3.027 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003303/0.3905, allocations: 143.4 kB / 0.563 GB, free: 2.887 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003112/0.3908, allocations: 199.2 kB / 0.5632 GB, free: 2.691 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 3.891e-05/0.3908, allocations: 12 kB / 0.5632 GB, free: 2.68 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000195/0.391, allocations: 67.98 kB / 0.5632 GB, free: 2.613 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002057/0.3912, allocations: 155.4 kB / 0.5634 GB, free: 2.461 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001794/0.3914, allocations: 166.6 kB / 0.5635 GB, free: 2.297 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000654/0.3921, allocations: 404.5 kB / 0.5639 GB, free: 1.906 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.474e-06/0.3921, allocations: 0 / 0.5639 GB, free: 1.906 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.094e-06/0.3921, allocations: 0 / 0.5639 GB, free: 1.906 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.255e-05/0.3921, allocations: 0 / 0.5639 GB, free: 1.906 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.001484/0.3936, allocations: 0.7212 MB / 0.5646 GB, free: 1.152 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.884e-05/0.3936, allocations: 8.031 kB / 0.5646 GB, free: 1.145 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00038/0.394, allocations: 80.53 kB / 0.5647 GB, free: 1.066 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000904/0.3949, allocations: 406.5 kB / 0.5651 GB, free: 0.6445 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.772e-05/0.395, allocations: 12.31 kB / 0.5651 GB, free: 0.6328 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.613e-05/0.395, allocations: 20.06 kB / 0.5651 GB, free: 0.6133 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003529/0.3954, allocations: 137 kB / 0.5653 GB, free: 480 kB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.034e-05/0.3954, allocations: 3.953 kB / 0.5653 GB, free: 476 kB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.13e-05/0.3954, allocations: 12 kB / 0.5653 GB, free: 464 kB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.674e-06/0.3954, allocations: 0 / 0.5653 GB, free: 464 kB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000252/0.3957, allocations: 91.92 kB / 0.5654 GB, free: 372 kB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00128/0.3969, allocations: 0.6519 MB / 0.566 GB, free: 15.66 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002355/0.3972, allocations: 113.2 kB / 0.5661 GB, free: 15.54 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001663/0.3973, allocations: 53.75 kB / 0.5662 GB, free: 15.48 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.932e-05/0.3974, allocations: 3.984 kB / 0.5662 GB, free: 15.47 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.629e-05/0.3974, allocations: 38.5 kB / 0.5662 GB, free: 15.43 MB / 414.1 MB Notification: Performance of pre-optimization done (n=10): time 1.543e-06/0.3974, allocations: 4 kB / 0.5662 GB, free: 15.42 MB / 414.1 MB Notification: Performance of matching and sorting (n=16): time 0.001573/0.399, allocations: 0.5541 MB / 0.5668 GB, free: 14.86 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.294e-05/0.399, allocations: 77.11 kB / 0.5668 GB, free: 14.77 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001108/0.4001, allocations: 0.9062 MB / 0.5677 GB, free: 13.85 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.86e-05/0.4002, allocations: 37.7 kB / 0.5677 GB, free: 13.8 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002307/0.4004, allocations: 256.3 kB / 0.568 GB, free: 13.55 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.197e-05/0.4005, allocations: 51.53 kB / 0.568 GB, free: 13.5 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.961e-05/0.4005, allocations: 33.7 kB / 0.5681 GB, free: 13.46 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002258/0.4008, allocations: 374.7 kB / 0.5684 GB, free: 13.08 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001779/0.4009, allocations: 63.95 kB / 0.5685 GB, free: 13.02 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001867/0.4011, allocations: 89.66 kB / 0.5686 GB, free: 12.93 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003467/0.4015, allocations: 149.6 kB / 0.5687 GB, free: 12.77 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.21e-07/0.4015, allocations: 0 / 0.5687 GB, free: 12.77 MB / 414.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0005724/0.402, allocations: 261.1 kB / 0.569 GB, free: 12.51 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.667e-05/0.4021, allocations: 4 kB / 0.569 GB, free: 12.51 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.949e-06/0.4021, allocations: 320 / 0.569 GB, free: 12.51 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.75e-05/0.4021, allocations: 4 kB / 0.569 GB, free: 12.5 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002088/0.4023, allocations: 35.97 kB / 0.569 GB, free: 12.47 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.652e-06/0.4023, allocations: 0 / 0.569 GB, free: 12.47 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001236/0.4024, allocations: 19.98 kB / 0.569 GB, free: 12.45 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.758e-05/0.4024, allocations: 7.984 kB / 0.569 GB, free: 12.44 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.0002389/0.4027, allocations: 221.7 kB / 0.5692 GB, free: 12.21 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001146/0.4028, allocations: 59.61 kB / 0.5693 GB, free: 12.16 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006273/0.4034, allocations: 291.1 kB / 0.5696 GB, free: 11.86 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.272e-06/0.4034, allocations: 4 kB / 0.5696 GB, free: 11.86 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.898e-06/0.4034, allocations: 0 / 0.5696 GB, free: 11.86 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.238e-06/0.4034, allocations: 4 kB / 0.5696 GB, free: 11.85 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001276/0.4047, allocations: 0.7739 MB / 0.5703 GB, free: 11.03 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.304e-06/0.4047, allocations: 3.938 kB / 0.5703 GB, free: 11.02 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001658/0.4049, allocations: 35.97 kB / 0.5704 GB, free: 10.99 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.125e-06/0.4049, allocations: 3.938 kB / 0.5704 GB, free: 10.98 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.742e-05/0.4049, allocations: 15.92 kB / 0.5704 GB, free: 10.97 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.058e-06/0.4049, allocations: 3.938 kB / 0.5704 GB, free: 10.96 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.402e-06/0.4049, allocations: 0 / 0.5704 GB, free: 10.96 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006389/0.4055, allocations: 418.6 kB / 0.5708 GB, free: 10.54 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001345/0.4057, allocations: 63.61 kB / 0.5709 GB, free: 10.48 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.839e-05/0.4057, allocations: 8 kB / 0.5709 GB, free: 10.47 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001844/0.4059, allocations: 15.92 kB / 0.5709 GB, free: 10.45 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.148e-05/0.406, allocations: 11.98 kB / 0.5709 GB, free: 10.44 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.42e-05/0.406, allocations: 7.984 kB / 0.5709 GB, free: 10.43 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0007818/0.4068, allocations: 0.663 MB / 0.5716 GB, free: 9.773 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.4068, allocations: 0 / 0.5716 GB, free: 9.773 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0004145/0.4072, allocations: 52 kB / 0.5716 GB, free: 9.723 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.00155/0.4087, allocations: 414.5 kB / 0.572 GB, free: 9.469 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0004431/0.4092, allocations: 151.8 kB / 0.5721 GB, free: 9.32 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.4092, allocations: 4 kB / 0.5721 GB, free: 9.316 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000204/0.4094, allocations: 87.86 kB / 0.5722 GB, free: 9.23 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005783/0.41, allocations: 89.8 kB / 0.5723 GB, free: 9.148 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001527/0.4115, allocations: 0.9674 MB / 0.5733 GB, free: 8.141 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000579/0.4121, allocations: 0.8653 MB / 0.5741 GB, free: 7.25 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00012/0.4122, allocations: 43.42 kB / 0.5741 GB, free: 7.211 MB / 414.1 MB Notification: Performance of SimCode: time 3.41e-07/0.4122, allocations: 0 / 0.5741 GB, free: 7.211 MB / 414.1 MB Notification: Performance of Templates: time 0.009894/0.4221, allocations: 5.856 MB / 0.5799 GB, free: 1.359 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test22.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test22.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test22.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test22.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test22.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test22 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test22.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test22_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test22/Test22.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.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.339257766958326]