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.001419/0.001419, allocations: 84.55 kB / 20.68 MB, free: 1.023 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.002477/0.002477, allocations: 165.7 kB / 23.95 MB, free: 4.156 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.585/1.585, allocations: 177.1 MB / 204.3 MB, free: 9.176 MB / 190.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.2181/0.2181, allocations: 34.28 MB / 295 MB, free: 14.57 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: 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 1.573e-06/1.573e-06, allocations: 0 / 442.7 MB, free: 5.383 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.054e-05/3.211e-05, allocations: 2.281 kB / 442.7 MB, free: 5.379 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test22): time 0.003735/0.003767, allocations: 1.975 MB / 444.7 MB, free: 3.398 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.002504/0.006271, allocations: 1.316 MB / 446 MB, free: 2.074 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001368/0.006408, allocations: 7.938 kB / 446 MB, free: 2.066 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002668/0.006675, allocations: 47.58 kB / 446 MB, free: 2.02 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000569/0.007244, allocations: 230.9 kB / 446.3 MB, free: 1.793 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001408/0.008652, allocations: 0.6038 MB / 446.9 MB, free: 1.203 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005113/0.009163, allocations: 331 kB / 447.2 MB, free: 0.8789 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001887/0.009352, allocations: 44.84 kB / 447.2 MB, free: 0.832 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003385/0.00969, allocations: 171.5 kB / 447.4 MB, free: 0.6641 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002611/0.009951, allocations: 183.5 kB / 447.6 MB, free: 496 kB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 4.596e-05/0.009997, allocations: 16 kB / 447.6 MB, free: 480 kB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001662/0.01016, allocations: 67.91 kB / 447.7 MB, free: 412 kB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001732/0.01034, allocations: 147.5 kB / 447.8 MB, free: 264 kB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001155/0.01045, allocations: 83.59 kB / 447.9 MB, free: 180 kB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.2208/0.2312, allocations: 372.6 kB / 448.2 MB, free: 15.89 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.102e-05/0.2312, allocations: 5.156 kB / 448.3 MB, free: 15.89 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.794e-06/0.2312, allocations: 0 / 448.3 MB, free: 15.89 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.268e-05/0.2312, allocations: 0 / 448.3 MB, free: 15.89 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.0009886/0.2322, allocations: 0.7129 MB / 449 MB, free: 15.4 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.96e-05/0.2323, allocations: 12.88 kB / 449 MB, free: 15.4 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002846/0.2326, allocations: 78.27 kB / 449.1 MB, free: 15.36 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005559/0.2331, allocations: 403.3 kB / 449.4 MB, free: 15.15 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.174e-05/0.2331, allocations: 9.375 kB / 449.5 MB, free: 15.15 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.838e-05/0.2332, allocations: 10.69 kB / 449.5 MB, free: 15.15 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003264/0.2335, allocations: 151.7 kB / 449.6 MB, free: 15.1 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.528e-05/0.2335, allocations: 0 / 449.6 MB, free: 15.1 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.894e-05/0.2335, allocations: 11.25 kB / 449.6 MB, free: 15.09 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.154e-06/0.2335, allocations: 3.281 kB / 449.6 MB, free: 15.09 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000243/0.2338, allocations: 92.98 kB / 449.7 MB, free: 15.09 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008853/0.2347, allocations: 0.5982 MB / 450.3 MB, free: 14.8 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002087/0.2349, allocations: 110.5 kB / 450.4 MB, free: 14.75 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.7e-05/0.235, allocations: 43.92 kB / 450.5 MB, free: 14.73 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.492e-05/0.235, allocations: 6.531 kB / 450.5 MB, free: 14.73 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.136e-05/0.235, allocations: 40.22 kB / 450.5 MB, free: 14.7 MB / 366.1 MB Notification: Performance of pre-optimization done (n=10): time 1.422e-06/0.235, allocations: 0 / 450.5 MB, free: 14.7 MB / 366.1 MB Notification: Performance of matching and sorting (n=16): time 0.001439/0.2364, allocations: 0.5553 MB / 451.1 MB, free: 14.5 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.91e-05/0.2365, allocations: 87 kB / 451.2 MB, free: 14.41 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009923/0.2375, allocations: 0.8755 MB / 452 MB, free: 14.29 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.752e-05/0.2375, allocations: 28.52 kB / 452.1 MB, free: 14.25 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001558/0.2376, allocations: 253.4 kB / 452.3 MB, free: 14.16 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.558e-05/0.2377, allocations: 58.05 kB / 452.4 MB, free: 14.12 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.137e-05/0.2377, allocations: 33.92 kB / 452.4 MB, free: 14.11 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 9.282e-05/0.2378, allocations: 372 kB / 452.8 MB, free: 13.79 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001775/0.238, allocations: 63.38 kB / 452.8 MB, free: 13.79 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001762/0.2382, allocations: 86.47 kB / 452.9 MB, free: 13.78 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003447/0.2385, allocations: 153.9 kB / 453.1 MB, free: 13.76 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.042e-06/0.2385, allocations: 0 / 453.1 MB, free: 13.76 MB / 366.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0004796/0.239, allocations: 247.5 kB / 453.3 MB, free: 13.7 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.845e-05/0.239, allocations: 11.94 kB / 453.3 MB, free: 13.7 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.193e-06/0.239, allocations: 1.891 kB / 453.3 MB, free: 13.7 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.361e-05/0.2391, allocations: 1.875 kB / 453.3 MB, free: 13.7 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002093/0.2393, allocations: 43.27 kB / 453.4 MB, free: 13.7 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.362e-06/0.2393, allocations: 1.375 kB / 453.4 MB, free: 13.7 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001317/0.2394, allocations: 12.09 kB / 453.4 MB, free: 13.7 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.744e-05/0.2394, allocations: 7.234 kB / 453.4 MB, free: 13.7 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 (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.0001965/0.2396, allocations: 217.3 kB / 453.6 MB, free: 13.58 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.858e-05/0.2397, allocations: 56.97 kB / 453.6 MB, free: 13.55 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006415/0.2404, allocations: 292 kB / 453.9 MB, free: 13.5 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.358e-06/0.2404, allocations: 2.375 kB / 453.9 MB, free: 13.5 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.85e-06/0.2404, allocations: 1.312 kB / 453.9 MB, free: 13.5 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.48e-06/0.2404, allocations: 5.594 kB / 453.9 MB, free: 13.5 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001089/0.2415, allocations: 0.7161 MB / 454.7 MB, free: 13.13 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.675e-06/0.2415, allocations: 1.656 kB / 454.7 MB, free: 13.13 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001661/0.2416, allocations: 38.17 kB / 454.7 MB, free: 13.13 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.286e-06/0.2416, allocations: 1.5 kB / 454.7 MB, free: 13.13 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.694e-05/0.2417, allocations: 8.328 kB / 454.7 MB, free: 13.12 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.216e-06/0.2417, allocations: 5.562 kB / 454.7 MB, free: 13.12 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.765e-06/0.2417, allocations: 5.359 kB / 454.7 MB, free: 13.12 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005025/0.2422, allocations: 411.2 kB / 455.1 MB, free: 12.84 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001002/0.2423, allocations: 64.34 kB / 455.2 MB, free: 12.81 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.37e-05/0.2423, allocations: 5.828 kB / 455.2 MB, free: 12.8 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001875/0.2425, allocations: 9.562 kB / 455.2 MB, free: 12.8 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.91e-05/0.2426, allocations: 19.45 kB / 455.2 MB, free: 12.8 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.553e-05/0.2426, allocations: 7.172 kB / 455.2 MB, free: 12.8 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0007208/0.2433, allocations: 0.6519 MB / 455.9 MB, free: 12.58 MB / 366.1 MB Notification: Performance of sort global known variables: time 9e-08/0.2433, allocations: 0 / 455.9 MB, free: 12.58 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003864/0.2437, allocations: 55.72 kB / 455.9 MB, free: 12.57 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 (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.001623/0.2453, allocations: 430.4 kB / 456.3 MB, free: 12.42 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0004591/0.2458, allocations: 153.4 kB / 456.5 MB, free: 12.39 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.484e-06/0.2458, allocations: 5.031 kB / 456.5 MB, free: 12.39 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001989/0.246, allocations: 81.39 kB / 456.6 MB, free: 12.37 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006126/0.2466, allocations: 87.42 kB / 456.7 MB, free: 12.33 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001325/0.2479, allocations: 0.9478 MB / 457.6 MB, free: 11.88 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003181/0.2482, allocations: 274.7 kB / 457.9 MB, free: 11.77 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0002075/0.2485, allocations: 85.78 kB / 458 MB, free: 11.76 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001053/0.2486, allocations: 44.94 kB / 458 MB, free: 11.75 MB / 366.1 MB Notification: Performance of SimCode: time 6.32e-07/0.2486, allocations: 0 / 458 MB, free: 11.75 MB / 366.1 MB Notification: Performance of Templates: time 0.01081/0.2594, allocations: 4.135 MB / 462.1 MB, free: 11.23 MB / 366.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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Dv/Test22/Test22.csv","/var/lib/jenkins/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: 5.16285528242588]