Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test4.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.001028/0.001028, allocations: 81.97 kB / 22.21 MB, free: 2.289 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.0009973/0.0009973, allocations: 163.9 kB / 25.61 MB, free: 8.582 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.9866/0.9866, allocations: 177.1 MB / 206.1 MB, free: 4.477 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.1594/0.1594, allocations: 32.8 MB / 295.4 MB, free: 15.37 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.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.CombiTable1Ds.Test4,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y|d_t_new2.y|d2_t_new.y|d2_t_new2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test4") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test4,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y|d_t_new2.y|d2_t_new.y|d2_t_new2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test4") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.202e-06/1.202e-06, allocations: 0 / 377.3 MB, free: 25.58 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.354e-05/1.474e-05, allocations: 10.25 kB / 377.3 MB, free: 25.57 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test4): time 0.002017/0.002032, allocations: 1.668 MB / 379 MB, free: 23.89 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007764/0.002808, allocations: 0.5336 MB / 379.5 MB, free: 23.35 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.455e-05/0.002883, allocations: 0 / 379.5 MB, free: 23.35 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002922/0.003175, allocations: 99.61 kB / 379.6 MB, free: 23.25 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002772/0.003452, allocations: 115.5 kB / 379.7 MB, free: 23.14 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001958/0.003648, allocations: 95.62 kB / 379.8 MB, free: 23.05 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001497/0.003798, allocations: 103.7 kB / 379.9 MB, free: 22.95 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.007e-05/0.003888, allocations: 15.98 kB / 379.9 MB, free: 22.93 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.307e-05/0.003951, allocations: 51.88 kB / 380 MB, free: 22.88 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.264e-05/0.004033, allocations: 63.86 kB / 380 MB, free: 22.82 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 1.409e-05/0.004048, allocations: 8 kB / 380 MB, free: 22.81 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.387e-05/0.004121, allocations: 43.92 kB / 380.1 MB, free: 22.77 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 4.964e-05/0.004171, allocations: 31.84 kB / 380.1 MB, free: 22.73 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 2.604e-05/0.004197, allocations: 23.92 kB / 380.1 MB, free: 22.71 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000136/0.004333, allocations: 103.5 kB / 380.2 MB, free: 22.61 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.393e-06/0.004335, allocations: 0 / 380.2 MB, free: 22.61 MB / 314.7 MB Notification: Performance of FrontEnd: time 5.91e-07/0.004335, allocations: 0 / 380.2 MB, free: 22.61 MB / 314.7 MB Notification: Performance of Transformations before backend: time 4.349e-06/0.004339, allocations: 4 kB / 380.2 MB, free: 22.61 MB / 314.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0003222/0.004662, allocations: 467.6 kB / 380.7 MB, free: 22.11 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.347e-05/0.004695, allocations: 15.98 kB / 380.7 MB, free: 22.1 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.5e-05/0.00473, allocations: 28.84 kB / 380.7 MB, free: 22.07 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001048/0.004835, allocations: 152.4 kB / 380.9 MB, free: 21.89 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.176e-06/0.004843, allocations: 384 / 380.9 MB, free: 21.89 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.811e-05/0.004861, allocations: 12.31 kB / 380.9 MB, free: 21.88 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.797e-05/0.004949, allocations: 66.66 kB / 381 MB, free: 21.81 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.087e-05/0.00496, allocations: 8.172 kB / 381 MB, free: 21.8 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.953e-06/0.004967, allocations: 4.125 kB / 381 MB, free: 21.8 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.606e-06/0.004976, allocations: 0 / 381 MB, free: 21.8 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.858e-05/0.005004, allocations: 19.97 kB / 381 MB, free: 21.78 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002401/0.005244, allocations: 288.2 kB / 381.3 MB, free: 21.47 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.697e-05/0.005311, allocations: 59.03 kB / 381.3 MB, free: 21.4 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.153e-05/0.005333, allocations: 19.62 kB / 381.4 MB, free: 21.38 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.788e-05/0.005351, allocations: 4 kB / 381.4 MB, free: 21.38 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.673e-05/0.005367, allocations: 37.38 kB / 381.4 MB, free: 21.33 MB / 314.7 MB Notification: Performance of pre-optimization done (n=7): time 6.31e-07/0.005368, allocations: 0 / 381.4 MB, free: 21.33 MB / 314.7 MB Notification: Performance of matching and sorting (n=13): time 0.0005559/0.005924, allocations: 217.9 kB / 381.6 MB, free: 21.11 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.482e-05/0.005949, allocations: 55.41 kB / 381.7 MB, free: 21.04 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001137/0.006062, allocations: 251.5 kB / 381.9 MB, free: 20.78 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.009e-05/0.006073, allocations: 29.7 kB / 381.9 MB, free: 20.74 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.205e-05/0.006125, allocations: 162.8 kB / 382.1 MB, free: 20.58 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.167e-05/0.006156, allocations: 39.64 kB / 382.1 MB, free: 20.54 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.499e-05/0.006191, allocations: 35.36 kB / 382.2 MB, free: 20.5 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 6.94e-05/0.006261, allocations: 0.5 MB / 382.7 MB, free: 19.98 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.81e-05/0.006279, allocations: 11.98 kB / 382.7 MB, free: 19.97 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.17e-05/0.0063, allocations: 19.98 kB / 382.7 MB, free: 19.95 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.877e-05/0.006349, allocations: 50.23 kB / 382.7 MB, free: 19.9 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.11e-07/0.00635, allocations: 0 / 382.7 MB, free: 19.9 MB / 314.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001008/0.006451, allocations: 93.58 kB / 382.8 MB, free: 19.8 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.414e-05/0.006465, allocations: 14.19 kB / 382.9 MB, free: 19.79 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.05e-06/0.00647, allocations: 0 / 382.9 MB, free: 19.79 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.235e-05/0.006482, allocations: 0 / 382.9 MB, free: 19.79 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.693e-05/0.006569, allocations: 27.98 kB / 382.9 MB, free: 19.77 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.601e-06/0.006575, allocations: 0 / 382.9 MB, free: 19.77 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.16e-05/0.006596, allocations: 11.88 kB / 382.9 MB, free: 19.75 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.621e-06/0.006602, allocations: 0 / 382.9 MB, free: 19.75 MB / 314.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 (13): * Single equations (assignments): 13 * 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.06e-05/0.006663, allocations: 168.5 kB / 383.1 MB, free: 19.58 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.632e-05/0.006689, allocations: 19.91 kB / 383.1 MB, free: 19.56 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001514/0.00684, allocations: 119.1 kB / 383.2 MB, free: 19.43 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.056e-06/0.006843, allocations: 4 kB / 383.2 MB, free: 19.43 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.874e-06/0.006845, allocations: 0 / 383.2 MB, free: 19.43 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.37e-06/0.006851, allocations: 3.984 kB / 383.2 MB, free: 19.43 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002743/0.007125, allocations: 393.5 kB / 383.6 MB, free: 19 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.813e-06/0.007127, allocations: 0 / 383.6 MB, free: 19 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.032e-05/0.007177, allocations: 23.98 kB / 383.6 MB, free: 18.98 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.657e-06/0.007181, allocations: 0 / 383.6 MB, free: 18.98 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.224e-06/0.007188, allocations: 8 kB / 383.6 MB, free: 18.97 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.895e-06/0.007191, allocations: 3.984 kB / 383.6 MB, free: 18.97 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.693e-06/0.007193, allocations: 7.969 kB / 383.6 MB, free: 18.96 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001101/0.007303, allocations: 259.4 kB / 383.9 MB, free: 18.68 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.056e-05/0.007313, allocations: 7.953 kB / 383.9 MB, free: 18.68 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.411e-05/0.007327, allocations: 4 kB / 383.9 MB, free: 18.67 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.62e-05/0.007364, allocations: 4 kB / 383.9 MB, free: 18.67 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.152e-05/0.007395, allocations: 11.92 kB / 383.9 MB, free: 18.66 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.941e-06/0.007401, allocations: 8 kB / 383.9 MB, free: 18.65 MB / 314.7 MB Notification: Performance of sorting global known variables: time 5.502e-05/0.007456, allocations: 181.6 kB / 384.1 MB, free: 18.47 MB / 314.7 MB Notification: Performance of sort global known variables: time 6.1e-08/0.007456, allocations: 0 / 384.1 MB, free: 18.47 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.00019/0.007646, allocations: 27.94 kB / 384.1 MB, free: 18.45 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 (13): * Single equations (assignments): 13 * 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.0008804/0.008527, allocations: 443 kB / 384.6 MB, free: 18.18 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 9.468e-05/0.008621, allocations: 60.95 kB / 384.6 MB, free: 18.12 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.323e-06/0.008623, allocations: 0 / 384.6 MB, free: 18.12 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 2.881e-05/0.008651, allocations: 43.53 kB / 384.7 MB, free: 18.07 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002027/0.008854, allocations: 34.77 kB / 384.7 MB, free: 18.04 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002864/0.00914, allocations: 266.6 kB / 384.9 MB, free: 17.75 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.833e-05/0.009169, allocations: 79.25 kB / 385 MB, free: 17.65 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 3.78e-05/0.009207, allocations: 16.44 kB / 385 MB, free: 17.64 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.909e-05/0.009256, allocations: 86.19 kB / 385.1 MB, free: 17.55 MB / 314.7 MB Notification: Performance of SimCode: time 6.91e-07/0.009256, allocations: 0 / 385.1 MB, free: 17.55 MB / 314.7 MB Notification: Performance of Templates: time 0.003074/0.01233, allocations: 1.742 MB / 386.9 MB, free: 15.83 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test4.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test4.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test4.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test4.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test4.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test4 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test4.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test4_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test4/Test4.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.2068949923850596]