Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test20.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.001068/0.001068, allocations: 95.2 kB / 20.43 MB, free: 4.141 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.001101/0.001101, allocations: 165 kB / 23.79 MB, free: 0.7773 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 0.8483/0.8483, allocations: 158.6 MB / 185.7 MB, free: 2.91 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.1391/0.1391, allocations: 32.38 MB / 270.4 MB, free: 14.7 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.CombiTable1Ds.Test20,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.CombiTable1Ds.Test20") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test20,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.CombiTable1Ds.Test20") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.824e-06/1.824e-06, allocations: 0 / 347.7 MB, free: 9.434 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.393e-05/3.576e-05, allocations: 2.312 kB / 347.7 MB, free: 9.43 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test20): time 0.002278/0.002314, allocations: 1.609 MB / 349.3 MB, free: 7.816 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001108/0.003422, allocations: 1.048 MB / 350.3 MB, free: 6.762 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.566e-05/0.003488, allocations: 3.938 kB / 350.3 MB, free: 6.758 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002973/0.003785, allocations: 23.84 kB / 350.4 MB, free: 6.734 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002354/0.00402, allocations: 47.66 kB / 350.4 MB, free: 6.688 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002137/0.004234, allocations: 71.78 kB / 350.5 MB, free: 6.617 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001618/0.004396, allocations: 55.84 kB / 350.5 MB, free: 6.562 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001226/0.004519, allocations: 15.97 kB / 350.5 MB, free: 6.547 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.381e-05/0.004592, allocations: 27.86 kB / 350.6 MB, free: 6.52 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001181/0.00471, allocations: 19.92 kB / 350.6 MB, free: 6.5 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.164e-05/0.004732, allocations: 8 kB / 350.6 MB, free: 6.492 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001242/0.004856, allocations: 47.91 kB / 350.6 MB, free: 6.445 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 5.783e-05/0.004914, allocations: 15.92 kB / 350.7 MB, free: 6.43 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 3.176e-05/0.004946, allocations: 8 kB / 350.7 MB, free: 6.422 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001879/0.005134, allocations: 79.72 kB / 350.7 MB, free: 6.344 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.1e-06/0.005139, allocations: 0 / 350.7 MB, free: 6.344 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.633e-06/0.00514, allocations: 0 / 350.7 MB, free: 6.344 MB / 282.7 MB Notification: Performance of Transformations before backend: time 5.471e-06/0.005146, allocations: 0 / 350.7 MB, free: 6.344 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.0004278/0.005574, allocations: 416.1 kB / 351.2 MB, free: 5.902 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.874e-05/0.005612, allocations: 8.031 kB / 351.2 MB, free: 5.895 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.126e-05/0.005654, allocations: 8.938 kB / 351.2 MB, free: 5.887 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001383/0.005792, allocations: 136.4 kB / 351.3 MB, free: 5.727 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.056e-05/0.005803, allocations: 8.375 kB / 351.3 MB, free: 5.719 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.39e-05/0.005826, allocations: 384 / 351.3 MB, free: 5.719 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001322/0.005959, allocations: 100 kB / 351.4 MB, free: 5.598 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.027e-05/0.005969, allocations: 192 / 351.4 MB, free: 5.598 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.068e-05/0.00598, allocations: 4.125 kB / 351.4 MB, free: 5.594 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.306e-06/0.005988, allocations: 0 / 351.4 MB, free: 5.594 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.097e-05/0.006019, allocations: 11.92 kB / 351.4 MB, free: 5.582 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002558/0.006275, allocations: 263.9 kB / 351.7 MB, free: 5.289 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001671/0.006442, allocations: 43.05 kB / 351.7 MB, free: 5.234 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.291e-05/0.006465, allocations: 15.69 kB / 351.7 MB, free: 5.215 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.677e-05/0.006491, allocations: 11.95 kB / 351.8 MB, free: 5.203 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.093e-05/0.006512, allocations: 37.39 kB / 351.8 MB, free: 5.156 MB / 282.7 MB Notification: Performance of pre-optimization done (n=3): time 9.12e-07/0.006513, allocations: 0 / 351.8 MB, free: 5.156 MB / 282.7 MB Notification: Performance of matching and sorting (n=5): time 0.0003381/0.006851, allocations: 89.47 kB / 351.9 MB, free: 5.062 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.835e-05/0.00688, allocations: 85.11 kB / 352 MB, free: 4.961 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.597e-05/0.006966, allocations: 185.9 kB / 352.1 MB, free: 4.762 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 5.841e-06/0.006972, allocations: 25.7 kB / 352.2 MB, free: 4.73 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.122e-05/0.007003, allocations: 130.9 kB / 352.3 MB, free: 4.598 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.911e-05/0.007022, allocations: 27.83 kB / 352.3 MB, free: 4.57 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.861e-05/0.007051, allocations: 23.38 kB / 352.3 MB, free: 4.539 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 5.541e-05/0.007106, allocations: 496.1 kB / 352.8 MB, free: 4.043 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.639e-05/0.007122, allocations: 7.984 kB / 352.8 MB, free: 4.035 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.449e-05/0.007147, allocations: 53.14 kB / 352.9 MB, free: 3.969 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.147e-05/0.007178, allocations: 23.69 kB / 352.9 MB, free: 3.941 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.71e-07/0.007179, allocations: 0 / 352.9 MB, free: 3.941 MB / 282.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 8.612e-05/0.007265, allocations: 69.45 kB / 353 MB, free: 3.867 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.992e-05/0.007285, allocations: 8 kB / 353 MB, free: 3.859 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.883e-06/0.007292, allocations: 0 / 353 MB, free: 3.859 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.54e-05/0.007317, allocations: 0 / 353 MB, free: 3.859 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.657e-05/0.007364, allocations: 16.02 kB / 353 MB, free: 3.844 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.811e-06/0.00737, allocations: 0 / 353 MB, free: 3.844 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.869e-05/0.007388, allocations: 4 kB / 353 MB, free: 3.84 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.358e-06/0.007393, allocations: 0 / 353 MB, free: 3.84 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 5.326e-05/0.007446, allocations: 160.6 kB / 353.2 MB, free: 3.672 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.835e-05/0.007464, allocations: 12.17 kB / 353.2 MB, free: 3.66 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001051/0.007569, allocations: 65.73 kB / 353.2 MB, free: 3.594 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.154e-06/0.007572, allocations: 3.984 kB / 353.2 MB, free: 3.59 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.36e-06/0.007577, allocations: 4 kB / 353.2 MB, free: 3.586 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.266e-06/0.00758, allocations: 0 / 353.2 MB, free: 3.586 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000191/0.007771, allocations: 317.7 kB / 353.6 MB, free: 3.234 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.488e-06/0.007776, allocations: 8.047 kB / 353.6 MB, free: 3.227 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.615e-05/0.007802, allocations: 11.94 kB / 353.6 MB, free: 3.215 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.945e-06/0.007805, allocations: 0 / 353.6 MB, free: 3.215 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.466e-06/0.007813, allocations: 0 / 353.6 MB, free: 3.215 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.252e-06/0.007815, allocations: 0 / 353.6 MB, free: 3.215 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.007816, allocations: 0 / 353.6 MB, free: 3.215 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.619e-05/0.007902, allocations: 211.8 kB / 353.8 MB, free: 2.988 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.171e-06/0.007908, allocations: 3.953 kB / 353.8 MB, free: 2.984 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.709e-05/0.007925, allocations: 0 / 353.8 MB, free: 2.984 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.225e-05/0.007957, allocations: 11.98 kB / 353.8 MB, free: 2.973 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.922e-05/0.008007, allocations: 0 / 353.8 MB, free: 2.973 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.909e-06/0.008011, allocations: 8 kB / 353.8 MB, free: 2.965 MB / 282.7 MB Notification: Performance of sorting global known variables: time 4.978e-05/0.008061, allocations: 149.4 kB / 354 MB, free: 2.82 MB / 282.7 MB Notification: Performance of sort global known variables: time 5e-08/0.008061, allocations: 0 / 354 MB, free: 2.82 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001925/0.008254, allocations: 19.94 kB / 354 MB, free: 2.801 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.0009402/0.009194, allocations: 433.7 kB / 354.4 MB, free: 2.469 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0001066/0.009301, allocations: 31.67 kB / 354.4 MB, free: 2.434 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.264e-06/0.009303, allocations: 0 / 354.4 MB, free: 2.434 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 1.946e-05/0.009322, allocations: 19.81 kB / 354.4 MB, free: 2.41 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000195/0.009517, allocations: 23.92 kB / 354.5 MB, free: 2.387 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002817/0.009799, allocations: 158 kB / 354.6 MB, free: 2.203 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.726e-05/0.009826, allocations: 59.34 kB / 354.7 MB, free: 2.125 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 3.429e-05/0.00986, allocations: 8 kB / 354.7 MB, free: 2.117 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.122e-05/0.009892, allocations: 16.48 kB / 354.7 MB, free: 2.102 MB / 282.7 MB Notification: Performance of SimCode: time 3.71e-07/0.009892, allocations: 0 / 354.7 MB, free: 2.102 MB / 282.7 MB Notification: Performance of Templates: time 0.003008/0.0129, allocations: 1.436 MB / 356.1 MB, free: 0.6758 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test20.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test20.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test20.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test20.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test20.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test20 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test20.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test20_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1Ds/Test20/Test20.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.1101897940970957]