Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.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.002248/0.002248, allocations: 96.2 kB / 20.21 MB, free: 4.195 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.00171/0.00171, allocations: 157.3 kB / 23.52 MB, free: 0.8945 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 1.63/1.63, allocations: 158.6 MB / 185.3 MB, free: 2.898 MB / 170.7 MB " [Timeout remaining time 178] 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.2381/0.2381, allocations: 32.37 MB / 270 MB, free: 14.88 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.CombiTable1D.Test23,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test23") translateModel(ModelicaTest.Tables.CombiTable1D.Test23,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test23") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.914e-06/1.914e-06, allocations: 0 / 346.9 MB, free: 9.805 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.803e-05/2.995e-05, allocations: 2.312 kB / 346.9 MB, free: 9.801 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1D.Test23): time 0.002285/0.002315, allocations: 1.561 MB / 348.5 MB, free: 8.234 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001092/0.003406, allocations: 1.056 MB / 349.6 MB, free: 7.172 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.639e-05/0.003463, allocations: 0 / 349.6 MB, free: 7.172 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002826/0.003745, allocations: 27.8 kB / 349.6 MB, free: 7.145 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002277/0.003973, allocations: 39.78 kB / 349.6 MB, free: 7.105 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002671/0.00424, allocations: 87.73 kB / 349.7 MB, free: 7.02 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001399/0.00438, allocations: 59.78 kB / 349.8 MB, free: 6.961 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001004/0.00448, allocations: 8 kB / 349.8 MB, free: 6.953 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.577e-05/0.004546, allocations: 39.89 kB / 349.8 MB, free: 6.914 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001205/0.004667, allocations: 19.92 kB / 349.8 MB, free: 6.895 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.015e-05/0.004687, allocations: 0 / 349.8 MB, free: 6.895 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001029/0.00479, allocations: 51.91 kB / 349.9 MB, free: 6.844 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 5.634e-05/0.004846, allocations: 7.984 kB / 349.9 MB, free: 6.836 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 4.205e-05/0.004888, allocations: 11.94 kB / 349.9 MB, free: 6.824 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002136/0.005102, allocations: 91.7 kB / 350 MB, free: 6.734 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.178e-06/0.005106, allocations: 0 / 350 MB, free: 6.734 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.603e-06/0.005108, allocations: 3.938 kB / 350 MB, free: 6.73 MB / 282.7 MB Notification: Performance of Transformations before backend: time 5.24e-06/0.005113, allocations: 0 / 350 MB, free: 6.73 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0005629/0.005676, allocations: 301.9 kB / 350.3 MB, free: 6.406 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.432e-05/0.00572, allocations: 16.03 kB / 350.3 MB, free: 6.391 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.673e-05/0.005777, allocations: 12.83 kB / 350.3 MB, free: 6.379 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001519/0.005929, allocations: 121.7 kB / 350.4 MB, free: 6.234 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.467e-05/0.005943, allocations: 4.375 kB / 350.4 MB, free: 6.23 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.834e-05/0.005972, allocations: 8.328 kB / 350.4 MB, free: 6.223 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001737/0.006145, allocations: 89.59 kB / 350.5 MB, free: 6.117 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.368e-05/0.006159, allocations: 4.188 kB / 350.5 MB, free: 6.113 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.382e-05/0.006173, allocations: 8.125 kB / 350.5 MB, free: 6.105 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.232e-06/0.006179, allocations: 0 / 350.5 MB, free: 6.105 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.097e-05/0.00627, allocations: 27.97 kB / 350.6 MB, free: 6.078 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003444/0.006614, allocations: 212.6 kB / 350.8 MB, free: 5.84 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002232/0.006838, allocations: 50.5 kB / 350.8 MB, free: 5.781 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.845e-05/0.006886, allocations: 16.94 kB / 350.8 MB, free: 5.762 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.562e-05/0.006912, allocations: 3.938 kB / 350.9 MB, free: 5.758 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.733e-05/0.006929, allocations: 30.56 kB / 350.9 MB, free: 5.719 MB / 282.7 MB Notification: Performance of pre-optimization done (n=3): time 9.32e-07/0.00693, allocations: 0 / 350.9 MB, free: 5.719 MB / 282.7 MB Notification: Performance of matching and sorting (n=5): time 0.0005654/0.007495, allocations: 149.7 kB / 351 MB, free: 5.566 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.086e-05/0.007536, allocations: 81.09 kB / 351.1 MB, free: 5.469 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001136/0.00765, allocations: 136.5 kB / 351.2 MB, free: 5.328 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 8.336e-06/0.007658, allocations: 25.7 kB / 351.3 MB, free: 5.297 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.815e-05/0.007696, allocations: 100.1 kB / 351.4 MB, free: 5.195 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.975e-05/0.007716, allocations: 11.91 kB / 351.4 MB, free: 5.184 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.263e-05/0.007749, allocations: 17.72 kB / 351.4 MB, free: 5.16 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 6.257e-05/0.007811, allocations: 318.8 kB / 351.7 MB, free: 4.84 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.717e-05/0.007878, allocations: 19.98 kB / 351.7 MB, free: 4.82 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.901e-05/0.007947, allocations: 67.39 kB / 351.8 MB, free: 4.742 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001209/0.008068, allocations: 56.77 kB / 351.8 MB, free: 4.684 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.91e-07/0.008069, allocations: 0 / 351.8 MB, free: 4.684 MB / 282.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001584/0.008227, allocations: 89.8 kB / 351.9 MB, free: 4.59 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.357e-05/0.008241, allocations: 4 kB / 351.9 MB, free: 4.586 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.009e-06/0.008246, allocations: 4 kB / 351.9 MB, free: 4.582 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.922e-05/0.008265, allocations: 7.984 kB / 351.9 MB, free: 4.574 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.437e-05/0.008319, allocations: 12.03 kB / 352 MB, free: 4.562 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.779e-06/0.008324, allocations: 0 / 352 MB, free: 4.562 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.991e-05/0.008364, allocations: 11.92 kB / 352 MB, free: 4.551 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.122e-06/0.00837, allocations: 7.938 kB / 352 MB, free: 4.543 MB / 282.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (5): * Single equations (assignments): 5 * 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 6.754e-05/0.008438, allocations: 113.8 kB / 352.1 MB, free: 4.422 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.199e-05/0.00847, allocations: 15.89 kB / 352.1 MB, free: 4.406 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002076/0.008677, allocations: 97.7 kB / 352.2 MB, free: 4.309 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.833e-06/0.008679, allocations: 0 / 352.2 MB, free: 4.309 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.949e-06/0.008684, allocations: 4 kB / 352.2 MB, free: 4.305 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.645e-06/0.008687, allocations: 4 kB / 352.2 MB, free: 4.301 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003026/0.008989, allocations: 290.1 kB / 352.5 MB, free: 3.98 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.313e-06/0.008991, allocations: 0 / 352.5 MB, free: 3.98 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.842e-05/0.009039, allocations: 15.98 kB / 352.5 MB, free: 3.965 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.413e-06/0.009041, allocations: 0 / 352.5 MB, free: 3.965 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.923e-06/0.009048, allocations: 0 / 352.5 MB, free: 3.965 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.253e-06/0.009049, allocations: 0 / 352.5 MB, free: 3.965 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.01e-07/0.00905, allocations: 0 / 352.5 MB, free: 3.965 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001806/0.00923, allocations: 191.4 kB / 352.7 MB, free: 3.762 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.047e-06/0.009239, allocations: 7.953 kB / 352.7 MB, free: 3.754 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.652e-05/0.009256, allocations: 192 / 352.7 MB, free: 3.754 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.692e-05/0.009333, allocations: 11.98 kB / 352.7 MB, free: 3.742 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.312e-05/0.009376, allocations: 0 / 352.7 MB, free: 3.742 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.616e-06/0.009379, allocations: 4 kB / 352.7 MB, free: 3.738 MB / 282.7 MB Notification: Performance of sorting global known variables: time 6.071e-05/0.00944, allocations: 111.2 kB / 352.8 MB, free: 3.629 MB / 282.7 MB Notification: Performance of sort global known variables: time 6e-08/0.00944, allocations: 0 / 352.8 MB, free: 3.629 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0002461/0.009686, allocations: 19.94 kB / 352.8 MB, free: 3.609 MB / 282.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (5): * Single equations (assignments): 5 * 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.001929/0.01162, allocations: 482.8 kB / 353.3 MB, free: 3.242 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0001998/0.01182, allocations: 55.95 kB / 353.4 MB, free: 3.188 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.693e-06/0.01182, allocations: 0 / 353.4 MB, free: 3.188 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 6.748e-05/0.01188, allocations: 27.92 kB / 353.4 MB, free: 3.16 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004073/0.01229, allocations: 29.45 kB / 353.4 MB, free: 3.133 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003947/0.01269, allocations: 160.4 kB / 353.6 MB, free: 2.949 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.359e-05/0.01274, allocations: 71.33 kB / 353.7 MB, free: 2.859 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 6.594e-05/0.01281, allocations: 15.84 kB / 353.7 MB, free: 2.844 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.208e-05/0.01285, allocations: 16.5 kB / 353.7 MB, free: 2.828 MB / 282.7 MB Notification: Performance of SimCode: time 9.42e-07/0.01285, allocations: 4 kB / 353.7 MB, free: 2.824 MB / 282.7 MB Notification: Performance of Templates: time 0.004242/0.01709, allocations: 1.436 MB / 355.1 MB, free: 1.395 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test23.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test23.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test23.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test23.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test23.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test23 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test23.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test23_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1D/Test23/Test23.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test23.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 5.038669512025081]