Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_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.0007521/0.0007521, allocations: 76.19 kB / 9.911 MB, free: 0.7773 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009955/0.001748, allocations: 447.8 kB / 10.35 MB, free: 348 kB / 10.45 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.0007191/0.0007191, allocations: 161.1 kB / 11.23 MB, free: 2.938 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009274/0.001646, allocations: 463.6 kB / 11.69 MB, free: 2.48 MB / 13.93 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.9615/0.9615, allocations: 158.6 MB / 171 MB, free: 2.18 MB / 170.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.179/1.141, allocations: 49.5 MB / 220.5 MB, free: 5.273 MB / 218.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.1397/0.1397, allocations: 32.34 MB / 253.6 MB, free: 4.168 MB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02305/0.1628, allocations: 12.29 MB / 265.9 MB, free: 7.836 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.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_3.2.3_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_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test23") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.302e-06/1.302e-06, allocations: 0 / 267.2 MB, free: 6.539 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.437e-05/1.567e-05, allocations: 6.312 kB / 267.2 MB, free: 6.531 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test23): time 0.002579/0.002594, allocations: 2.062 MB / 269.3 MB, free: 4.445 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.004548/0.007143, allocations: 1.095 MB / 270.4 MB, free: 3.34 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.606e-05/0.007239, allocations: 4 kB / 270.4 MB, free: 3.336 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001665/0.007405, allocations: 51.52 kB / 270.4 MB, free: 3.285 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002816/0.007687, allocations: 187.2 kB / 270.6 MB, free: 3.102 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008818/0.008569, allocations: 0.5612 MB / 271.2 MB, free: 2.539 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003367/0.008905, allocations: 315 kB / 271.5 MB, free: 2.23 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001331/0.009039, allocations: 42.89 kB / 271.5 MB, free: 2.191 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00332/0.01236, allocations: 242.5 kB / 271.8 MB, free: 1.953 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000195/0.01255, allocations: 159.6 kB / 271.9 MB, free: 1.797 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 3.317e-05/0.01259, allocations: 16 kB / 271.9 MB, free: 1.781 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.882e-05/0.01268, allocations: 39.97 kB / 272 MB, free: 1.742 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001244/0.0128, allocations: 135.5 kB / 272.1 MB, free: 1.609 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 7.792e-05/0.01288, allocations: 59.69 kB / 272.2 MB, free: 1.551 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003035/0.01318, allocations: 294.7 kB / 272.5 MB, free: 1.262 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.481e-05/0.0132, allocations: 8 kB / 272.5 MB, free: 1.254 MB / 266.7 MB Notification: Performance of FrontEnd: time 7.92e-07/0.0132, allocations: 0 / 272.5 MB, free: 1.254 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.42e-05/0.01321, allocations: 0 / 272.5 MB, free: 1.254 MB / 266.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.0007413/0.01395, allocations: 0.7274 MB / 273.2 MB, free: 0.5 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.856e-05/0.01398, allocations: 8.031 kB / 273.2 MB, free: 0.4922 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.022e-05/0.01404, allocations: 36.89 kB / 273.2 MB, free: 468 kB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003262/0.01437, allocations: 309.8 kB / 273.5 MB, free: 132 kB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.332e-05/0.01438, allocations: 12.23 kB / 273.5 MB, free: 120 kB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.074e-05/0.01441, allocations: 16.33 kB / 273.6 MB, free: 104 kB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000202/0.01461, allocations: 120.6 kB / 273.7 MB, free: 15.97 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.219e-05/0.01463, allocations: 7.938 kB / 273.7 MB, free: 15.96 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.236e-05/0.01464, allocations: 4 kB / 273.7 MB, free: 15.96 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.491e-06/0.01464, allocations: 4 kB / 273.7 MB, free: 15.95 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.362e-05/0.01472, allocations: 27.92 kB / 273.7 MB, free: 15.93 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003543/0.01826, allocations: 386.8 kB / 274.1 MB, free: 15.53 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001311/0.01839, allocations: 73.11 kB / 274.2 MB, free: 15.44 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.766e-05/0.01843, allocations: 29.95 kB / 274.2 MB, free: 15.4 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.526e-05/0.01845, allocations: 4 kB / 274.2 MB, free: 15.4 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.341e-05/0.01848, allocations: 42.5 kB / 274.2 MB, free: 15.35 MB / 282.7 MB Notification: Performance of pre-optimization done (n=12): time 1.242e-06/0.01848, allocations: 0 / 274.2 MB, free: 15.35 MB / 282.7 MB Notification: Performance of matching and sorting (n=20): time 0.0007048/0.01918, allocations: 277 kB / 274.5 MB, free: 15.07 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.782e-05/0.01922, allocations: 85.09 kB / 274.6 MB, free: 14.97 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004197/0.01964, allocations: 0.5321 MB / 275.1 MB, free: 14.42 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.81e-05/0.01966, allocations: 29.7 kB / 275.2 MB, free: 14.39 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.663e-05/0.01974, allocations: 157.7 kB / 275.3 MB, free: 14.23 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.012e-05/0.01979, allocations: 75.36 kB / 275.4 MB, free: 14.16 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.047e-05/0.01985, allocations: 37.69 kB / 275.4 MB, free: 14.11 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001056/0.01995, allocations: 370.7 kB / 275.8 MB, free: 13.74 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.427e-05/0.02, allocations: 19.98 kB / 275.8 MB, free: 13.72 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.294e-05/0.02006, allocations: 45.61 kB / 275.8 MB, free: 13.67 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001228/0.02018, allocations: 72.48 kB / 275.9 MB, free: 13.59 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.102e-06/0.02018, allocations: 0 / 275.9 MB, free: 13.59 MB / 282.7 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0001957/0.02038, allocations: 129.7 kB / 276 MB, free: 13.46 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.517e-05/0.02039, allocations: 4 kB / 276.1 MB, free: 13.46 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.511e-06/0.0204, allocations: 7.938 kB / 276.1 MB, free: 13.45 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.007e-06/0.02041, allocations: 0 / 276.1 MB, free: 13.45 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001925/0.0206, allocations: 51.95 kB / 276.1 MB, free: 13.4 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.086e-06/0.0206, allocations: 4 kB / 276.1 MB, free: 13.39 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001041/0.02071, allocations: 15.98 kB / 276.1 MB, free: 13.38 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.666e-05/0.02072, allocations: 8.734 kB / 276.1 MB, free: 13.37 MB / 282.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 9.584e-05/0.02082, allocations: 120.6 kB / 276.3 MB, free: 13.24 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.63e-05/0.0209, allocations: 32.19 kB / 276.3 MB, free: 13.21 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003299/0.0242, allocations: 189.9 kB / 276.5 MB, free: 13.02 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.256e-06/0.0242, allocations: 7.922 kB / 276.5 MB, free: 13.01 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.665e-06/0.0242, allocations: 4 kB / 276.5 MB, free: 13 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.056e-06/0.02421, allocations: 3.938 kB / 276.5 MB, free: 13 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005457/0.02475, allocations: 489.8 kB / 277 MB, free: 12.5 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.056e-06/0.02475, allocations: 7.875 kB / 277 MB, free: 12.49 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001565/0.02491, allocations: 47.95 kB / 277 MB, free: 12.44 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.671e-05/0.02497, allocations: 59.59 kB / 277.1 MB, free: 12.38 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.146e-06/0.02497, allocations: 0 / 277.1 MB, free: 12.38 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.337e-05/0.02498, allocations: 7.984 kB / 277.1 MB, free: 12.38 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.176e-06/0.02499, allocations: 4 kB / 277.1 MB, free: 12.37 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/0.02499, allocations: 0 / 277.1 MB, free: 12.37 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002091/0.0252, allocations: 291 kB / 277.4 MB, free: 12.07 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.625e-05/0.02523, allocations: 8 kB / 277.4 MB, free: 12.06 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000138/0.02537, allocations: 19.98 kB / 277.4 MB, free: 12.04 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.945e-05/0.02542, allocations: 19.95 kB / 277.4 MB, free: 12.02 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.19e-05/0.02543, allocations: 4 kB / 277.4 MB, free: 12.02 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0002409/0.02567, allocations: 275.2 kB / 277.7 MB, free: 11.75 MB / 282.7 MB Notification: Performance of sort global known variables: time 7e-08/0.02567, allocations: 0 / 277.7 MB, free: 11.75 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0002874/0.02596, allocations: 56 kB / 277.7 MB, free: 11.7 MB / 282.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.003105/0.02907, allocations: 0.5549 MB / 278.3 MB, free: 11.12 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0001737/0.02924, allocations: 88.69 kB / 278.4 MB, free: 11.04 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.206e-05/0.02925, allocations: 8 kB / 278.4 MB, free: 11.03 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 7.441e-05/0.02933, allocations: 52.7 kB / 278.4 MB, free: 10.97 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004114/0.02974, allocations: 121.8 kB / 278.6 MB, free: 10.86 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001714/0.03145, allocations: 0.7891 MB / 279.4 MB, free: 10.03 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001257/0.03158, allocations: 152.5 kB / 279.5 MB, free: 9.863 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0001666/0.03174, allocations: 62.91 kB / 279.6 MB, free: 9.801 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001974/0.03194, allocations: 111.3 kB / 279.7 MB, free: 9.691 MB / 282.7 MB Notification: Performance of SimCode: time 7.62e-07/0.03194, allocations: 0 / 279.7 MB, free: 9.691 MB / 282.7 MB Notification: Performance of Templates: time 0.008619/0.04056, allocations: 4.784 MB / 284.5 MB, free: 4.902 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test23.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test23.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test23.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test23.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test23.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test23 -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test23.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test23_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/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: 2.9792357869446278]