Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.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.001529/0.001529, allocations: 90.56 kB / 21.45 MB, free: 3.055 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.001701/0.001701, allocations: 174.7 kB / 24.84 MB, free: 9.191 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.9506/0.9506, allocations: 158.6 MB / 186.7 MB, free: 2.797 MB / 170.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1462/0.1462, allocations: 32.38 MB / 271.5 MB, free: 14.53 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.CombiTable2D.Test23,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5003,variableFilter="time|cosine_R.y|sine_R.y|cosine_L.y|sine_L.y|combiTable2D_1R.y|combiTable2D_2R.y|combiTable2D_1L.y|combiTable2D_2L.y|der_1R.y|der_2R.y|der_1L.y|der_2L.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test23") translateModel(ModelicaTest.Tables.CombiTable2D.Test23,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5003,variableFilter="time|cosine_R.y|sine_R.y|cosine_L.y|sine_L.y|combiTable2D_1R.y|combiTable2D_2R.y|combiTable2D_1L.y|combiTable2D_2L.y|der_1R.y|der_2R.y|der_1L.y|der_2L.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test23") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.153e-06/1.153e-06, allocations: 0 / 348.9 MB, free: 9.18 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.76e-05/1.876e-05, allocations: 9.344 kB / 348.9 MB, free: 9.172 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2D.Test23): time 0.002389/0.002408, allocations: 2.003 MB / 350.9 MB, free: 7.156 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001152/0.00356, allocations: 0.9786 MB / 351.9 MB, free: 6.168 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.814e-05/0.003648, allocations: 0 / 351.9 MB, free: 6.168 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002013/0.003849, allocations: 43.62 kB / 351.9 MB, free: 6.125 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000296/0.004145, allocations: 159.2 kB / 352.1 MB, free: 5.969 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006059/0.004751, allocations: 379.2 kB / 352.5 MB, free: 5.598 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003043/0.005056, allocations: 295 kB / 352.8 MB, free: 5.309 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000132/0.005188, allocations: 52.88 kB / 352.8 MB, free: 5.262 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000204/0.005392, allocations: 167.5 kB / 353 MB, free: 5.098 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001838/0.005575, allocations: 179.6 kB / 353.1 MB, free: 4.922 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.898e-05/0.005604, allocations: 16 kB / 353.2 MB, free: 4.906 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.598e-05/0.00569, allocations: 39.92 kB / 353.2 MB, free: 4.867 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.00011/0.0058, allocations: 139.5 kB / 353.3 MB, free: 4.73 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 7.661e-05/0.005877, allocations: 83.64 kB / 353.4 MB, free: 4.648 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000259/0.006136, allocations: 298.7 kB / 353.7 MB, free: 4.355 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.723e-06/0.006138, allocations: 0 / 353.7 MB, free: 4.355 MB / 282.7 MB Notification: Performance of FrontEnd: time 7.81e-07/0.006138, allocations: 0 / 353.7 MB, free: 4.355 MB / 282.7 MB Notification: Performance of Transformations before backend: time 4.488e-06/0.006143, allocations: 4 kB / 353.7 MB, free: 4.352 MB / 282.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.0005958/0.006739, allocations: 0.8018 MB / 354.5 MB, free: 3.512 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.1e-05/0.00677, allocations: 8.031 kB / 354.5 MB, free: 3.504 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.146e-05/0.006841, allocations: 60.56 kB / 354.6 MB, free: 3.445 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002327/0.007074, allocations: 316.7 kB / 354.9 MB, free: 3.109 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.28e-05/0.007087, allocations: 12.23 kB / 354.9 MB, free: 3.098 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.248e-05/0.007109, allocations: 12.38 kB / 354.9 MB, free: 3.086 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001573/0.007267, allocations: 131.4 kB / 355 MB, free: 2.941 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.157e-05/0.007278, allocations: 11.92 kB / 355.1 MB, free: 2.93 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.18e-05/0.00729, allocations: 8 kB / 355.1 MB, free: 2.922 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.45e-06/0.007295, allocations: 3.938 kB / 355.1 MB, free: 2.918 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.594e-05/0.007351, allocations: 27.97 kB / 355.1 MB, free: 2.891 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004631/0.007814, allocations: 0.5613 MB / 355.7 MB, free: 2.297 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001097/0.007924, allocations: 98.14 kB / 355.8 MB, free: 2.176 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.298e-05/0.007957, allocations: 31.36 kB / 355.8 MB, free: 2.137 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.854e-05/0.007976, allocations: 4 kB / 355.8 MB, free: 2.133 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.648e-05/0.007992, allocations: 41.45 kB / 355.8 MB, free: 2.082 MB / 282.7 MB Notification: Performance of pre-optimization done (n=12): time 1.162e-06/0.007993, allocations: 0 / 355.8 MB, free: 2.082 MB / 282.7 MB Notification: Performance of matching and sorting (n=20): time 0.0007088/0.008702, allocations: 328.8 kB / 356.1 MB, free: 1.754 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.214e-05/0.008724, allocations: 85.11 kB / 356.2 MB, free: 1.652 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003659/0.00909, allocations: 0.6039 MB / 356.8 MB, free: 1.031 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.248e-05/0.009103, allocations: 29.7 kB / 356.9 MB, free: 0.9961 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000124/0.009227, allocations: 319.1 kB / 357.2 MB, free: 0.6797 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.014e-05/0.009267, allocations: 75.36 kB / 357.3 MB, free: 0.6055 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.433e-05/0.009321, allocations: 35.36 kB / 357.3 MB, free: 0.5625 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001012/0.009422, allocations: 0.5663 MB / 357.9 MB, free: 15.98 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.623e-05/0.009469, allocations: 19.98 kB / 357.9 MB, free: 15.96 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.708e-05/0.009536, allocations: 51.33 kB / 357.9 MB, free: 15.91 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001226/0.009658, allocations: 79.53 kB / 358 MB, free: 15.82 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.42e-07/0.009659, allocations: 0 / 358 MB, free: 15.82 MB / 298.7 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.000246/0.009905, allocations: 185.1 kB / 358.2 MB, free: 15.63 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.197e-05/0.009917, allocations: 7.938 kB / 358.2 MB, free: 15.62 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.51e-06/0.009923, allocations: 4 kB / 358.2 MB, free: 15.62 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.165e-06/0.009931, allocations: 0 / 358.2 MB, free: 15.62 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001559/0.01009, allocations: 43.97 kB / 358.2 MB, free: 15.58 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.3e-06/0.01009, allocations: 7.922 kB / 358.2 MB, free: 15.57 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.382e-05/0.01019, allocations: 16 kB / 358.3 MB, free: 15.55 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.569e-05/0.0102, allocations: 7.984 kB / 358.3 MB, free: 15.55 MB / 298.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.000101/0.0103, allocations: 160.6 kB / 358.4 MB, free: 15.38 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.241e-05/0.0104, allocations: 63.62 kB / 358.5 MB, free: 15.32 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000311/0.01071, allocations: 210.8 kB / 358.7 MB, free: 15.1 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.268e-06/0.01071, allocations: 4 kB / 358.7 MB, free: 15.1 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.482e-06/0.01071, allocations: 0 / 358.7 MB, free: 15.1 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.5e-06/0.01072, allocations: 3.984 kB / 358.7 MB, free: 15.09 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006824/0.0114, allocations: 0.6687 MB / 359.4 MB, free: 14.39 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.843e-06/0.0114, allocations: 4 kB / 359.4 MB, free: 14.39 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001394/0.01154, allocations: 51.89 kB / 359.4 MB, free: 14.34 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.565e-06/0.01154, allocations: 0 / 359.4 MB, free: 14.34 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.327e-05/0.01156, allocations: 8 kB / 359.4 MB, free: 14.33 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.984e-06/0.01156, allocations: 0 / 359.4 MB, free: 14.33 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.01156, allocations: 0 / 359.4 MB, free: 14.33 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003203/0.01188, allocations: 445.7 kB / 359.9 MB, free: 13.88 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.652e-05/0.01194, allocations: 47.66 kB / 359.9 MB, free: 13.83 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.876e-05/0.01198, allocations: 11.98 kB / 359.9 MB, free: 13.82 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001488/0.01212, allocations: 19.92 kB / 359.9 MB, free: 13.8 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.205e-05/0.01218, allocations: 19.97 kB / 360 MB, free: 13.78 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.333e-05/0.01219, allocations: 7.984 kB / 360 MB, free: 13.77 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.000282/0.01247, allocations: 386.6 kB / 360.3 MB, free: 13.39 MB / 298.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01247, allocations: 0 / 360.3 MB, free: 13.39 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0003392/0.01281, allocations: 63.95 kB / 360.4 MB, free: 13.33 MB / 298.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.0008598/0.01367, allocations: 382.3 kB / 360.8 MB, free: 13.05 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001878/0.01386, allocations: 91.5 kB / 360.9 MB, free: 12.96 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.162e-06/0.01386, allocations: 0 / 360.9 MB, free: 12.96 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 8.77e-05/0.01395, allocations: 64.14 kB / 360.9 MB, free: 12.89 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004774/0.01442, allocations: 91.23 kB / 361 MB, free: 12.8 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00103/0.01545, allocations: 0.7609 MB / 361.8 MB, free: 12 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001049/0.01556, allocations: 132.5 kB / 361.9 MB, free: 11.85 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0001471/0.01571, allocations: 58.91 kB / 362 MB, free: 11.8 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001735/0.01588, allocations: 138.2 kB / 362.1 MB, free: 11.66 MB / 298.7 MB Notification: Performance of SimCode: time 6.82e-07/0.01588, allocations: 4 kB / 362.1 MB, free: 11.66 MB / 298.7 MB Notification: Performance of Templates: time 0.008098/0.02398, allocations: 4.915 MB / 367 MB, free: 6.762 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test23.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test23.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test23.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test23.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test23.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test23 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test23.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test23_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2D/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.3349518962204456]