Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test5.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.001161/0.001161, allocations: 95.2 kB / 20.43 MB, free: 4.145 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.001568/0.001568, allocations: 165 kB / 23.79 MB, free: 0.7812 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.073/1.073, allocations: 158.6 MB / 185.7 MB, free: 2.914 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.1534/0.1534, allocations: 32.37 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.Test5,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.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",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test5") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.703e-06/1.703e-06, allocations: 0 / 347.7 MB, free: 9.449 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.232e-05/3.402e-05, allocations: 9.344 kB / 347.7 MB, free: 9.441 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test5): time 0.003005/0.00304, allocations: 1.611 MB / 349.3 MB, free: 7.824 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.000689/0.003729, allocations: 315.5 kB / 349.6 MB, free: 7.512 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.25e-05/0.003801, allocations: 0 / 349.6 MB, free: 7.512 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003634/0.004164, allocations: 95.69 kB / 349.7 MB, free: 7.418 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002664/0.004431, allocations: 75.66 kB / 349.8 MB, free: 7.344 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002831/0.004714, allocations: 67.83 kB / 349.8 MB, free: 7.277 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002347/0.004949, allocations: 67.77 kB / 349.9 MB, free: 7.211 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001531/0.005102, allocations: 8 kB / 349.9 MB, free: 7.203 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001032/0.005205, allocations: 47.88 kB / 350 MB, free: 7.156 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001247/0.00533, allocations: 47.88 kB / 350 MB, free: 7.109 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.179e-05/0.005351, allocations: 4 kB / 350 MB, free: 7.105 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001015/0.005453, allocations: 35.92 kB / 350 MB, free: 7.07 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 6.142e-05/0.005514, allocations: 19.92 kB / 350.1 MB, free: 7.051 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 3.572e-05/0.00555, allocations: 7.938 kB / 350.1 MB, free: 7.043 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000206/0.005756, allocations: 79.73 kB / 350.1 MB, free: 6.965 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.998e-06/0.00576, allocations: 0 / 350.1 MB, free: 6.965 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.302e-06/0.005761, allocations: 0 / 350.1 MB, free: 6.965 MB / 282.7 MB Notification: Performance of Transformations before backend: time 8.416e-06/0.00577, allocations: 0 / 350.1 MB, free: 6.965 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.0004271/0.006197, allocations: 431.9 kB / 350.6 MB, free: 6.508 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.427e-05/0.006231, allocations: 12.03 kB / 350.6 MB, free: 6.496 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.915e-05/0.0063, allocations: 16.78 kB / 350.6 MB, free: 6.48 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.228e-05/0.006393, allocations: 149.8 kB / 350.7 MB, free: 6.309 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.007e-05/0.006403, allocations: 8.375 kB / 350.7 MB, free: 6.301 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.02e-05/0.006423, allocations: 384 / 350.8 MB, free: 6.301 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001011/0.006524, allocations: 54.95 kB / 350.8 MB, free: 6.238 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.789e-06/0.006534, allocations: 192 / 350.8 MB, free: 6.238 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.083e-05/0.006545, allocations: 4.125 kB / 350.8 MB, free: 6.234 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.41e-06/0.00655, allocations: 0 / 350.8 MB, free: 6.234 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.903e-05/0.006579, allocations: 11.94 kB / 350.8 MB, free: 6.223 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002607/0.00684, allocations: 287.7 kB / 351.1 MB, free: 5.906 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002021/0.007042, allocations: 43.06 kB / 351.1 MB, free: 5.852 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.536e-05/0.007057, allocations: 15.77 kB / 351.2 MB, free: 5.832 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.11e-05/0.007068, allocations: 7.938 kB / 351.2 MB, free: 5.824 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.324e-05/0.007081, allocations: 37.33 kB / 351.2 MB, free: 5.777 MB / 282.7 MB Notification: Performance of pre-optimization done (n=3): time 8.82e-07/0.007082, allocations: 0 / 351.2 MB, free: 5.777 MB / 282.7 MB Notification: Performance of matching and sorting (n=5): time 0.0002664/0.007349, allocations: 101.7 kB / 351.3 MB, free: 5.672 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.029e-05/0.007379, allocations: 55.41 kB / 351.4 MB, free: 5.605 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001204/0.007499, allocations: 234.6 kB / 351.6 MB, free: 5.359 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 7.064e-06/0.007506, allocations: 25.7 kB / 351.6 MB, free: 5.328 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.616e-05/0.007553, allocations: 150.9 kB / 351.8 MB, free: 5.176 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.298e-05/0.007576, allocations: 27.78 kB / 351.8 MB, free: 5.148 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.681e-05/0.007602, allocations: 27.38 kB / 351.8 MB, free: 5.113 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 8.581e-05/0.007688, allocations: 0.4923 MB / 352.3 MB, free: 4.609 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.685e-05/0.007705, allocations: 8 kB / 352.3 MB, free: 4.602 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.121e-05/0.007716, allocations: 4 kB / 352.3 MB, free: 4.598 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.117e-05/0.007747, allocations: 27.86 kB / 352.3 MB, free: 4.566 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.92e-07/0.007748, allocations: 0 / 352.3 MB, free: 4.566 MB / 282.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 5.484e-05/0.007803, allocations: 61.53 kB / 352.4 MB, free: 4.5 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.029e-05/0.007823, allocations: 8 kB / 352.4 MB, free: 4.492 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.491e-06/0.007829, allocations: 48 / 352.4 MB, free: 4.492 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.625e-05/0.007845, allocations: 7.969 kB / 352.4 MB, free: 4.484 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.651e-05/0.007882, allocations: 12 kB / 352.4 MB, free: 4.473 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.33e-06/0.007887, allocations: 4 kB / 352.4 MB, free: 4.469 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.657e-05/0.007904, allocations: 4 kB / 352.4 MB, free: 4.465 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.887e-06/0.007907, allocations: 3.938 kB / 352.4 MB, free: 4.461 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 4.692e-05/0.007954, allocations: 160.6 kB / 352.6 MB, free: 4.293 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.795e-05/0.007972, allocations: 19.84 kB / 352.6 MB, free: 4.273 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.864e-05/0.008061, allocations: 66.78 kB / 352.7 MB, free: 4.199 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.543e-06/0.008062, allocations: 0 / 352.7 MB, free: 4.199 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.058e-06/0.008067, allocations: 0 / 352.7 MB, free: 4.199 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.018e-06/0.008071, allocations: 3.984 kB / 352.7 MB, free: 4.195 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001623/0.008233, allocations: 329.4 kB / 353 MB, free: 3.832 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.21e-07/0.008234, allocations: 0 / 353 MB, free: 3.832 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.052e-05/0.008254, allocations: 11.98 kB / 353 MB, free: 3.82 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.032e-06/0.008255, allocations: 0 / 353 MB, free: 3.82 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.613e-06/0.008262, allocations: 8.188 kB / 353 MB, free: 3.812 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.904e-06/0.008264, allocations: 7.938 kB / 353 MB, free: 3.805 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.61e-07/0.008264, allocations: 0 / 353 MB, free: 3.805 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.623e-05/0.008341, allocations: 211.8 kB / 353.2 MB, free: 3.578 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.253e-06/0.008348, allocations: 3.953 kB / 353.2 MB, free: 3.574 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.295e-05/0.008361, allocations: 8 kB / 353.3 MB, free: 3.566 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.792e-05/0.008389, allocations: 3.984 kB / 353.3 MB, free: 3.562 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.618e-05/0.008435, allocations: 8 kB / 353.3 MB, free: 3.555 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.284e-06/0.008437, allocations: 0 / 353.3 MB, free: 3.555 MB / 282.7 MB Notification: Performance of sorting global known variables: time 6.402e-05/0.008501, allocations: 176.2 kB / 353.4 MB, free: 3.383 MB / 282.7 MB Notification: Performance of sort global known variables: time 5e-08/0.008501, allocations: 0 / 353.4 MB, free: 3.383 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001497/0.008651, allocations: 15.98 kB / 353.5 MB, free: 3.367 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.0008746/0.009525, allocations: 369.3 kB / 353.8 MB, free: 3.098 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0001001/0.009626, allocations: 31.61 kB / 353.8 MB, free: 3.062 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.764e-06/0.009627, allocations: 0 / 353.8 MB, free: 3.062 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 1.881e-05/0.009646, allocations: 23.67 kB / 353.9 MB, free: 3.035 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002053/0.009851, allocations: 25.12 kB / 353.9 MB, free: 3.012 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002952/0.01015, allocations: 210.6 kB / 354.1 MB, free: 2.777 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.222e-05/0.01018, allocations: 75.33 kB / 354.2 MB, free: 2.684 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 2.269e-05/0.0102, allocations: 11.92 kB / 354.2 MB, free: 2.672 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.414e-05/0.01023, allocations: 12.5 kB / 354.2 MB, free: 2.656 MB / 282.7 MB Notification: Performance of SimCode: time 7.41e-07/0.01023, allocations: 0 / 354.2 MB, free: 2.656 MB / 282.7 MB Notification: Performance of Templates: time 0.002858/0.01308, allocations: 1.245 MB / 355.4 MB, free: 1.422 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test5.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test5.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test5.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test5.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test5.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test5 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test5.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test5_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1Ds/Test5/Test5.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.336352963000536]