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.001386/0.001386, allocations: 80.92 kB / 21.49 MB, free: 2.996 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.00156/0.00156, allocations: 169.9 kB / 24.91 MB, free: 8.723 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.9871/0.9871, allocations: 177.1 MB / 205.3 MB, free: 5.098 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.2417/0.2417, allocations: 32.8 MB / 294.6 MB, free: 1.145 MB / 266.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.282e-06/1.282e-06, allocations: 0 / 323.2 MB, free: 9.711 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.84e-05/1.969e-05, allocations: 2.969 kB / 323.2 MB, free: 9.707 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test23): time 0.002357/0.002377, allocations: 2.086 MB / 325.3 MB, free: 7.609 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001637/0.004014, allocations: 1.394 MB / 326.7 MB, free: 6.207 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001055/0.00412, allocations: 7.938 kB / 326.7 MB, free: 6.199 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002273/0.004347, allocations: 63.38 kB / 326.8 MB, free: 6.137 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000381/0.004728, allocations: 219 kB / 327 MB, free: 5.922 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009018/0.00563, allocations: 0.608 MB / 327.6 MB, free: 5.312 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003313/0.005961, allocations: 362.8 kB / 328 MB, free: 4.957 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001212/0.006082, allocations: 47.62 kB / 328 MB, free: 4.914 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002389/0.006321, allocations: 191.4 kB / 328.2 MB, free: 4.727 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001738/0.006495, allocations: 179.5 kB / 328.4 MB, free: 4.551 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.477e-05/0.00652, allocations: 16 kB / 328.4 MB, free: 4.535 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001004/0.00662, allocations: 63.92 kB / 328.4 MB, free: 4.473 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001122/0.006732, allocations: 163.4 kB / 328.6 MB, free: 4.312 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 6.343e-05/0.006796, allocations: 87.58 kB / 328.7 MB, free: 4.227 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004148/0.00721, allocations: 338.6 kB / 329 MB, free: 3.895 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.074e-06/0.007212, allocations: 0 / 329 MB, free: 3.895 MB / 298.7 MB Notification: Performance of FrontEnd: time 6.82e-07/0.007213, allocations: 0 / 329 MB, free: 3.895 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.388e-06/0.007218, allocations: 0 / 329 MB, free: 3.895 MB / 298.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.0005856/0.007803, allocations: 0.6973 MB / 329.7 MB, free: 3.172 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.734e-05/0.00783, allocations: 12.03 kB / 329.7 MB, free: 3.16 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002038/0.008034, allocations: 72.86 kB / 329.8 MB, free: 3.09 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002909/0.008325, allocations: 338.5 kB / 330.1 MB, free: 2.73 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.112e-05/0.008336, allocations: 8.375 kB / 330.1 MB, free: 2.723 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.5e-05/0.008361, allocations: 16.33 kB / 330.2 MB, free: 2.707 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001451/0.008506, allocations: 124.6 kB / 330.3 MB, free: 2.57 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.879e-06/0.008516, allocations: 7.938 kB / 330.3 MB, free: 2.562 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.082e-05/0.008527, allocations: 8 kB / 330.3 MB, free: 2.555 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.29e-06/0.008532, allocations: 0 / 330.3 MB, free: 2.555 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.042e-05/0.008583, allocations: 29.23 kB / 330.3 MB, free: 2.527 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004008/0.008984, allocations: 390.8 kB / 330.7 MB, free: 2.125 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001013/0.009085, allocations: 69.14 kB / 330.8 MB, free: 2.039 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.888e-05/0.009114, allocations: 21.97 kB / 330.8 MB, free: 2.012 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.814e-05/0.009132, allocations: 7.938 kB / 330.8 MB, free: 2.004 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.1e-05/0.009153, allocations: 42.55 kB / 330.8 MB, free: 1.953 MB / 298.7 MB Notification: Performance of pre-optimization done (n=12): time 1.533e-06/0.009155, allocations: 4 kB / 330.8 MB, free: 1.949 MB / 298.7 MB Notification: Performance of matching and sorting (n=20): time 0.000568/0.009723, allocations: 277 kB / 331.1 MB, free: 1.672 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.284e-05/0.009755, allocations: 77.11 kB / 331.2 MB, free: 1.578 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000359/0.01011, allocations: 0.5837 MB / 331.8 MB, free: 0.9805 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.756e-05/0.01013, allocations: 25.7 kB / 331.8 MB, free: 0.9492 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.085e-05/0.0102, allocations: 174.3 kB / 332 MB, free: 0.7695 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.427e-05/0.01025, allocations: 67.38 kB / 332 MB, free: 0.7031 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.675e-05/0.01029, allocations: 41.67 kB / 332.1 MB, free: 0.6562 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0003381/0.01063, allocations: 370.7 kB / 332.4 MB, free: 292 kB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.823e-05/0.01067, allocations: 23.98 kB / 332.5 MB, free: 268 kB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.849e-05/0.01072, allocations: 45.61 kB / 332.5 MB, free: 216 kB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.842e-05/0.01081, allocations: 68.62 kB / 332.6 MB, free: 140 kB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.202e-06/0.01081, allocations: 4 kB / 332.6 MB, free: 136 kB / 298.7 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0001457/0.01095, allocations: 125.5 kB / 332.7 MB, free: 4 kB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.001e-05/0.01097, allocations: 8.047 kB / 332.7 MB, free: 15.99 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.991e-06/0.01098, allocations: 3.938 kB / 332.7 MB, free: 15.99 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.089e-05/0.01099, allocations: 0 / 332.7 MB, free: 15.99 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000124/0.01111, allocations: 47.91 kB / 332.8 MB, free: 15.95 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.288e-06/0.01112, allocations: 7.984 kB / 332.8 MB, free: 15.94 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.465e-05/0.01118, allocations: 12 kB / 332.8 MB, free: 15.93 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.068e-05/0.01119, allocations: 4.203 kB / 332.8 MB, free: 15.92 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.459e-05/0.01128, allocations: 128.6 kB / 332.9 MB, free: 15.79 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.151e-05/0.01133, allocations: 39.89 kB / 332.9 MB, free: 15.75 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000224/0.01155, allocations: 187.1 kB / 333.1 MB, free: 15.55 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.088e-06/0.01156, allocations: 4 kB / 333.1 MB, free: 15.55 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.543e-06/0.01156, allocations: 3.938 kB / 333.1 MB, free: 15.54 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.747e-06/0.01156, allocations: 3.984 kB / 333.1 MB, free: 15.54 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004606/0.01202, allocations: 0.4942 MB / 333.6 MB, free: 15.02 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.286e-06/0.01203, allocations: 7.922 kB / 333.6 MB, free: 15.01 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.79e-05/0.01213, allocations: 43.95 kB / 333.7 MB, free: 14.97 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.774e-06/0.01213, allocations: 0 / 333.7 MB, free: 14.97 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.507e-06/0.01214, allocations: 4 kB / 333.7 MB, free: 14.96 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.084e-06/0.01214, allocations: 4 kB / 333.7 MB, free: 14.96 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.223e-06/0.01214, allocations: 0 / 333.7 MB, free: 14.96 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001802/0.01232, allocations: 302.6 kB / 334 MB, free: 14.65 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.455e-05/0.01237, allocations: 59.55 kB / 334 MB, free: 14.59 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.758e-05/0.01239, allocations: 4 kB / 334.1 MB, free: 14.59 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.393e-05/0.01249, allocations: 12 kB / 334.1 MB, free: 14.57 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.311e-05/0.01253, allocations: 23.95 kB / 334.1 MB, free: 14.55 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.606e-06/0.01254, allocations: 4 kB / 334.1 MB, free: 14.55 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0001971/0.01274, allocations: 299.4 kB / 334.4 MB, free: 14.26 MB / 314.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01274, allocations: 0 / 334.4 MB, free: 14.26 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0002148/0.01295, allocations: 71.92 kB / 334.5 MB, free: 14.19 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.001039/0.01399, allocations: 0.507 MB / 335 MB, free: 13.95 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0001362/0.01413, allocations: 83.33 kB / 335 MB, free: 13.86 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 6.633e-06/0.01413, allocations: 4 kB / 335 MB, free: 13.86 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 6.132e-05/0.01419, allocations: 60.69 kB / 335.1 MB, free: 13.8 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002969/0.01449, allocations: 89.17 kB / 335.2 MB, free: 13.71 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000897/0.01539, allocations: 0.8218 MB / 336 MB, free: 12.86 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.658e-05/0.01548, allocations: 153.7 kB / 336.2 MB, free: 12.69 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0001117/0.0156, allocations: 67.22 kB / 336.2 MB, free: 12.62 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001402/0.01574, allocations: 107.3 kB / 336.3 MB, free: 12.52 MB / 314.7 MB Notification: Performance of SimCode: time 7.72e-07/0.01574, allocations: 3.938 kB / 336.3 MB, free: 12.51 MB / 314.7 MB Notification: Performance of Templates: time 0.007012/0.02275, allocations: 4.851 MB / 341.2 MB, free: 7.754 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: 2.9577932967804372]