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.001414/0.001414, allocations: 81.97 kB / 22.21 MB, free: 2.289 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.001551/0.001551, allocations: 163.9 kB / 25.61 MB, free: 8.582 MB / 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 0.9343/0.9343, allocations: 177.1 MB / 206 MB, free: 4.504 MB / 186.7 MB " [Timeout remaining time 179] 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.1505/0.1505, allocations: 32.8 MB / 295.4 MB, free: 15.38 MB / 282.7 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.[0-9,]+.|der_1R.y|combiTable2D_2R.y.[0-9,]+.|der_2R.y|cosine_R.y|sine_R.y|combiTable2D_1L.y.[0-9,]+.|der_1L.y|combiTable2D_2L.y.[0-9,]+.|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.[0-9,]+.|der_1R.y|combiTable2D_2R.y.[0-9,]+.|der_2R.y|cosine_R.y|sine_R.y|combiTable2D_1L.y.[0-9,]+.|der_1L.y|combiTable2D_2L.y.[0-9,]+.|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.473e-06/1.473e-06, allocations: 0 / 377.3 MB, free: 25.59 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.464e-05/2.611e-05, allocations: 2.312 kB / 377.3 MB, free: 25.59 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test23): time 0.002369/0.002395, allocations: 2.077 MB / 379.4 MB, free: 23.5 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.001473/0.003869, allocations: 1.371 MB / 380.7 MB, free: 22.12 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001345/0.004003, allocations: 4 kB / 380.7 MB, free: 22.11 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002484/0.004252, allocations: 59.44 kB / 380.8 MB, free: 22.05 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004006/0.004652, allocations: 230.8 kB / 381 MB, free: 21.83 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009124/0.005565, allocations: 0.6081 MB / 381.6 MB, free: 21.22 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.000338/0.005903, allocations: 358.8 kB / 382 MB, free: 20.87 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001363/0.006039, allocations: 48.91 kB / 382 MB, free: 20.82 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002305/0.006269, allocations: 195.4 kB / 382.2 MB, free: 20.63 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001658/0.006435, allocations: 183.6 kB / 382.4 MB, free: 20.45 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 2.393e-05/0.006459, allocations: 20 kB / 382.4 MB, free: 20.43 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001125/0.006572, allocations: 63.92 kB / 382.5 MB, free: 20.37 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 9.697e-05/0.006669, allocations: 155.4 kB / 382.6 MB, free: 20.21 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 6.482e-05/0.006733, allocations: 91.58 kB / 382.7 MB, free: 20.12 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003149/0.007048, allocations: 334.6 kB / 383 MB, free: 19.8 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.061e-06/0.007054, allocations: 0 / 383 MB, free: 19.8 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.104e-06/0.007056, allocations: 0 / 383 MB, free: 19.8 MB / 314.7 MB Notification: Performance of Transformations before backend: time 6.231e-06/0.007063, allocations: 0 / 383 MB, free: 19.8 MB / 314.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.000624/0.007687, allocations: 0.856 MB / 383.9 MB, free: 18.9 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.633e-05/0.007723, allocations: 11.98 kB / 383.9 MB, free: 18.89 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002381/0.007961, allocations: 108.5 kB / 384 MB, free: 18.79 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002623/0.008224, allocations: 349.3 kB / 384.4 MB, free: 18.41 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.166e-05/0.008235, allocations: 8.375 kB / 384.4 MB, free: 18.41 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.228e-05/0.008257, allocations: 12.38 kB / 384.4 MB, free: 18.39 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001446/0.008402, allocations: 126.2 kB / 384.5 MB, free: 18.25 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.075e-05/0.008413, allocations: 3.938 kB / 384.5 MB, free: 18.25 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.152e-05/0.008424, allocations: 11.88 kB / 384.5 MB, free: 18.24 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.991e-06/0.00843, allocations: 8 kB / 384.5 MB, free: 18.23 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.939e-05/0.00848, allocations: 31.69 kB / 384.6 MB, free: 18.2 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004567/0.008936, allocations: 0.5807 MB / 385.1 MB, free: 17.59 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001064/0.009043, allocations: 98.02 kB / 385.2 MB, free: 17.47 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.854e-05/0.009071, allocations: 31.62 kB / 385.3 MB, free: 17.43 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.069e-05/0.009092, allocations: 7.984 kB / 385.3 MB, free: 17.42 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.786e-05/0.00911, allocations: 33.39 kB / 385.3 MB, free: 17.38 MB / 314.7 MB Notification: Performance of pre-optimization done (n=12): time 1.503e-06/0.009111, allocations: 0 / 385.3 MB, free: 17.38 MB / 314.7 MB Notification: Performance of matching and sorting (n=20): time 0.0006718/0.009783, allocations: 328.7 kB / 385.6 MB, free: 17.05 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.427e-05/0.009807, allocations: 85.05 kB / 385.7 MB, free: 16.95 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002977/0.01011, allocations: 0.6594 MB / 386.4 MB, free: 16.27 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.69e-05/0.01012, allocations: 33.7 kB / 386.4 MB, free: 16.23 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001116/0.01023, allocations: 339 kB / 386.7 MB, free: 15.9 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.035e-05/0.01027, allocations: 67.42 kB / 386.8 MB, free: 15.83 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.925e-05/0.01032, allocations: 47.3 kB / 386.8 MB, free: 15.78 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 9.481e-05/0.01042, allocations: 0.5702 MB / 387.4 MB, free: 15.2 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.024e-05/0.01046, allocations: 23.97 kB / 387.4 MB, free: 15.17 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.144e-05/0.01051, allocations: 49.45 kB / 387.5 MB, free: 15.12 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.401e-05/0.0106, allocations: 91.39 kB / 387.6 MB, free: 15.02 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.82e-07/0.0106, allocations: 7.938 kB / 387.6 MB, free: 15.01 MB / 314.7 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0001771/0.01078, allocations: 170 kB / 387.7 MB, free: 14.84 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.581e-05/0.0108, allocations: 11.94 kB / 387.8 MB, free: 14.83 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.392e-06/0.0108, allocations: 3.938 kB / 387.8 MB, free: 14.82 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.036e-05/0.01081, allocations: 0 / 387.8 MB, free: 14.82 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001342/0.01095, allocations: 51.95 kB / 387.8 MB, free: 14.77 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.307e-06/0.01095, allocations: 0 / 387.8 MB, free: 14.77 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.122e-05/0.01102, allocations: 15.97 kB / 387.8 MB, free: 14.76 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.192e-05/0.01103, allocations: 16 kB / 387.8 MB, free: 14.74 MB / 314.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 8.394e-05/0.01112, allocations: 164.5 kB / 388 MB, free: 14.57 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.578e-05/0.01118, allocations: 67.58 kB / 388.1 MB, free: 14.5 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000253/0.01144, allocations: 214.4 kB / 388.3 MB, free: 14.29 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.136e-06/0.01144, allocations: 0 / 388.3 MB, free: 14.29 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.485e-06/0.01144, allocations: 7.938 kB / 388.3 MB, free: 14.28 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.431e-06/0.01145, allocations: 3.984 kB / 388.3 MB, free: 14.27 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004966/0.01195, allocations: 0.6807 MB / 389 MB, free: 13.56 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.723e-06/0.01195, allocations: 4 kB / 389 MB, free: 13.55 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.825e-05/0.01205, allocations: 43.97 kB / 389 MB, free: 13.51 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.655e-06/0.01205, allocations: 0 / 389 MB, free: 13.51 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.161e-05/0.01206, allocations: 11.98 kB / 389 MB, free: 13.5 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.285e-06/0.01206, allocations: 0 / 389 MB, free: 13.5 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.613e-06/0.01206, allocations: 7.938 kB / 389 MB, free: 13.49 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002099/0.01227, allocations: 454.5 kB / 389.5 MB, free: 13.03 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.069e-05/0.01231, allocations: 59.61 kB / 389.5 MB, free: 12.97 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.798e-05/0.01234, allocations: 0 / 389.5 MB, free: 12.97 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.509e-05/0.01244, allocations: 15.98 kB / 389.6 MB, free: 12.95 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.738e-05/0.01248, allocations: 19.97 kB / 389.6 MB, free: 12.93 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.858e-06/0.01249, allocations: 11.98 kB / 389.6 MB, free: 12.92 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0001891/0.01268, allocations: 422.9 kB / 390 MB, free: 12.51 MB / 314.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01268, allocations: 0 / 390 MB, free: 12.51 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0002397/0.01292, allocations: 60 kB / 390.1 MB, free: 12.45 MB / 314.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.0007598/0.01368, allocations: 387.4 kB / 390.4 MB, free: 12.21 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0001753/0.01386, allocations: 95.55 kB / 390.5 MB, free: 12.12 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.645e-06/0.01386, allocations: 0 / 390.5 MB, free: 12.12 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 6.391e-05/0.01393, allocations: 66.44 kB / 390.6 MB, free: 12.05 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003913/0.01432, allocations: 96.75 kB / 390.7 MB, free: 11.96 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008897/0.01521, allocations: 0.8342 MB / 391.5 MB, free: 11.09 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.111e-05/0.01528, allocations: 144.5 kB / 391.7 MB, free: 10.93 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0001147/0.01539, allocations: 63.22 kB / 391.7 MB, free: 10.87 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001343/0.01553, allocations: 138.2 kB / 391.9 MB, free: 10.73 MB / 314.7 MB Notification: Performance of SimCode: time 1.403e-06/0.01553, allocations: 4 kB / 391.9 MB, free: 10.73 MB / 314.7 MB Notification: Performance of Templates: time 0.007075/0.0226, allocations: 5.108 MB / 397 MB, free: 5.676 MB / 314.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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.2729703127406538]