Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_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.001093/0.001093, allocations: 95.2 kB / 20.43 MB, free: 4.145 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.001381/0.001381, allocations: 165.3 kB / 23.79 MB, free: 0.7812 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.9467/0.9467, allocations: 158.6 MB / 185.7 MB, free: 2.926 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.1396/0.1396, allocations: 32.37 MB / 270.4 MB, free: 14.57 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.CombiTable2Dv.Test22,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|combiTable2D_1R.y.[0-9,]+.|der_1R.y|combiTable2D_2R.y.[0-9,]+.|der_2R.y|sine_R.y|const_R.y|combiTable2D_1L.y.[0-9,]+.|der_1L.y|combiTable2D_2L.y.[0-9,]+.|der_2L.y|sine_L.y|const_L.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test22") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test22,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|combiTable2D_1R.y.[0-9,]+.|der_1R.y|combiTable2D_2R.y.[0-9,]+.|der_2R.y|sine_R.y|const_R.y|combiTable2D_1L.y.[0-9,]+.|der_1L.y|combiTable2D_2L.y.[0-9,]+.|der_2L.y|sine_L.y|const_L.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test22") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.714e-06/1.714e-06, allocations: 3.938 kB / 347.7 MB, free: 9.441 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.418e-05/2.589e-05, allocations: 17.34 kB / 347.7 MB, free: 9.426 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test22): time 0.002227/0.002253, allocations: 1.957 MB / 349.6 MB, free: 7.457 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001157/0.00341, allocations: 1.056 MB / 350.7 MB, free: 6.391 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001094/0.003519, allocations: 0 / 350.7 MB, free: 6.391 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002554/0.003774, allocations: 55.56 kB / 350.8 MB, free: 6.336 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002981/0.004072, allocations: 151.3 kB / 350.9 MB, free: 6.188 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007113/0.004784, allocations: 0.534 MB / 351.4 MB, free: 5.652 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003159/0.0051, allocations: 295 kB / 351.7 MB, free: 5.363 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001551/0.005255, allocations: 40.91 kB / 351.8 MB, free: 5.328 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000211/0.005466, allocations: 151.6 kB / 351.9 MB, free: 5.18 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001898/0.005655, allocations: 179.5 kB / 352.1 MB, free: 5.004 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 3.365e-05/0.005689, allocations: 12 kB / 352.1 MB, free: 4.992 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001029/0.005792, allocations: 47.91 kB / 352.1 MB, free: 4.945 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001165/0.005909, allocations: 147.5 kB / 352.3 MB, free: 4.801 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001011/0.00601, allocations: 75.64 kB / 352.4 MB, free: 4.727 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002773/0.006287, allocations: 282.9 kB / 352.6 MB, free: 4.449 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.347e-06/0.00629, allocations: 0 / 352.6 MB, free: 4.449 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.001e-06/0.006291, allocations: 0 / 352.6 MB, free: 4.449 MB / 282.7 MB Notification: Performance of Transformations before backend: time 5.821e-06/0.006297, allocations: 0 / 352.6 MB, free: 4.449 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.0005752/0.006872, allocations: 0.7864 MB / 353.4 MB, free: 3.625 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.49e-05/0.006907, allocations: 12.03 kB / 353.4 MB, free: 3.613 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.51e-05/0.006982, allocations: 64.56 kB / 353.5 MB, free: 3.551 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002644/0.007247, allocations: 340.5 kB / 353.8 MB, free: 3.191 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.097e-05/0.007258, allocations: 12.23 kB / 353.8 MB, free: 3.18 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.153e-05/0.007289, allocations: 12.38 kB / 353.9 MB, free: 3.168 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001726/0.007462, allocations: 123.5 kB / 354 MB, free: 3.031 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.21e-05/0.007474, allocations: 7.938 kB / 354 MB, free: 3.023 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.314e-05/0.007487, allocations: 4 kB / 354 MB, free: 3.02 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.655e-06/0.007495, allocations: 0 / 354 MB, free: 3.02 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.533e-05/0.00756, allocations: 39.91 kB / 354 MB, free: 2.98 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005887/0.008149, allocations: 0.6544 MB / 354.7 MB, free: 2.285 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000113/0.008262, allocations: 98.16 kB / 354.8 MB, free: 2.164 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.948e-05/0.008301, allocations: 31.7 kB / 354.8 MB, free: 2.125 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.074e-05/0.008332, allocations: 0 / 354.8 MB, free: 2.125 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.124e-05/0.008353, allocations: 45.33 kB / 354.9 MB, free: 2.07 MB / 282.7 MB Notification: Performance of pre-optimization done (n=10): time 1.392e-06/0.008355, allocations: 0 / 354.9 MB, free: 2.07 MB / 282.7 MB Notification: Performance of matching and sorting (n=16): time 0.0007337/0.009088, allocations: 411.5 kB / 355.3 MB, free: 1.66 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.335e-05/0.009112, allocations: 81.11 kB / 355.3 MB, free: 1.562 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003586/0.00947, allocations: 0.6315 MB / 356 MB, free: 0.9141 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.281e-05/0.009483, allocations: 29.7 kB / 356 MB, free: 0.8789 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001067/0.00959, allocations: 311 kB / 356.3 MB, free: 0.5664 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.559e-05/0.009625, allocations: 55.55 kB / 356.4 MB, free: 0.5117 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.275e-05/0.009668, allocations: 35.36 kB / 356.4 MB, free: 480 kB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001117/0.00978, allocations: 0.5547 MB / 356.9 MB, free: 15.9 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.806e-05/0.009828, allocations: 19.98 kB / 357 MB, free: 15.88 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.278e-05/0.009891, allocations: 43.3 kB / 357 MB, free: 15.83 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001084/0.009999, allocations: 79.42 kB / 357.1 MB, free: 15.75 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.192e-06/0.01, allocations: 0 / 357.1 MB, free: 15.75 MB / 298.7 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0002062/0.01021, allocations: 161.3 kB / 357.2 MB, free: 15.58 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.578e-05/0.01022, allocations: 8 kB / 357.2 MB, free: 15.57 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.5e-06/0.01023, allocations: 0 / 357.2 MB, free: 15.57 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.413e-05/0.01024, allocations: 0 / 357.2 MB, free: 15.57 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001324/0.01037, allocations: 39.91 kB / 357.3 MB, free: 15.54 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.094e-06/0.01038, allocations: 0 / 357.3 MB, free: 15.54 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.38e-05/0.01044, allocations: 8 kB / 357.3 MB, free: 15.53 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.109e-05/0.01045, allocations: 4 kB / 357.3 MB, free: 15.52 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 (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.0001019/0.01055, allocations: 168.6 kB / 357.5 MB, free: 15.35 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.891e-05/0.01062, allocations: 67.56 kB / 357.5 MB, free: 15.28 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002873/0.0109, allocations: 174.8 kB / 357.7 MB, free: 15.1 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.986e-06/0.01091, allocations: 4 kB / 357.7 MB, free: 15.1 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.037e-06/0.01091, allocations: 0 / 357.7 MB, free: 15.1 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.588e-06/0.01092, allocations: 0 / 357.7 MB, free: 15.1 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006302/0.01155, allocations: 0.7346 MB / 358.4 MB, free: 14.32 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.955e-06/0.01155, allocations: 4 kB / 358.4 MB, free: 14.32 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.759e-05/0.01164, allocations: 35.97 kB / 358.5 MB, free: 14.28 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.086e-06/0.01164, allocations: 4 kB / 358.5 MB, free: 14.28 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.809e-06/0.01165, allocations: 7.938 kB / 358.5 MB, free: 14.27 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.685e-06/0.01165, allocations: 0 / 358.5 MB, free: 14.27 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.523e-06/0.01165, allocations: 4 kB / 358.5 MB, free: 14.27 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002617/0.01192, allocations: 430.6 kB / 358.9 MB, free: 13.82 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.663e-05/0.01197, allocations: 55.66 kB / 359 MB, free: 13.77 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.506e-05/0.012, allocations: 4 kB / 359 MB, free: 13.77 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.407e-05/0.01208, allocations: 11.98 kB / 359 MB, free: 13.75 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.895e-05/0.01213, allocations: 11.97 kB / 359 MB, free: 13.74 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.208e-06/0.01214, allocations: 8 kB / 359 MB, free: 13.73 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.000286/0.01243, allocations: 414.8 kB / 359.4 MB, free: 13.33 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.7e-07/0.01243, allocations: 4 kB / 359.4 MB, free: 13.33 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002391/0.01266, allocations: 52 kB / 359.5 MB, free: 13.28 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 (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.0008366/0.0135, allocations: 385.4 kB / 359.8 MB, free: 12.99 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0002088/0.01371, allocations: 87.5 kB / 359.9 MB, free: 12.9 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.593e-06/0.01371, allocations: 0 / 359.9 MB, free: 12.9 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 6.645e-05/0.01378, allocations: 55.53 kB / 360 MB, free: 12.84 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003981/0.01418, allocations: 79.33 kB / 360.1 MB, free: 12.77 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001078/0.01525, allocations: 0.734 MB / 360.8 MB, free: 12 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.273e-05/0.01535, allocations: 140.5 kB / 360.9 MB, free: 11.84 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.000114/0.01546, allocations: 66.91 kB / 361 MB, free: 11.77 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.093e-05/0.01553, allocations: 36.48 kB / 361 MB, free: 11.74 MB / 298.7 MB Notification: Performance of SimCode: time 6.11e-07/0.01553, allocations: 0 / 361 MB, free: 11.74 MB / 298.7 MB Notification: Performance of Templates: time 0.007009/0.02254, allocations: 4.124 MB / 365.2 MB, free: 7.633 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test22.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test22.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test22.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test22.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test22.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test22 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test22.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test22_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2Dv/Test22/Test22.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.408629040699452]