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.002571/0.002571, allocations: 83.69 kB / 20.96 MB, free: 3.316 MB / 18.57 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.003026/0.003026, allocations: 161.3 kB / 24.27 MB, free: 8 kB / 18.57 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.646/1.646, allocations: 177.1 MB / 204.6 MB, free: 5.602 MB / 186.7 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.3566/0.3566, allocations: 32.8 MB / 293.9 MB, free: 1.184 MB / 266.7 MB " [Timeout remaining time 179] 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 2.205e-06/2.205e-06, allocations: 0 / 375.3 MB, free: 4.977 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.611e-05/3.831e-05, allocations: 13.34 kB / 375.3 MB, free: 4.965 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test23): time 0.006308/0.006346, allocations: 2.078 MB / 377.4 MB, free: 2.871 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.004822/0.01117, allocations: 1.371 MB / 378.7 MB, free: 1.492 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001794/0.01135, allocations: 7.938 kB / 378.7 MB, free: 1.484 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004179/0.01177, allocations: 55.44 kB / 378.8 MB, free: 1.43 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0009496/0.01272, allocations: 227 kB / 379 MB, free: 1.207 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002596/0.01531, allocations: 0.6002 MB / 379.6 MB, free: 0.6055 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0009475/0.01626, allocations: 374.6 kB / 380 MB, free: 244 kB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002744/0.01653, allocations: 48.91 kB / 380 MB, free: 196 kB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008378/0.01737, allocations: 191.4 kB / 380.2 MB, free: 4 kB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005215/0.01789, allocations: 187.6 kB / 380.4 MB, free: 15.82 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 7.728e-05/0.01797, allocations: 16 kB / 380.4 MB, free: 15.8 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002465/0.01822, allocations: 59.92 kB / 380.5 MB, free: 15.75 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003006/0.01852, allocations: 155.4 kB / 380.6 MB, free: 15.59 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002182/0.01874, allocations: 95.58 kB / 380.7 MB, free: 15.5 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0008994/0.01963, allocations: 418.3 kB / 381.1 MB, free: 15.09 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 9.147e-06/0.01964, allocations: 4 kB / 381.1 MB, free: 15.09 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.583e-06/0.01965, allocations: 0 / 381.1 MB, free: 15.09 MB / 362.7 MB Notification: Performance of Transformations before backend: time 8.546e-06/0.01965, allocations: 0 / 381.1 MB, free: 15.09 MB / 362.7 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.002113/0.02177, allocations: 0.8598 MB / 382 MB, free: 14.19 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.138e-05/0.02182, allocations: 8.031 kB / 382 MB, free: 14.18 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007559/0.02257, allocations: 100.5 kB / 382.1 MB, free: 14.08 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009978/0.02357, allocations: 381.3 kB / 382.5 MB, free: 13.68 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.792e-05/0.02359, allocations: 4.375 kB / 382.5 MB, free: 13.68 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.919e-05/0.02363, allocations: 12.38 kB / 382.5 MB, free: 13.67 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003415/0.02397, allocations: 148.1 kB / 382.6 MB, free: 13.51 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.758e-05/0.02399, allocations: 3.938 kB / 382.6 MB, free: 13.51 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.012e-05/0.02401, allocations: 7.984 kB / 382.6 MB, free: 13.5 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.64e-06/0.02401, allocations: 4 kB / 382.6 MB, free: 13.5 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002544/0.02427, allocations: 71.95 kB / 382.7 MB, free: 13.43 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001298/0.02557, allocations: 0.7365 MB / 383.4 MB, free: 12.65 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003024/0.02587, allocations: 122.2 kB / 383.6 MB, free: 12.5 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000147/0.02602, allocations: 59.45 kB / 383.6 MB, free: 12.44 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.2e-05/0.02606, allocations: 4 kB / 383.6 MB, free: 12.43 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.074e-05/0.0261, allocations: 37.39 kB / 383.7 MB, free: 12.39 MB / 362.7 MB Notification: Performance of pre-optimization done (n=12): time 1.533e-06/0.0261, allocations: 0 / 383.7 MB, free: 12.39 MB / 362.7 MB Notification: Performance of matching and sorting (n=20): time 0.001942/0.02804, allocations: 0.6326 MB / 384.3 MB, free: 11.75 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.796e-05/0.02812, allocations: 85.05 kB / 384.4 MB, free: 11.64 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001033/0.02915, allocations: 0.7457 MB / 385.1 MB, free: 10.88 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 3.571e-05/0.02919, allocations: 33.92 kB / 385.2 MB, free: 10.84 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003615/0.02955, allocations: 347.2 kB / 385.5 MB, free: 10.49 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.182e-05/0.02964, allocations: 79.31 kB / 385.6 MB, free: 10.41 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001093/0.02975, allocations: 55.34 kB / 385.6 MB, free: 10.35 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0004002/0.03015, allocations: 0.5782 MB / 386.2 MB, free: 9.762 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002409/0.03039, allocations: 67.95 kB / 386.3 MB, free: 9.695 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002471/0.03064, allocations: 99.31 kB / 386.4 MB, free: 9.59 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004622/0.0311, allocations: 171.4 kB / 386.5 MB, free: 9.414 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.343e-06/0.0311, allocations: 4 kB / 386.5 MB, free: 9.41 MB / 362.7 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0006825/0.03179, allocations: 273 kB / 386.8 MB, free: 9.137 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.217e-05/0.03181, allocations: 4 kB / 386.8 MB, free: 9.133 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.546e-06/0.03182, allocations: 4.062 kB / 386.8 MB, free: 9.129 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.716e-05/0.03183, allocations: 4 kB / 386.8 MB, free: 9.125 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002683/0.0321, allocations: 39.97 kB / 386.9 MB, free: 9.086 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.947e-06/0.03211, allocations: 4 kB / 386.9 MB, free: 9.082 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001733/0.03228, allocations: 19.98 kB / 386.9 MB, free: 9.062 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.905e-05/0.03231, allocations: 7.984 kB / 386.9 MB, free: 9.055 MB / 362.7 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.0002034/0.03252, allocations: 176.5 kB / 387.1 MB, free: 8.871 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001651/0.03268, allocations: 75.52 kB / 387.1 MB, free: 8.797 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001114/0.0338, allocations: 286.4 kB / 387.4 MB, free: 8.508 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.957e-06/0.0338, allocations: 4 kB / 387.4 MB, free: 8.504 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.749e-06/0.03381, allocations: 0 / 387.4 MB, free: 8.504 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.819e-06/0.03381, allocations: 4 kB / 387.4 MB, free: 8.5 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001659/0.03547, allocations: 0.9219 MB / 388.3 MB, free: 7.535 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.024e-06/0.03548, allocations: 0 / 388.3 MB, free: 7.535 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002324/0.03571, allocations: 43.91 kB / 388.4 MB, free: 7.492 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.963e-06/0.03572, allocations: 4 kB / 388.4 MB, free: 7.488 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.304e-05/0.03574, allocations: 7.984 kB / 388.4 MB, free: 7.48 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.839e-06/0.03574, allocations: 4 kB / 388.4 MB, free: 7.477 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.837e-06/0.03575, allocations: 7.984 kB / 388.4 MB, free: 7.469 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008269/0.03657, allocations: 0.529 MB / 388.9 MB, free: 6.922 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001617/0.03674, allocations: 63.61 kB / 389 MB, free: 6.859 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.484e-05/0.03679, allocations: 4 kB / 389 MB, free: 6.855 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002144/0.037, allocations: 15.98 kB / 389 MB, free: 6.84 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000106/0.03711, allocations: 23.91 kB / 389 MB, free: 6.816 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.359e-05/0.03713, allocations: 11.92 kB / 389.1 MB, free: 6.805 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0006882/0.03782, allocations: 499 kB / 389.5 MB, free: 6.324 MB / 362.7 MB Notification: Performance of sort global known variables: time 7e-08/0.03782, allocations: 0 / 389.5 MB, free: 6.324 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0004219/0.03824, allocations: 60 kB / 389.6 MB, free: 6.266 MB / 362.7 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.002915/0.04116, allocations: 433.4 kB / 390 MB, free: 6.02 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0006391/0.0418, allocations: 195.3 kB / 390.2 MB, free: 5.824 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.625e-06/0.0418, allocations: 0 / 390.2 MB, free: 5.824 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000288/0.04209, allocations: 111.6 kB / 390.3 MB, free: 5.711 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007306/0.04282, allocations: 88.81 kB / 390.4 MB, free: 5.629 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001637/0.04446, allocations: 0.8483 MB / 391.3 MB, free: 4.742 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003353/0.04479, allocations: 274.3 kB / 391.5 MB, free: 4.453 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0002621/0.04505, allocations: 87.19 kB / 391.6 MB, free: 4.363 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001313/0.04519, allocations: 40.48 kB / 391.7 MB, free: 4.324 MB / 362.7 MB Notification: Performance of SimCode: time 1.562e-06/0.04519, allocations: 0 / 391.7 MB, free: 4.324 MB / 362.7 MB Notification: Performance of Templates: time 0.01129/0.05648, allocations: 4.631 MB / 396.3 MB, free: 15.73 MB / 378.7 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=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test23.pipe 2>&1) [Timeout 240] 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: 5.1298927899915725]