Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test76.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.0008733/0.0008733, allocations: 81.95 kB / 21.44 MB, free: 3.051 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.00102/0.00102, allocations: 164 kB / 24.84 MB, free: 9.254 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.117/1.117, allocations: 158.6 MB / 186.7 MB, free: 2.809 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.1776/0.1776, allocations: 32.38 MB / 271.5 MB, free: 14.54 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.CombiTimeTable.Test76,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test76") translateModel(ModelicaTest.Tables.CombiTimeTable.Test76,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test76") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.744e-06/1.744e-06, allocations: 0 / 349 MB, free: 9.098 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.962e-05/3.136e-05, allocations: 9.344 kB / 349 MB, free: 9.09 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test76): time 0.003331/0.003362, allocations: 1.722 MB / 350.7 MB, free: 7.355 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001376/0.004738, allocations: 0.7803 MB / 351.5 MB, free: 6.566 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001261/0.004864, allocations: 0 / 351.5 MB, free: 6.566 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004116/0.005275, allocations: 59.67 kB / 351.6 MB, free: 6.508 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002964/0.005572, allocations: 51.77 kB / 351.6 MB, free: 6.457 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003039/0.005875, allocations: 91.62 kB / 351.7 MB, free: 6.367 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002067/0.006082, allocations: 123.7 kB / 351.8 MB, free: 6.246 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.988e-05/0.006182, allocations: 8.172 kB / 351.8 MB, free: 6.238 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001161/0.006298, allocations: 59.83 kB / 351.9 MB, free: 6.18 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001375/0.006436, allocations: 43.89 kB / 351.9 MB, free: 6.137 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.45e-05/0.00646, allocations: 4 kB / 351.9 MB, free: 6.133 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001119/0.006572, allocations: 39.98 kB / 352 MB, free: 6.094 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 7.05e-05/0.006642, allocations: 35.84 kB / 352 MB, free: 6.059 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 4.825e-05/0.006691, allocations: 23.92 kB / 352 MB, free: 6.035 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002339/0.006925, allocations: 115.5 kB / 352.1 MB, free: 5.922 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.248e-06/0.006929, allocations: 0 / 352.1 MB, free: 5.922 MB / 282.7 MB Notification: Performance of FrontEnd: time 3.065e-06/0.006932, allocations: 8 kB / 352.1 MB, free: 5.914 MB / 282.7 MB Notification: Performance of Transformations before backend: time 7.724e-06/0.00694, allocations: 0 / 352.1 MB, free: 5.914 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0006441/0.007584, allocations: 447.8 kB / 352.6 MB, free: 5.441 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.172e-05/0.007635, allocations: 8.031 kB / 352.6 MB, free: 5.434 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.034e-05/0.007696, allocations: 20.84 kB / 352.6 MB, free: 5.414 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001884/0.007884, allocations: 157.8 kB / 352.8 MB, free: 5.234 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.263e-05/0.007907, allocations: 4.375 kB / 352.8 MB, free: 5.23 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.124e-05/0.007928, allocations: 4.375 kB / 352.8 MB, free: 5.227 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001446/0.008073, allocations: 66.92 kB / 352.8 MB, free: 5.152 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.434e-05/0.008087, allocations: 3.938 kB / 352.8 MB, free: 5.148 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.169e-05/0.008099, allocations: 8 kB / 352.9 MB, free: 5.141 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.454e-06/0.008106, allocations: 0 / 352.9 MB, free: 5.141 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.582e-05/0.008162, allocations: 19.97 kB / 352.9 MB, free: 5.121 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003701/0.008532, allocations: 276.3 kB / 353.1 MB, free: 4.824 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001423/0.008674, allocations: 71.08 kB / 353.2 MB, free: 4.742 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.24e-05/0.008707, allocations: 27.67 kB / 353.2 MB, free: 4.711 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.425e-05/0.008721, allocations: 4 kB / 353.2 MB, free: 4.707 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000119/0.00884, allocations: 80.94 kB / 353.3 MB, free: 4.613 MB / 282.7 MB Notification: Performance of pre-optimization done (n=8): time 1.543e-06/0.008841, allocations: 0 / 353.3 MB, free: 4.613 MB / 282.7 MB Notification: Performance of matching and sorting (n=10): time 0.0004427/0.009284, allocations: 169.4 kB / 353.5 MB, free: 4.441 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.69e-05/0.009311, allocations: 51.41 kB / 353.5 MB, free: 4.379 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000118/0.009429, allocations: 231.9 kB / 353.8 MB, free: 4.137 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.794e-05/0.009447, allocations: 29.7 kB / 353.8 MB, free: 4.102 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.15e-05/0.009499, allocations: 146.9 kB / 353.9 MB, free: 3.953 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.586e-05/0.009534, allocations: 35.73 kB / 354 MB, free: 3.918 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.863e-05/0.009583, allocations: 39.28 kB / 354 MB, free: 3.871 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 6.671e-05/0.00965, allocations: 0.4962 MB / 354.5 MB, free: 3.363 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.947e-05/0.009679, allocations: 8 kB / 354.5 MB, free: 3.355 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.086e-05/0.00972, allocations: 39.34 kB / 354.6 MB, free: 3.309 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.665e-05/0.009787, allocations: 59.3 kB / 354.6 MB, free: 3.242 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.715e-06/0.009789, allocations: 3.938 kB / 354.6 MB, free: 3.238 MB / 282.7 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001619/0.009951, allocations: 109.5 kB / 354.7 MB, free: 3.125 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.631e-05/0.009968, allocations: 4 kB / 354.7 MB, free: 3.121 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.551e-06/0.009973, allocations: 0 / 354.7 MB, free: 3.121 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.1e-05/0.009984, allocations: 0 / 354.7 MB, free: 3.121 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.586e-05/0.01008, allocations: 23.98 kB / 354.7 MB, free: 3.098 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.921e-06/0.01009, allocations: 4 kB / 354.8 MB, free: 3.094 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.949e-05/0.01013, allocations: 3.938 kB / 354.8 MB, free: 3.09 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.283e-05/0.01014, allocations: 8.031 kB / 354.8 MB, free: 3.082 MB / 282.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 5 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (12): * Single equations (assignments): 12 * 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 7.516e-05/0.01021, allocations: 164.5 kB / 354.9 MB, free: 2.91 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.54e-05/0.01024, allocations: 15.91 kB / 354.9 MB, free: 2.895 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000203/0.01044, allocations: 129.9 kB / 355.1 MB, free: 2.762 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.188e-06/0.01045, allocations: 4 kB / 355.1 MB, free: 2.758 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.074e-06/0.01045, allocations: 0 / 355.1 MB, free: 2.758 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.209e-06/0.01045, allocations: 3.984 kB / 355.1 MB, free: 2.754 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003579/0.01081, allocations: 401.4 kB / 355.5 MB, free: 2.324 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.306e-06/0.01081, allocations: 0 / 355.5 MB, free: 2.324 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.246e-05/0.01088, allocations: 31.95 kB / 355.5 MB, free: 2.293 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.858e-06/0.01088, allocations: 0 / 355.5 MB, free: 2.293 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.027e-05/0.01089, allocations: 0 / 355.5 MB, free: 2.293 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.398e-06/0.0109, allocations: 4 kB / 355.5 MB, free: 2.289 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.134e-06/0.0109, allocations: 0 / 355.5 MB, free: 2.289 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002064/0.0111, allocations: 271.5 kB / 355.8 MB, free: 2 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.048e-05/0.01112, allocations: 11.91 kB / 355.8 MB, free: 1.988 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.334e-05/0.01115, allocations: 4 kB / 355.8 MB, free: 1.984 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.302e-05/0.01122, allocations: 7.984 kB / 355.8 MB, free: 1.977 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.641e-05/0.01126, allocations: 11.92 kB / 355.8 MB, free: 1.965 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.833e-05/0.01128, allocations: 12 kB / 355.8 MB, free: 1.953 MB / 282.7 MB Notification: Performance of sorting global known variables: time 6.674e-05/0.01134, allocations: 163.8 kB / 356 MB, free: 1.793 MB / 282.7 MB Notification: Performance of sort global known variables: time 8e-08/0.01134, allocations: 0 / 356 MB, free: 1.793 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0002725/0.01161, allocations: 27.98 kB / 356 MB, free: 1.766 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: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (13): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.00121/0.01282, allocations: 445.8 kB / 356.4 MB, free: 1.422 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0001465/0.01297, allocations: 59.59 kB / 356.5 MB, free: 1.359 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.954e-06/0.01297, allocations: 0 / 356.5 MB, free: 1.359 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 5.781e-05/0.01303, allocations: 43.55 kB / 356.5 MB, free: 1.312 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003248/0.01336, allocations: 36.09 kB / 356.6 MB, free: 1.277 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004168/0.01377, allocations: 241.5 kB / 356.8 MB, free: 1.012 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.823e-05/0.01381, allocations: 67.34 kB / 356.9 MB, free: 0.9258 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 5.666e-05/0.01387, allocations: 20.62 kB / 356.9 MB, free: 0.9062 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.927e-05/0.01395, allocations: 90.19 kB / 357 MB, free: 0.8164 MB / 282.7 MB Notification: Performance of SimCode: time 7.41e-07/0.01395, allocations: 0 / 357 MB, free: 0.8164 MB / 282.7 MB Notification: Performance of Templates: time 0.004061/0.01801, allocations: 2.339 MB / 359.3 MB, free: 14.5 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test76.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test76.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test76.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test76.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test76.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test76 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test76.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test76_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test76/Test76.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.569519425742328]