Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test5.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.0007722/0.0007722, allocations: 77.36 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001089/0.001861, 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.0006613/0.0006613, allocations: 148.9 kB / 11.34 MB, free: 2.836 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009693/0.001631, 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.8966/0.8966, allocations: 173.4 MB / 186 MB, free: 7.527 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1622/1.059, allocations: 52.49 MB / 238.5 MB, free: 7.621 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.137/0.137, allocations: 32.79 MB / 272 MB, free: 6.301 MB / 266.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02448/0.1615, allocations: 12.54 MB / 284.5 MB, free: 9.715 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.CombiTable1Ds.Test5,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test5") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test5,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test5") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.262e-06/1.262e-06, allocations: 0 / 285.9 MB, free: 8.383 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.356e-05/2.482e-05, allocations: 5.547 kB / 285.9 MB, free: 8.379 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test5): time 0.002518/0.002543, allocations: 1.66 MB / 287.5 MB, free: 6.707 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006226/0.003166, allocations: 426.9 kB / 288 MB, free: 6.285 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.811e-05/0.003214, allocations: 3.938 kB / 288 MB, free: 6.281 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002158/0.00343, allocations: 91.67 kB / 288 MB, free: 6.191 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001357/0.003565, allocations: 67.73 kB / 288.1 MB, free: 6.125 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002347/0.0038, allocations: 87.64 kB / 288.2 MB, free: 6.039 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001475/0.003948, allocations: 87.69 kB / 288.3 MB, free: 5.953 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.899e-05/0.004027, allocations: 8.172 kB / 288.3 MB, free: 5.945 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001015/0.004128, allocations: 63.83 kB / 288.4 MB, free: 5.883 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.859e-05/0.004217, allocations: 47.89 kB / 288.4 MB, free: 5.836 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.68e-05/0.004234, allocations: 4 kB / 288.4 MB, free: 5.832 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.109e-05/0.004325, allocations: 43.92 kB / 288.5 MB, free: 5.789 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 4.472e-05/0.004369, allocations: 19.92 kB / 288.5 MB, free: 5.77 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 2.455e-05/0.004394, allocations: 11.94 kB / 288.5 MB, free: 5.758 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001524/0.004546, allocations: 83.67 kB / 288.6 MB, free: 5.676 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.037e-05/0.004557, allocations: 0 / 288.6 MB, free: 5.676 MB / 282.7 MB Notification: Performance of FrontEnd: time 8.72e-07/0.004557, allocations: 3.938 kB / 288.6 MB, free: 5.672 MB / 282.7 MB Notification: Performance of Transformations before backend: time 7.805e-06/0.004565, allocations: 0 / 288.6 MB, free: 5.672 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0003591/0.004924, allocations: 327.9 kB / 288.9 MB, free: 5.328 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.06e-05/0.004955, allocations: 16.03 kB / 288.9 MB, free: 5.312 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.918e-05/0.004984, allocations: 4.938 kB / 288.9 MB, free: 5.309 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001415/0.005126, allocations: 148.1 kB / 289.1 MB, free: 5.137 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.764e-06/0.005133, allocations: 384 / 289.1 MB, free: 5.137 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.082e-05/0.005154, allocations: 4.375 kB / 289.1 MB, free: 5.133 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.86e-05/0.005243, allocations: 58.94 kB / 289.1 MB, free: 5.066 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.17e-05/0.005254, allocations: 8.125 kB / 289.1 MB, free: 5.059 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.201e-05/0.005276, allocations: 3.938 kB / 289.1 MB, free: 5.055 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.181e-06/0.005283, allocations: 4 kB / 289.1 MB, free: 5.051 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.999e-05/0.005303, allocations: 8 kB / 289.1 MB, free: 5.043 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002162/0.005519, allocations: 179 kB / 289.3 MB, free: 4.852 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.795e-05/0.005567, allocations: 26.58 kB / 289.3 MB, free: 4.816 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.61e-05/0.005583, allocations: 12.94 kB / 289.4 MB, free: 4.801 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.641e-05/0.005599, allocations: 0 / 289.4 MB, free: 4.801 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.224e-05/0.005622, allocations: 38.5 kB / 289.4 MB, free: 4.754 MB / 282.7 MB Notification: Performance of pre-optimization done (n=4): time 8.12e-07/0.005622, allocations: 0 / 289.4 MB, free: 4.754 MB / 282.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004385/0.006061, allocations: 141.5 kB / 289.5 MB, free: 4.609 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.788e-05/0.006089, allocations: 59.34 kB / 289.6 MB, free: 4.539 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001199/0.006209, allocations: 180.2 kB / 289.8 MB, free: 4.348 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.563e-05/0.006224, allocations: 29.7 kB / 289.8 MB, free: 4.312 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.849e-05/0.006263, allocations: 104 kB / 289.9 MB, free: 4.207 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.158e-05/0.006284, allocations: 19.86 kB / 289.9 MB, free: 4.188 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.558e-05/0.00632, allocations: 25.7 kB / 289.9 MB, free: 4.156 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 8.272e-05/0.006403, allocations: 326.8 kB / 290.3 MB, free: 3.828 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.255e-05/0.006415, allocations: 4 kB / 290.3 MB, free: 3.824 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.376e-05/0.006429, allocations: 4 kB / 290.3 MB, free: 3.82 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.606e-05/0.006465, allocations: 32.81 kB / 290.3 MB, free: 3.785 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/0.006467, allocations: 3.938 kB / 290.3 MB, free: 3.781 MB / 282.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 6.97e-05/0.006537, allocations: 53.62 kB / 290.4 MB, free: 3.723 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.179e-05/0.006549, allocations: 12 kB / 290.4 MB, free: 3.711 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.527e-06/0.006552, allocations: 0 / 290.4 MB, free: 3.711 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.1e-05/0.006563, allocations: 0 / 290.4 MB, free: 3.711 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.122e-05/0.006634, allocations: 19.98 kB / 290.4 MB, free: 3.691 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.725e-06/0.006637, allocations: 0 / 290.4 MB, free: 3.691 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.347e-05/0.006661, allocations: 7.953 kB / 290.4 MB, free: 3.684 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.941e-06/0.006667, allocations: 4 kB / 290.4 MB, free: 3.68 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 (8): * Single equations (assignments): 8 * 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 5.836e-05/0.006725, allocations: 116.6 kB / 290.5 MB, free: 3.555 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.987e-05/0.006755, allocations: 12 kB / 290.5 MB, free: 3.543 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001015/0.006856, allocations: 79 kB / 290.6 MB, free: 3.465 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.044e-06/0.006858, allocations: 4 kB / 290.6 MB, free: 3.461 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.513e-06/0.00686, allocations: 0 / 290.6 MB, free: 3.461 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.836e-06/0.006863, allocations: 0 / 290.6 MB, free: 3.461 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002511/0.007114, allocations: 247.9 kB / 290.8 MB, free: 3.191 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.787e-06/0.007118, allocations: 4 kB / 290.8 MB, free: 3.188 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.166e-05/0.007169, allocations: 15.98 kB / 290.9 MB, free: 3.172 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.545e-05/0.007185, allocations: 15.91 kB / 290.9 MB, free: 3.156 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.595e-06/0.007187, allocations: 0 / 290.9 MB, free: 3.156 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.22e-06/0.007193, allocations: 0 / 290.9 MB, free: 3.156 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.617e-06/0.007196, allocations: 8.078 kB / 290.9 MB, free: 3.148 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.968e-06/0.0072, allocations: 8.438 kB / 290.9 MB, free: 3.141 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001103/0.007311, allocations: 168.2 kB / 291.1 MB, free: 2.957 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.249e-05/0.007323, allocations: 0 / 291.1 MB, free: 2.957 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.895e-05/0.007382, allocations: 4 kB / 291.1 MB, free: 2.953 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.091e-05/0.007413, allocations: 11.92 kB / 291.1 MB, free: 2.941 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.192e-06/0.007419, allocations: 3.984 kB / 291.1 MB, free: 2.938 MB / 282.7 MB Notification: Performance of sorting global known variables: time 5.842e-05/0.007477, allocations: 60.64 kB / 291.1 MB, free: 2.875 MB / 282.7 MB Notification: Performance of sort global known variables: time 7.1e-08/0.007478, allocations: 0 / 291.1 MB, free: 2.875 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001958/0.007673, allocations: 16 kB / 291.2 MB, free: 2.859 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 (8): * Single equations (assignments): 8 * 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.001545/0.009218, allocations: 0.6248 MB / 291.8 MB, free: 2.551 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 8.514e-05/0.009304, allocations: 32.78 kB / 291.8 MB, free: 2.516 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 6.311e-06/0.00931, allocations: 4 kB / 291.8 MB, free: 2.512 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 3.164e-05/0.009341, allocations: 40.77 kB / 291.9 MB, free: 2.469 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001921/0.009534, allocations: 82.52 kB / 291.9 MB, free: 2.383 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000419/0.009952, allocations: 235 kB / 292.2 MB, free: 2.121 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.862e-05/0.009991, allocations: 67.34 kB / 292.2 MB, free: 2.035 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 3.456e-05/0.01003, allocations: 13.17 kB / 292.2 MB, free: 2.023 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.086e-05/0.01009, allocations: 63.47 kB / 292.3 MB, free: 1.961 MB / 282.7 MB Notification: Performance of SimCode: time 7.91e-07/0.01009, allocations: 3.938 kB / 292.3 MB, free: 1.957 MB / 282.7 MB Notification: Performance of Templates: time 0.002952/0.01304, allocations: 1.481 MB / 293.8 MB, free: 0.4922 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test5.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test5.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test5.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test5.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test5.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test5 -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test5.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test5_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test5/Test5.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.6745040519163013]