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.001298/0.001298, allocations: 84.3 kB / 20.68 MB, free: 1.035 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.001391/0.001391, allocations: 168.8 kB / 23.95 MB, free: 4.172 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.465/1.465, allocations: 177.2 MB / 204.3 MB, free: 9.18 MB / 190.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.2032/0.2032, allocations: 32.81 MB / 293.5 MB, free: 36 kB / 270.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: Performance of FrontEnd - loaded program: time 1.924e-06/1.924e-06, allocations: 0 / 440.1 MB, free: 8.16 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.073e-05/3.265e-05, allocations: 2.281 kB / 440.1 MB, free: 8.156 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test23): time 0.004095/0.004128, allocations: 2.025 MB / 442.1 MB, free: 6.125 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.003255/0.007383, allocations: 1.375 MB / 443.5 MB, free: 4.742 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002715/0.007655, allocations: 4 kB / 443.5 MB, free: 4.738 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003603/0.008015, allocations: 55.5 kB / 443.6 MB, free: 4.684 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007492/0.008764, allocations: 226.8 kB / 443.8 MB, free: 4.461 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00168/0.01044, allocations: 0.6316 MB / 444.4 MB, free: 3.844 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007099/0.01115, allocations: 354.8 kB / 444.8 MB, free: 3.496 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002277/0.01138, allocations: 60.81 kB / 444.8 MB, free: 3.434 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000484/0.01187, allocations: 187.4 kB / 445 MB, free: 3.25 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003566/0.01222, allocations: 187.5 kB / 445.2 MB, free: 3.066 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 6.326e-05/0.01229, allocations: 16 kB / 445.2 MB, free: 3.051 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002042/0.01249, allocations: 71.89 kB / 445.3 MB, free: 2.98 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002052/0.0127, allocations: 147.5 kB / 445.4 MB, free: 2.836 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001609/0.01286, allocations: 95.56 kB / 445.5 MB, free: 2.742 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006133/0.01347, allocations: 402.5 kB / 445.9 MB, free: 2.348 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.524e-06/0.01348, allocations: 4 kB / 445.9 MB, free: 2.344 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.442e-06/0.01348, allocations: 0 / 445.9 MB, free: 2.344 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.527e-05/0.01349, allocations: 0 / 445.9 MB, free: 2.344 MB / 366.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.001434/0.01493, allocations: 0.7523 MB / 446.7 MB, free: 1.559 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.912e-05/0.01498, allocations: 8.031 kB / 446.7 MB, free: 1.551 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005096/0.01549, allocations: 96.47 kB / 446.8 MB, free: 1.457 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007703/0.01626, allocations: 418.5 kB / 447.2 MB, free: 1.023 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.111e-05/0.01628, allocations: 8.375 kB / 447.2 MB, free: 1.016 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.664e-05/0.01632, allocations: 12.38 kB / 447.2 MB, free: 1.004 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004278/0.01675, allocations: 170.7 kB / 447.4 MB, free: 0.8281 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2e-05/0.01677, allocations: 7.891 kB / 447.4 MB, free: 0.8203 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.764e-05/0.01679, allocations: 4 kB / 447.4 MB, free: 0.8164 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.322e-06/0.0168, allocations: 3.938 kB / 447.4 MB, free: 0.8125 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003671/0.01716, allocations: 119.9 kB / 447.5 MB, free: 0.6953 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001179/0.01834, allocations: 0.6134 MB / 448.1 MB, free: 48 kB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.2019/0.2203, allocations: 131.8 kB / 448.2 MB, free: 21.63 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001711/0.2205, allocations: 62.16 kB / 448.3 MB, free: 21.61 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.62e-05/0.2205, allocations: 6.359 kB / 448.3 MB, free: 21.61 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.117e-05/0.2205, allocations: 36.72 kB / 448.3 MB, free: 21.57 MB / 366.1 MB Notification: Performance of pre-optimization done (n=12): time 1.653e-06/0.2205, allocations: 2.719 kB / 448.3 MB, free: 21.57 MB / 366.1 MB Notification: Performance of matching and sorting (n=20): time 0.002222/0.2227, allocations: 0.759 MB / 449.1 MB, free: 21.43 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.822e-05/0.2228, allocations: 83.3 kB / 449.2 MB, free: 21.34 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001182/0.224, allocations: 0.9063 MB / 450.1 MB, free: 21.06 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.283e-05/0.224, allocations: 31.08 kB / 450.1 MB, free: 21.03 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001795/0.2242, allocations: 271.5 kB / 450.4 MB, free: 20.82 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.275e-05/0.2242, allocations: 66.73 kB / 450.4 MB, free: 20.77 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.478e-05/0.2243, allocations: 37.88 kB / 450.5 MB, free: 20.75 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001353/0.2244, allocations: 377.4 kB / 450.8 MB, free: 20.41 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000296/0.2247, allocations: 105 kB / 450.9 MB, free: 20.39 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003038/0.225, allocations: 135.6 kB / 451.1 MB, free: 20.34 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006066/0.2257, allocations: 251.7 kB / 451.3 MB, free: 20.26 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.873e-06/0.2257, allocations: 3.984 kB / 451.3 MB, free: 20.26 MB / 366.1 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0007844/0.2264, allocations: 347.9 kB / 451.7 MB, free: 20.12 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.039e-05/0.2265, allocations: 6.375 kB / 451.7 MB, free: 20.12 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.152e-06/0.2265, allocations: 3.562 kB / 451.7 MB, free: 20.12 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.943e-05/0.2265, allocations: 2.203 kB / 451.7 MB, free: 20.12 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002983/0.2268, allocations: 51.62 kB / 451.7 MB, free: 20.12 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.977e-06/0.2268, allocations: 4.641 kB / 451.7 MB, free: 20.12 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001906/0.227, allocations: 22.23 kB / 451.8 MB, free: 20.12 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.413e-05/0.227, allocations: 7.469 kB / 451.8 MB, free: 20.12 MB / 366.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.0002317/0.2272, allocations: 223.6 kB / 452 MB, free: 19.98 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001126/0.2273, allocations: 62.77 kB / 452 MB, free: 19.94 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000923/0.2283, allocations: 401.6 kB / 452.4 MB, free: 19.79 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.38e-06/0.2283, allocations: 2.281 kB / 452.4 MB, free: 19.79 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.723e-06/0.2283, allocations: 11.56 kB / 452.5 MB, free: 19.79 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.382e-06/0.2283, allocations: 0.7031 kB / 452.5 MB, free: 19.79 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001377/0.2297, allocations: 0.8398 MB / 453.3 MB, free: 19.32 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.894e-06/0.2297, allocations: 0.5 kB / 453.3 MB, free: 19.32 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002496/0.2299, allocations: 56.23 kB / 453.3 MB, free: 19.32 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.879e-06/0.2299, allocations: 6.25 kB / 453.4 MB, free: 19.32 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.156e-05/0.2299, allocations: 5.391 kB / 453.4 MB, free: 19.32 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.196e-06/0.2299, allocations: 5.062 kB / 453.4 MB, free: 19.31 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.365e-06/0.23, allocations: 5.922 kB / 453.4 MB, free: 19.31 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007632/0.2307, allocations: 0.5016 MB / 453.9 MB, free: 19 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.457e-05/0.2308, allocations: 68.98 kB / 453.9 MB, free: 18.97 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.747e-05/0.2309, allocations: 7.859 kB / 453.9 MB, free: 18.96 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002427/0.2311, allocations: 20.94 kB / 454 MB, free: 18.96 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.636e-05/0.2312, allocations: 21.3 kB / 454 MB, free: 18.96 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.058e-05/0.2312, allocations: 7.594 kB / 454 MB, free: 18.96 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0008446/0.2321, allocations: 0.6632 MB / 454.7 MB, free: 18.73 MB / 366.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2321, allocations: 3.281 kB / 454.7 MB, free: 18.73 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0004111/0.2325, allocations: 70.25 kB / 454.7 MB, free: 18.72 MB / 366.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.001676/0.2341, allocations: 431.9 kB / 455.2 MB, free: 18.57 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0007304/0.2349, allocations: 253.3 kB / 455.4 MB, free: 18.51 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.875e-06/0.2349, allocations: 1.125 kB / 455.4 MB, free: 18.51 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003377/0.2352, allocations: 136.2 kB / 455.5 MB, free: 18.47 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006229/0.2358, allocations: 85.41 kB / 455.6 MB, free: 18.43 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001434/0.2373, allocations: 1.019 MB / 456.6 MB, free: 17.95 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003068/0.2376, allocations: 287.4 kB / 456.9 MB, free: 17.84 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0002264/0.2378, allocations: 102.8 kB / 457 MB, free: 17.82 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001218/0.2379, allocations: 44.02 kB / 457.1 MB, free: 17.81 MB / 366.1 MB Notification: Performance of SimCode: time 3.21e-07/0.2379, allocations: 3.938 kB / 457.1 MB, free: 17.81 MB / 366.1 MB Notification: Performance of Templates: time 0.01108/0.249, allocations: 4.617 MB / 461.7 MB, free: 17.25 MB / 366.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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test23/Test23.csv","/var/lib/jenkins/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: 4.919169194996357]