Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test44.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.001057/0.001057, allocations: 81.86 kB / 21.44 MB, free: 3.055 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.001069/0.001069, allocations: 166.2 kB / 24.84 MB, free: 9.297 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.9058/0.9058, allocations: 158.6 MB / 186.7 MB, free: 2.793 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.1393/0.1393, allocations: 32.37 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.Test44,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test44") translateModel(ModelicaTest.Tables.CombiTimeTable.Test44,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test44") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.413e-06/1.413e-06, allocations: 0 / 349 MB, free: 9.098 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.687e-05/1.828e-05, allocations: 8.281 kB / 349 MB, free: 9.09 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test44): time 0.002026/0.002045, allocations: 1.725 MB / 350.7 MB, free: 7.355 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009739/0.003019, allocations: 0.7881 MB / 351.5 MB, free: 6.559 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001063/0.003125, allocations: 0 / 351.5 MB, free: 6.559 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004234/0.003548, allocations: 39.77 kB / 351.5 MB, free: 6.52 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000254/0.003802, allocations: 63.69 kB / 351.6 MB, free: 6.457 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002765/0.004079, allocations: 91.64 kB / 351.7 MB, free: 6.367 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001723/0.004251, allocations: 95.69 kB / 351.8 MB, free: 6.273 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001146/0.004366, allocations: 4.234 kB / 351.8 MB, free: 6.27 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.61e-05/0.004442, allocations: 51.83 kB / 351.8 MB, free: 6.219 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.648e-05/0.004508, allocations: 23.91 kB / 351.9 MB, free: 6.195 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.79e-05/0.004526, allocations: 4 kB / 351.9 MB, free: 6.191 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.932e-05/0.004596, allocations: 47.91 kB / 351.9 MB, free: 6.145 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 4.657e-05/0.004642, allocations: 31.86 kB / 351.9 MB, free: 6.113 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 3.035e-05/0.004672, allocations: 19.94 kB / 352 MB, free: 6.094 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001391/0.004812, allocations: 95.59 kB / 352.1 MB, free: 6 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.114e-06/0.004814, allocations: 4 kB / 352.1 MB, free: 5.996 MB / 282.7 MB Notification: Performance of FrontEnd: time 5.11e-07/0.004814, allocations: 0 / 352.1 MB, free: 5.996 MB / 282.7 MB Notification: Performance of Transformations before backend: time 4.197e-06/0.004818, allocations: 0 / 352.1 MB, free: 5.996 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0003388/0.005157, allocations: 447.8 kB / 352.5 MB, free: 5.523 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.311e-05/0.00519, allocations: 12.03 kB / 352.5 MB, free: 5.512 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.312e-05/0.005223, allocations: 20.78 kB / 352.5 MB, free: 5.492 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001262/0.00535, allocations: 149.8 kB / 352.7 MB, free: 5.32 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.675e-05/0.005366, allocations: 384 / 352.7 MB, free: 5.32 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.492e-05/0.005381, allocations: 8.375 kB / 352.7 MB, free: 5.312 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.052e-05/0.005472, allocations: 62.88 kB / 352.7 MB, free: 5.242 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.586e-06/0.00548, allocations: 3.938 kB / 352.8 MB, free: 5.238 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.773e-06/0.005487, allocations: 4 kB / 352.8 MB, free: 5.234 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.899e-06/0.005492, allocations: 0 / 352.8 MB, free: 5.234 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.48e-05/0.005517, allocations: 11.98 kB / 352.8 MB, free: 5.223 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000203/0.00572, allocations: 260.4 kB / 353 MB, free: 4.941 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.358e-05/0.005803, allocations: 51.09 kB / 353.1 MB, free: 4.879 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.886e-05/0.005822, allocations: 19.66 kB / 353.1 MB, free: 4.855 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.14e-05/0.005834, allocations: 8 kB / 353.1 MB, free: 4.848 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.955e-05/0.005913, allocations: 68.98 kB / 353.2 MB, free: 4.766 MB / 282.7 MB Notification: Performance of pre-optimization done (n=6): time 1.292e-06/0.005915, allocations: 0 / 353.2 MB, free: 4.766 MB / 282.7 MB Notification: Performance of matching and sorting (n=8): time 0.0003205/0.006235, allocations: 133.5 kB / 353.3 MB, free: 4.629 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.08e-05/0.006266, allocations: 51.41 kB / 353.3 MB, free: 4.566 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001095/0.006375, allocations: 231.9 kB / 353.6 MB, free: 4.324 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 9.538e-06/0.006385, allocations: 25.7 kB / 353.6 MB, free: 4.293 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.707e-05/0.006432, allocations: 154.8 kB / 353.8 MB, free: 4.137 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.857e-05/0.006461, allocations: 27.78 kB / 353.8 MB, free: 4.109 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.276e-05/0.006493, allocations: 31.36 kB / 353.8 MB, free: 4.07 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 7.084e-05/0.006564, allocations: 0.5001 MB / 354.3 MB, free: 3.559 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.879e-05/0.006583, allocations: 8 kB / 354.3 MB, free: 3.551 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.906e-05/0.006612, allocations: 31.3 kB / 354.3 MB, free: 3.512 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.67e-05/0.006659, allocations: 47.34 kB / 354.4 MB, free: 3.457 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/0.006661, allocations: 0 / 354.4 MB, free: 3.457 MB / 282.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001015/0.006762, allocations: 93.53 kB / 354.5 MB, free: 3.359 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.776e-05/0.00678, allocations: 4 kB / 354.5 MB, free: 3.355 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.393e-06/0.006787, allocations: 4 kB / 354.5 MB, free: 3.352 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.383e-05/0.006801, allocations: 32 / 354.5 MB, free: 3.352 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.284e-05/0.006874, allocations: 19.98 kB / 354.5 MB, free: 3.332 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.847e-06/0.006878, allocations: 0 / 354.5 MB, free: 3.332 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.368e-05/0.006912, allocations: 8 kB / 354.5 MB, free: 3.324 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.035e-06/0.00692, allocations: 0 / 354.5 MB, free: 3.324 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 (10): * Single equations (assignments): 10 * 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.396e-05/0.006994, allocations: 172.4 kB / 354.7 MB, free: 3.145 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.826e-05/0.007012, allocations: 15.89 kB / 354.7 MB, free: 3.129 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001443/0.007156, allocations: 99.06 kB / 354.8 MB, free: 3.023 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.906e-06/0.007159, allocations: 0 / 354.8 MB, free: 3.023 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.523e-06/0.007161, allocations: 0 / 354.8 MB, free: 3.023 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.887e-06/0.007164, allocations: 4 kB / 354.8 MB, free: 3.02 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002631/0.007428, allocations: 365.5 kB / 355.2 MB, free: 2.625 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.205e-06/0.00743, allocations: 384 / 355.2 MB, free: 2.625 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.771e-05/0.007458, allocations: 8 kB / 355.2 MB, free: 2.617 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.498e-06/0.007462, allocations: 8 kB / 355.2 MB, free: 2.609 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.901e-06/0.007468, allocations: 0 / 355.2 MB, free: 2.609 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.553e-06/0.007469, allocations: 0 / 355.2 MB, free: 2.609 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.663e-06/0.007471, allocations: 4 kB / 355.2 MB, free: 2.605 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001024/0.007573, allocations: 255.4 kB / 355.4 MB, free: 2.332 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.889e-06/0.007583, allocations: 11.91 kB / 355.4 MB, free: 2.32 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.475e-05/0.007598, allocations: 8.016 kB / 355.5 MB, free: 2.312 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.853e-05/0.007637, allocations: 4 kB / 355.5 MB, free: 2.309 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.816e-05/0.007665, allocations: 11.98 kB / 355.5 MB, free: 2.297 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.135e-05/0.007676, allocations: 0 / 355.5 MB, free: 2.297 MB / 282.7 MB Notification: Performance of sorting global known variables: time 4.612e-05/0.007722, allocations: 163.8 kB / 355.6 MB, free: 2.137 MB / 282.7 MB Notification: Performance of sort global known variables: time 5e-08/0.007722, allocations: 0 / 355.6 MB, free: 2.137 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.000174/0.007896, allocations: 23.94 kB / 355.6 MB, free: 2.113 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 (9): * Single equations (assignments): 7 * 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.000844/0.00874, allocations: 438.6 kB / 356.1 MB, free: 1.777 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0001023/0.008843, allocations: 55.59 kB / 356.1 MB, free: 1.719 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 9.62e-07/0.008844, allocations: 3.938 kB / 356.1 MB, free: 1.715 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 3.061e-05/0.008874, allocations: 31.66 kB / 356.2 MB, free: 1.68 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002224/0.009097, allocations: 35.81 kB / 356.2 MB, free: 1.645 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002778/0.009374, allocations: 217.1 kB / 356.4 MB, free: 1.402 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.004e-05/0.009404, allocations: 71.33 kB / 356.5 MB, free: 1.312 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 3.139e-05/0.009436, allocations: 16.44 kB / 356.5 MB, free: 1.297 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.336e-05/0.009489, allocations: 90.31 kB / 356.6 MB, free: 1.207 MB / 282.7 MB Notification: Performance of SimCode: time 4.91e-07/0.00949, allocations: 0 / 356.6 MB, free: 1.207 MB / 282.7 MB Notification: Performance of Templates: time 0.003542/0.01303, allocations: 2.032 MB / 358.6 MB, free: 15.19 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test44.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test44.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test44.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test44.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test44.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test44 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test44.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test44_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test44/Test44.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.157859304919839]