Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test22.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007701/0.0007701, allocations: 77.36 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001374/0.002144, allocations: 445.8 kB / 10.44 MB, free: 256 kB / 10.45 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0007241/0.0007241, allocations: 148.9 kB / 11.34 MB, free: 2.836 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001106/0.00183, allocations: 475.6 kB / 11.8 MB, free: 2.367 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 0.9312/0.9312, allocations: 173.4 MB / 186 MB, free: 7.527 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1668/1.098, allocations: 52.49 MB / 238.5 MB, free: 7.645 MB / 234.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.1463/0.1463, allocations: 32.8 MB / 272 MB, free: 6.312 MB / 266.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.01968/0.1659, allocations: 12.53 MB / 284.5 MB, free: 9.734 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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_4.0.0_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_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test22") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.363e-06/1.363e-06, allocations: 0 / 285.9 MB, free: 8.43 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.095e-05/1.231e-05, allocations: 2.312 kB / 285.9 MB, free: 8.426 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test22): time 0.002517/0.00253, allocations: 2.032 MB / 287.9 MB, free: 6.383 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.006457/0.008986, allocations: 1.137 MB / 289 MB, free: 5.238 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.958e-05/0.009066, allocations: 7.938 kB / 289 MB, free: 5.23 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001503/0.009216, allocations: 59.5 kB / 289.1 MB, free: 5.172 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002637/0.00948, allocations: 167.2 kB / 289.3 MB, free: 5.008 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008767/0.01036, allocations: 0.5911 MB / 289.8 MB, free: 4.418 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002972/0.01065, allocations: 283.1 kB / 290.1 MB, free: 4.141 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000128/0.01078, allocations: 50.86 kB / 290.2 MB, free: 4.094 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003494/0.01428, allocations: 212.1 kB / 290.4 MB, free: 3.887 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000187/0.01446, allocations: 151.6 kB / 290.5 MB, free: 3.738 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 3.111e-05/0.01449, allocations: 12 kB / 290.5 MB, free: 3.727 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001084/0.0146, allocations: 59.86 kB / 290.6 MB, free: 3.668 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001183/0.01472, allocations: 131.6 kB / 290.7 MB, free: 3.539 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 6.478e-05/0.01478, allocations: 59.69 kB / 290.8 MB, free: 3.48 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003022/0.01509, allocations: 282.8 kB / 291.1 MB, free: 3.203 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.219e-05/0.0151, allocations: 0 / 291.1 MB, free: 3.203 MB / 282.7 MB Notification: Performance of FrontEnd: time 6.12e-07/0.0151, allocations: 4 kB / 291.1 MB, free: 3.199 MB / 282.7 MB Notification: Performance of Transformations before backend: time 9.608e-06/0.01511, allocations: 0 / 291.1 MB, free: 3.199 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.0007338/0.01584, allocations: 0.7002 MB / 291.8 MB, free: 2.473 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.883e-05/0.01587, allocations: 12.03 kB / 291.8 MB, free: 2.461 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.365e-05/0.01594, allocations: 36.89 kB / 291.8 MB, free: 2.426 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002933/0.01623, allocations: 305.8 kB / 292.1 MB, free: 2.102 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.262e-05/0.01624, allocations: 12.23 kB / 292.1 MB, free: 2.09 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.602e-05/0.01627, allocations: 12.38 kB / 292.1 MB, free: 2.078 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001548/0.01642, allocations: 119.6 kB / 292.2 MB, free: 1.949 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.088e-05/0.01643, allocations: 3.938 kB / 292.3 MB, free: 1.945 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.378e-05/0.01645, allocations: 8 kB / 292.3 MB, free: 1.938 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.34e-06/0.01645, allocations: 0 / 292.3 MB, free: 1.938 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.316e-05/0.01651, allocations: 35.8 kB / 292.3 MB, free: 1.902 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003437/0.01994, allocations: 370.9 kB / 292.7 MB, free: 1.52 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.701e-05/0.02004, allocations: 77.03 kB / 292.7 MB, free: 1.426 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.802e-05/0.02007, allocations: 17.97 kB / 292.8 MB, free: 1.402 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.201e-05/0.02009, allocations: 8 kB / 292.8 MB, free: 1.395 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2e-05/0.02011, allocations: 30.56 kB / 292.8 MB, free: 1.355 MB / 282.7 MB Notification: Performance of pre-optimization done (n=10): time 9.92e-07/0.02011, allocations: 8 kB / 292.8 MB, free: 1.348 MB / 282.7 MB Notification: Performance of matching and sorting (n=16): time 0.0005377/0.02065, allocations: 213.2 kB / 293 MB, free: 1.133 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.345e-05/0.02068, allocations: 77.11 kB / 293.1 MB, free: 1.039 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004182/0.0211, allocations: 0.532 MB / 293.6 MB, free: 0.4922 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.598e-05/0.02112, allocations: 29.7 kB / 293.6 MB, free: 468 kB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.875e-05/0.02119, allocations: 161.5 kB / 293.8 MB, free: 300 kB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.037e-05/0.02123, allocations: 51.58 kB / 293.8 MB, free: 248 kB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.647e-05/0.02128, allocations: 25.7 kB / 293.9 MB, free: 216 kB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001212/0.0214, allocations: 366.7 kB / 294.2 MB, free: 15.84 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.407e-05/0.02144, allocations: 16.73 kB / 294.2 MB, free: 15.83 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.352e-05/0.02148, allocations: 33.69 kB / 294.3 MB, free: 15.79 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.256e-05/0.02157, allocations: 56.5 kB / 294.3 MB, free: 15.73 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.324e-06/0.02157, allocations: 3.984 kB / 294.3 MB, free: 15.72 MB / 298.7 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0001539/0.02173, allocations: 105.9 kB / 294.4 MB, free: 15.61 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.267e-05/0.02174, allocations: 4 kB / 294.4 MB, free: 15.61 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.739e-06/0.02175, allocations: 7.875 kB / 294.5 MB, free: 15.6 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.375e-05/0.02176, allocations: 4 kB / 294.5 MB, free: 15.6 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001383/0.0219, allocations: 43.91 kB / 294.5 MB, free: 15.55 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.841e-06/0.0219, allocations: 3.984 kB / 294.5 MB, free: 15.55 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.77e-05/0.02197, allocations: 15.94 kB / 294.5 MB, free: 15.54 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.109e-05/0.02198, allocations: 4 kB / 294.5 MB, free: 15.53 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 8.382e-05/0.02207, allocations: 116.7 kB / 294.6 MB, free: 15.41 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.645e-05/0.02213, allocations: 35.95 kB / 294.7 MB, free: 15.37 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002229/0.02236, allocations: 149.8 kB / 294.8 MB, free: 15.21 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.286e-06/0.02236, allocations: 4 kB / 294.8 MB, free: 15.21 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.483e-06/0.02236, allocations: 0 / 294.8 MB, free: 15.21 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.216e-06/0.02236, allocations: 0 / 294.8 MB, free: 15.21 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005065/0.02287, allocations: 462.2 kB / 295.3 MB, free: 14.73 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.508e-06/0.02288, allocations: 7.922 kB / 295.3 MB, free: 14.73 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001092/0.02298, allocations: 39.91 kB / 295.3 MB, free: 14.69 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.884e-05/0.02303, allocations: 47.66 kB / 295.4 MB, free: 14.64 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.585e-06/0.02304, allocations: 0 / 295.4 MB, free: 14.64 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.107e-05/0.02305, allocations: 8 kB / 295.4 MB, free: 14.63 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.422e-06/0.02305, allocations: 0 / 295.4 MB, free: 14.63 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.223e-06/0.02305, allocations: 0 / 295.4 MB, free: 14.63 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001844/0.02323, allocations: 286.6 kB / 295.7 MB, free: 14.34 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.044e-05/0.02326, allocations: 4 kB / 295.7 MB, free: 14.33 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001186/0.02338, allocations: 11.98 kB / 295.7 MB, free: 14.32 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.965e-05/0.02342, allocations: 15.98 kB / 295.7 MB, free: 14.3 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.083e-05/0.02343, allocations: 7.984 kB / 295.7 MB, free: 14.3 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.000245/0.02368, allocations: 263.2 kB / 296 MB, free: 14.04 MB / 298.7 MB Notification: Performance of sort global known variables: time 9e-08/0.02368, allocations: 0 / 296 MB, free: 14.04 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002749/0.02395, allocations: 51.98 kB / 296 MB, free: 13.99 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.001293/0.02525, allocations: 0.5433 MB / 296.5 MB, free: 13.71 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001253/0.02537, allocations: 64.75 kB / 296.6 MB, free: 13.64 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 8.747e-06/0.02538, allocations: 4 kB / 296.6 MB, free: 13.64 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 7.072e-05/0.02545, allocations: 52.77 kB / 296.7 MB, free: 13.59 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004979/0.02595, allocations: 361.9 kB / 297 MB, free: 13.19 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001655/0.0276, allocations: 0.7439 MB / 297.8 MB, free: 12.41 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001098/0.02771, allocations: 140.5 kB / 297.9 MB, free: 12.25 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0001205/0.02783, allocations: 58.91 kB / 298 MB, free: 12.2 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001502/0.02798, allocations: 99.36 kB / 298.1 MB, free: 12.1 MB / 298.7 MB Notification: Performance of SimCode: time 5.41e-07/0.02798, allocations: 0 / 298.1 MB, free: 12.1 MB / 298.7 MB Notification: Performance of Templates: time 0.007085/0.03507, allocations: 4.373 MB / 302.4 MB, free: 7.809 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test22.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test22.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test22.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test22.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test22.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test22 -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test22.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test22_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test22/Test22.csv","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.8393719950690866]