Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test23.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.001316/0.001316, 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.00139/0.00139, allocations: 209.8 kB / 24.5 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.558/1.558, allocations: 230.6 MB / 258.3 MB, free: 8.02 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.2318/0.2318, allocations: 44.91 MB / 359.6 MB, free: 6.285 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.Test23,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5003,variableFilter="time|combiTable2D_1R.y.1.|der_1R.y|combiTable2D_2R.y.1.|der_2R.y|cosine_R.y|sine_R.y|combiTable2D_1L.y.1.|der_1L.y|combiTable2D_2L.y.1.|der_2L.y|cosine_L.y|sine_L.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test23") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test23,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5003,variableFilter="time|combiTable2D_1R.y.1.|der_1R.y|combiTable2D_2R.y.1.|der_2R.y|cosine_R.y|sine_R.y|combiTable2D_1L.y.1.|der_1L.y|combiTable2D_2L.y.1.|der_2L.y|cosine_L.y|sine_L.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test23") [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.002033/0.002033, allocations: 63.91 kB / 0.4943 GB, free: 10.2 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3644/0.3664, allocations: 65.46 MB / 0.5583 GB, free: 7.711 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test23): time 0.003998/0.3704, allocations: 2.126 MB / 0.5603 GB, free: 5.594 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002616/0.3731, allocations: 1.427 MB / 0.5617 GB, free: 4.16 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001692/0.3732, allocations: 3.938 kB / 0.5617 GB, free: 4.156 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003088/0.3735, allocations: 67.44 kB / 0.5618 GB, free: 4.09 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000554/0.3741, allocations: 219 kB / 0.562 GB, free: 3.875 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001507/0.3756, allocations: 0.6262 MB / 0.5626 GB, free: 3.262 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005265/0.3761, allocations: 358.9 kB / 0.563 GB, free: 2.91 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001936/0.3763, allocations: 52.69 kB / 0.563 GB, free: 2.859 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002959/0.3766, allocations: 155.4 kB / 0.5632 GB, free: 2.707 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003292/0.3769, allocations: 215.2 kB / 0.5634 GB, free: 2.496 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 4.196e-05/0.377, allocations: 16 kB / 0.5634 GB, free: 2.48 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001772/0.3772, allocations: 67.95 kB / 0.5634 GB, free: 2.414 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001849/0.3773, allocations: 155.4 kB / 0.5636 GB, free: 2.262 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000182/0.3775, allocations: 182.5 kB / 0.5638 GB, free: 2.082 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005423/0.3781, allocations: 420.5 kB / 0.5642 GB, free: 1.676 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.839e-06/0.3781, allocations: 0 / 0.5642 GB, free: 1.676 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.363e-06/0.3781, allocations: 0 / 0.5642 GB, free: 1.676 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.405e-05/0.3781, allocations: 0 / 0.5642 GB, free: 1.676 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.001167/0.3793, allocations: 0.7562 MB / 0.5649 GB, free: 0.8867 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.949e-05/0.3793, allocations: 12.03 kB / 0.5649 GB, free: 0.875 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004364/0.3797, allocations: 100.5 kB / 0.565 GB, free: 0.7773 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007287/0.3805, allocations: 419.2 kB / 0.5654 GB, free: 348 kB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.112e-05/0.3805, allocations: 12.34 kB / 0.5654 GB, free: 336 kB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.422e-05/0.3805, allocations: 20.08 kB / 0.5654 GB, free: 316 kB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003725/0.3809, allocations: 159.2 kB / 0.5656 GB, free: 144 kB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.48e-05/0.3809, allocations: 0 / 0.5656 GB, free: 144 kB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.044e-05/0.3809, allocations: 4 kB / 0.5656 GB, free: 140 kB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.614e-06/0.3809, allocations: 4 kB / 0.5656 GB, free: 136 kB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003138/0.3813, allocations: 123.8 kB / 0.5657 GB, free: 12 kB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001115/0.3824, allocations: 0.6792 MB / 0.5664 GB, free: 15.29 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003066/0.3827, allocations: 125.2 kB / 0.5665 GB, free: 15.14 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001614/0.3828, allocations: 65.81 kB / 0.5666 GB, free: 15.07 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.505e-05/0.3829, allocations: 7.969 kB / 0.5666 GB, free: 15.07 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.826e-05/0.3829, allocations: 42.5 kB / 0.5666 GB, free: 15.02 MB / 414.1 MB Notification: Performance of pre-optimization done (n=12): time 1.233e-06/0.3829, allocations: 3.938 kB / 0.5666 GB, free: 15.01 MB / 414.1 MB Notification: Performance of matching and sorting (n=20): time 0.002094/0.385, allocations: 0.7491 MB / 0.5673 GB, free: 14.25 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.333e-05/0.3851, allocations: 81.11 kB / 0.5674 GB, free: 14.16 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001036/0.3861, allocations: 0.9064 MB / 0.5683 GB, free: 13.24 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.182e-05/0.3861, allocations: 33.7 kB / 0.5683 GB, free: 13.2 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002358/0.3864, allocations: 268.3 kB / 0.5686 GB, free: 12.93 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.177e-05/0.3864, allocations: 67.42 kB / 0.5687 GB, free: 12.86 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.766e-05/0.3865, allocations: 49.62 kB / 0.5687 GB, free: 12.81 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001952/0.3867, allocations: 370.7 kB / 0.5691 GB, free: 12.44 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002971/0.387, allocations: 119.9 kB / 0.5692 GB, free: 12.32 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002914/0.3873, allocations: 127.9 kB / 0.5693 GB, free: 12.19 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005752/0.3879, allocations: 253.5 kB / 0.5695 GB, free: 11.94 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.283e-06/0.3879, allocations: 0 / 0.5695 GB, free: 11.94 MB / 414.1 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0007533/0.3886, allocations: 341.2 kB / 0.5699 GB, free: 11.6 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.152e-05/0.3887, allocations: 14.33 kB / 0.5699 GB, free: 11.59 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.124e-06/0.3887, allocations: 0.75 kB / 0.5699 GB, free: 11.59 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.819e-05/0.3887, allocations: 4 kB / 0.5699 GB, free: 11.58 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002914/0.389, allocations: 52.11 kB / 0.5699 GB, free: 11.53 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.164e-05/0.389, allocations: 4 kB / 0.5699 GB, free: 11.53 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001802/0.3892, allocations: 27.91 kB / 0.57 GB, free: 11.5 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.789e-05/0.3892, allocations: 4 kB / 0.57 GB, free: 11.5 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 (20): * Single equations (assignments): 20 * 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.0002579/0.3895, allocations: 229.6 kB / 0.5702 GB, free: 11.26 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000118/0.3896, allocations: 67.56 kB / 0.5703 GB, free: 11.2 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008733/0.3904, allocations: 390.3 kB / 0.5706 GB, free: 10.8 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.923e-06/0.3904, allocations: 4 kB / 0.5706 GB, free: 10.8 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.489e-06/0.3905, allocations: 4 kB / 0.5706 GB, free: 10.8 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.817e-06/0.3905, allocations: 0 / 0.5706 GB, free: 10.8 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001546/0.392, allocations: 0.9263 MB / 0.5715 GB, free: 9.82 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.056e-06/0.392, allocations: 0 / 0.5715 GB, free: 9.82 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002399/0.3922, allocations: 55.95 kB / 0.5716 GB, free: 9.766 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.719e-06/0.3923, allocations: 4 kB / 0.5716 GB, free: 9.762 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.362e-05/0.3923, allocations: 7.969 kB / 0.5716 GB, free: 9.754 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.062e-06/0.3923, allocations: 7.938 kB / 0.5716 GB, free: 9.746 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.793e-06/0.3923, allocations: 0 / 0.5716 GB, free: 9.746 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008282/0.3931, allocations: 0.5099 MB / 0.5721 GB, free: 9.219 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001127/0.3932, allocations: 67.61 kB / 0.5722 GB, free: 9.152 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.365e-05/0.3933, allocations: 4 kB / 0.5722 GB, free: 9.148 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002401/0.3935, allocations: 27.91 kB / 0.5722 GB, free: 9.121 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.421e-05/0.3936, allocations: 19.97 kB / 0.5722 GB, free: 9.102 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.925e-05/0.3936, allocations: 11.98 kB / 0.5722 GB, free: 9.09 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0007952/0.3944, allocations: 0.6591 MB / 0.5729 GB, free: 8.438 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3944, allocations: 0 / 0.5729 GB, free: 8.438 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003865/0.3948, allocations: 67.94 kB / 0.5729 GB, free: 8.371 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 (20): * Single equations (assignments): 20 * 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.001571/0.3964, allocations: 413.6 kB / 0.5733 GB, free: 8.117 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0006952/0.3971, allocations: 253.1 kB / 0.5736 GB, free: 7.871 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.545e-06/0.3971, allocations: 0 / 0.5736 GB, free: 7.871 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003136/0.3974, allocations: 135.8 kB / 0.5737 GB, free: 7.738 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006087/0.398, allocations: 90 kB / 0.5738 GB, free: 7.652 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001657/0.3996, allocations: 1.034 MB / 0.5748 GB, free: 6.582 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005438/0.4002, allocations: 0.8811 MB / 0.5757 GB, free: 5.676 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001466/0.4003, allocations: 43.42 kB / 0.5757 GB, free: 5.633 MB / 414.1 MB Notification: Performance of SimCode: time 4.91e-07/0.4003, allocations: 0 / 0.5757 GB, free: 5.633 MB / 414.1 MB Notification: Performance of Templates: time 0.01104/0.4114, allocations: 6.396 MB / 0.5819 GB, free: 15.25 MB / 430.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test23.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test23.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test23.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test23.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test23.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test23 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test23.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test23_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test23/Test23.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test23.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.184266502037644]