Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test31.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.001233/0.001233, allocations: 80.2 kB / 20.65 MB, free: 3.84 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.001541/0.001541, allocations: 173 kB / 24.05 MB, free: 456 kB / 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.9808/0.9808, allocations: 158.6 MB / 185.9 MB, free: 2.805 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.1507/0.1507, allocations: 32.37 MB / 270.7 MB, free: 14.53 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.Test31,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test31") translateModel(ModelicaTest.Tables.CombiTable1D.Test31,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test31") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.563e-06/1.563e-06, allocations: 0 / 348.1 MB, free: 9.176 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.138e-05/1.295e-05, allocations: 6.312 kB / 348.1 MB, free: 9.168 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1D.Test31): time 0.001596/0.001609, allocations: 1.586 MB / 349.7 MB, free: 7.578 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0003924/0.002002, allocations: 323.4 kB / 350 MB, free: 7.258 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.497e-05/0.002047, allocations: 0 / 350 MB, free: 7.258 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002438/0.00229, allocations: 127.6 kB / 350.2 MB, free: 7.133 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001423/0.002433, allocations: 87.64 kB / 350.2 MB, free: 7.047 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000168/0.002601, allocations: 95.73 kB / 350.3 MB, free: 6.953 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001142/0.002715, allocations: 87.73 kB / 350.4 MB, free: 6.867 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.405e-05/0.002789, allocations: 8 kB / 350.4 MB, free: 6.859 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.736e-05/0.002846, allocations: 55.86 kB / 350.5 MB, free: 6.805 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.389e-05/0.00294, allocations: 75.84 kB / 350.6 MB, free: 6.73 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.37e-05/0.002954, allocations: 4 kB / 350.6 MB, free: 6.727 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.641e-05/0.00301, allocations: 31.92 kB / 350.6 MB, free: 6.695 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 3.825e-05/0.003049, allocations: 23.92 kB / 350.6 MB, free: 6.672 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 2.394e-05/0.003072, allocations: 19.88 kB / 350.6 MB, free: 6.652 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001103/0.003183, allocations: 87.66 kB / 350.7 MB, free: 6.566 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.463e-06/0.003184, allocations: 0 / 350.7 MB, free: 6.566 MB / 282.7 MB Notification: Performance of FrontEnd: time 7.82e-07/0.003185, allocations: 0 / 350.7 MB, free: 6.566 MB / 282.7 MB Notification: Performance of Transformations before backend: time 3.406e-06/0.003188, allocations: 0 / 350.7 MB, free: 6.566 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.0002598/0.003448, allocations: 455.8 kB / 351.2 MB, free: 6.086 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.826e-05/0.003477, allocations: 8.031 kB / 351.2 MB, free: 6.078 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.489e-05/0.003501, allocations: 16.84 kB / 351.2 MB, free: 6.062 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.579e-05/0.003587, allocations: 160.2 kB / 351.4 MB, free: 5.879 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.001e-06/0.003593, allocations: 384 / 351.4 MB, free: 5.879 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.214e-05/0.003605, allocations: 384 / 351.4 MB, free: 5.879 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.917e-05/0.003675, allocations: 58.89 kB / 351.4 MB, free: 5.812 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.414e-06/0.003682, allocations: 4.188 kB / 351.4 MB, free: 5.809 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.49e-06/0.003687, allocations: 4.125 kB / 351.4 MB, free: 5.805 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.078e-06/0.003692, allocations: 0 / 351.4 MB, free: 5.805 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.718e-05/0.003709, allocations: 8 kB / 351.4 MB, free: 5.797 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001696/0.003878, allocations: 268.4 kB / 351.7 MB, free: 5.508 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001001/0.003978, allocations: 42.98 kB / 351.7 MB, free: 5.453 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.206e-05/0.00399, allocations: 11.69 kB / 351.7 MB, free: 5.438 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.781e-05/0.004008, allocations: 0 / 351.7 MB, free: 5.438 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.271e-05/0.004021, allocations: 37.33 kB / 351.8 MB, free: 5.391 MB / 282.7 MB Notification: Performance of pre-optimization done (n=3): time 1.302e-06/0.004022, allocations: 4 kB / 351.8 MB, free: 5.387 MB / 282.7 MB Notification: Performance of matching and sorting (n=5): time 0.0002035/0.004226, allocations: 93.59 kB / 351.9 MB, free: 5.289 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.289e-05/0.004239, allocations: 55.39 kB / 351.9 MB, free: 5.223 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.196e-05/0.004321, allocations: 261.7 kB / 352.2 MB, free: 4.949 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 4.328e-06/0.004325, allocations: 25.7 kB / 352.2 MB, free: 4.918 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.507e-05/0.00436, allocations: 162.8 kB / 352.4 MB, free: 4.754 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.671e-05/0.004377, allocations: 27.78 kB / 352.4 MB, free: 4.727 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.085e-05/0.004398, allocations: 19.38 kB / 352.4 MB, free: 4.699 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 4.468e-05/0.004442, allocations: 0.5079 MB / 352.9 MB, free: 4.18 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.526e-06/0.004451, allocations: 0 / 352.9 MB, free: 4.18 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.867e-06/0.00446, allocations: 4 kB / 352.9 MB, free: 4.176 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.297e-05/0.004483, allocations: 35.61 kB / 353 MB, free: 4.137 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.71e-07/0.004483, allocations: 0 / 353 MB, free: 4.137 MB / 282.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 4.748e-05/0.004531, allocations: 61.58 kB / 353 MB, free: 4.07 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.626e-06/0.004539, allocations: 4 kB / 353 MB, free: 4.066 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.768e-06/0.004543, allocations: 0 / 353 MB, free: 4.066 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.825e-06/0.004551, allocations: 0 / 353 MB, free: 4.066 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.186e-05/0.004583, allocations: 11.98 kB / 353 MB, free: 4.055 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.985e-06/0.004586, allocations: 7.938 kB / 353 MB, free: 4.047 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.937e-05/0.004605, allocations: 3.953 kB / 353 MB, free: 4.043 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.725e-06/0.004608, allocations: 0 / 353 MB, free: 4.043 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 3.626e-05/0.004644, allocations: 164.6 kB / 353.2 MB, free: 3.871 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.635e-05/0.004661, allocations: 15.89 kB / 353.2 MB, free: 3.855 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.85e-05/0.004729, allocations: 67.08 kB / 353.3 MB, free: 3.781 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.984e-06/0.004731, allocations: 4 kB / 353.3 MB, free: 3.777 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.353e-06/0.004732, allocations: 0 / 353.3 MB, free: 3.777 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.826e-06/0.004735, allocations: 0 / 353.3 MB, free: 3.777 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000149/0.004884, allocations: 317.9 kB / 353.6 MB, free: 3.434 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.362e-06/0.004886, allocations: 3.984 kB / 353.6 MB, free: 3.43 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.068e-05/0.004906, allocations: 8 kB / 353.6 MB, free: 3.422 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.232e-06/0.004907, allocations: 0 / 353.6 MB, free: 3.422 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.867e-06/0.004911, allocations: 4 kB / 353.6 MB, free: 3.418 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.613e-06/0.004913, allocations: 4 kB / 353.6 MB, free: 3.414 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.004914, allocations: 0 / 353.6 MB, free: 3.414 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.774e-05/0.004972, allocations: 203.8 kB / 353.8 MB, free: 3.195 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.615e-06/0.004979, allocations: 11.91 kB / 353.8 MB, free: 3.184 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.047e-06/0.004988, allocations: 4 kB / 353.8 MB, free: 3.18 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.936e-05/0.005018, allocations: 7.984 kB / 353.8 MB, free: 3.172 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.101e-05/0.005039, allocations: 0 / 353.8 MB, free: 3.172 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.774e-06/0.00504, allocations: 0 / 353.8 MB, free: 3.172 MB / 282.7 MB Notification: Performance of sorting global known variables: time 4.378e-05/0.005084, allocations: 192.1 kB / 354 MB, free: 2.984 MB / 282.7 MB Notification: Performance of sort global known variables: time 6e-08/0.005084, allocations: 0 / 354 MB, free: 2.984 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001432/0.005227, allocations: 23.94 kB / 354.1 MB, free: 2.961 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.0006386/0.005866, allocations: 374.2 kB / 354.4 MB, free: 2.688 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 6.051e-05/0.005927, allocations: 31.67 kB / 354.5 MB, free: 2.652 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.122e-06/0.005928, allocations: 0 / 354.5 MB, free: 2.652 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 1.6e-05/0.005944, allocations: 23.73 kB / 354.5 MB, free: 2.625 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001825/0.006126, allocations: 25.3 kB / 354.5 MB, free: 2.602 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002485/0.006375, allocations: 230.7 kB / 354.7 MB, free: 2.348 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.612e-05/0.006401, allocations: 67.34 kB / 354.8 MB, free: 2.262 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 2.447e-05/0.006425, allocations: 11.98 kB / 354.8 MB, free: 2.25 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.655e-05/0.006462, allocations: 74.2 kB / 354.9 MB, free: 2.176 MB / 282.7 MB Notification: Performance of SimCode: time 4.91e-07/0.006462, allocations: 0 / 354.9 MB, free: 2.176 MB / 282.7 MB Notification: Performance of Templates: time 0.002476/0.008938, allocations: 1.295 MB / 356.2 MB, free: 0.8906 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test31.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test31.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test31.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test31.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test31.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test31 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test31.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test31_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1D/Test31/Test31.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.1814212310127914]