Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test7.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.001086/0.001086, allocations: 80.8 kB / 21.5 MB, free: 2.992 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.001163/0.001163, allocations: 168.4 kB / 24.91 MB, free: 8.27 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.9218/0.9218, allocations: 177.1 MB / 205.3 MB, free: 5.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.2492/0.2492, allocations: 32.8 MB / 294.6 MB, free: 1.242 MB / 266.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.CombiTimeTable.Test7,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test7") translateModel(ModelicaTest.Tables.CombiTimeTable.Test7,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test7") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.553e-06/1.553e-06, allocations: 0 / 323.3 MB, free: 9.637 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.414e-05/2.569e-05, allocations: 2.312 kB / 323.3 MB, free: 9.633 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test7): time 0.003275/0.003301, allocations: 1.773 MB / 325.1 MB, free: 7.848 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.00164/0.004941, allocations: 1.009 MB / 326.1 MB, free: 6.832 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.264e-05/0.005034, allocations: 7.938 kB / 326.1 MB, free: 6.824 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003844/0.005418, allocations: 103.7 kB / 326.2 MB, free: 6.723 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003492/0.005767, allocations: 135.4 kB / 326.3 MB, free: 6.59 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002204/0.005988, allocations: 83.59 kB / 326.4 MB, free: 6.508 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002023/0.00619, allocations: 127.6 kB / 326.5 MB, free: 6.383 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.199e-05/0.006282, allocations: 16.61 kB / 326.6 MB, free: 6.367 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001227/0.006405, allocations: 71.8 kB / 326.6 MB, free: 6.297 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001057/0.00651, allocations: 51.88 kB / 326.7 MB, free: 6.246 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.884e-05/0.006529, allocations: 7.984 kB / 326.7 MB, free: 6.238 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001167/0.006646, allocations: 63.86 kB / 326.8 MB, free: 6.176 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 5.598e-05/0.006702, allocations: 27.86 kB / 326.8 MB, free: 6.148 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 4.155e-05/0.006744, allocations: 27.86 kB / 326.8 MB, free: 6.121 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002236/0.006967, allocations: 115.6 kB / 326.9 MB, free: 6.008 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.845e-06/0.00697, allocations: 0 / 326.9 MB, free: 6.008 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.553e-06/0.006971, allocations: 0 / 326.9 MB, free: 6.008 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.809e-06/0.006976, allocations: 4 kB / 326.9 MB, free: 6.004 MB / 298.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.0005612/0.007538, allocations: 357.1 kB / 327.3 MB, free: 5.633 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.794e-05/0.007575, allocations: 8.031 kB / 327.3 MB, free: 5.625 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.421e-05/0.00762, allocations: 16.86 kB / 327.3 MB, free: 5.609 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001789/0.007799, allocations: 149.6 kB / 327.4 MB, free: 5.438 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.625e-05/0.007815, allocations: 4.375 kB / 327.4 MB, free: 5.434 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.165e-05/0.007836, allocations: 4.375 kB / 327.5 MB, free: 5.43 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001288/0.007965, allocations: 65.75 kB / 327.5 MB, free: 5.355 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.288e-05/0.007978, allocations: 7.938 kB / 327.5 MB, free: 5.348 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.04e-05/0.007989, allocations: 8 kB / 327.5 MB, free: 5.34 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.831e-06/0.007994, allocations: 4 kB / 327.5 MB, free: 5.336 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.07e-05/0.008025, allocations: 11.98 kB / 327.5 MB, free: 5.324 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002623/0.008287, allocations: 181.8 kB / 327.7 MB, free: 5.129 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001706/0.008458, allocations: 97.27 kB / 327.8 MB, free: 5.023 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.605e-05/0.008484, allocations: 8.859 kB / 327.8 MB, free: 5.012 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.294e-05/0.008497, allocations: 4 kB / 327.8 MB, free: 5.008 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001039/0.008601, allocations: 74.28 kB / 327.9 MB, free: 4.922 MB / 298.7 MB Notification: Performance of pre-optimization done (n=7): time 1.283e-06/0.008602, allocations: 0 / 327.9 MB, free: 4.922 MB / 298.7 MB Notification: Performance of matching and sorting (n=11): time 0.0004895/0.009092, allocations: 177.4 kB / 328.1 MB, free: 4.742 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.583e-05/0.009128, allocations: 55.41 kB / 328.1 MB, free: 4.676 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001628/0.00929, allocations: 204.4 kB / 328.3 MB, free: 4.461 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.862e-05/0.009309, allocations: 29.7 kB / 328.4 MB, free: 4.426 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.485e-05/0.009354, allocations: 100 kB / 328.5 MB, free: 4.324 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.171e-05/0.009396, allocations: 39.69 kB / 328.5 MB, free: 4.285 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.132e-05/0.009437, allocations: 25.7 kB / 328.5 MB, free: 4.254 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001045/0.009541, allocations: 330.8 kB / 328.8 MB, free: 3.922 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.517e-05/0.009566, allocations: 10.83 kB / 328.9 MB, free: 3.91 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.122e-05/0.009608, allocations: 29.69 kB / 328.9 MB, free: 3.875 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.095e-05/0.009679, allocations: 65.81 kB / 328.9 MB, free: 3.805 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.283e-06/0.00968, allocations: 0 / 328.9 MB, free: 3.805 MB / 298.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001138/0.009794, allocations: 77.64 kB / 329 MB, free: 3.723 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.331e-05/0.009807, allocations: 4 kB / 329 MB, free: 3.719 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.741e-06/0.009813, allocations: 3.938 kB / 329 MB, free: 3.715 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.609e-05/0.009829, allocations: 4 kB / 329 MB, free: 3.711 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.259e-05/0.009901, allocations: 19.98 kB / 329.1 MB, free: 3.691 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.817e-06/0.009905, allocations: 0 / 329.1 MB, free: 3.691 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.046e-05/0.009946, allocations: 4 kB / 329.1 MB, free: 3.688 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.177e-06/0.009955, allocations: 8.031 kB / 329.1 MB, free: 3.68 MB / 298.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 (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 8.114e-05/0.01004, allocations: 125.2 kB / 329.2 MB, free: 3.547 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.069e-05/0.01006, allocations: 11.98 kB / 329.2 MB, free: 3.535 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001475/0.0102, allocations: 87.81 kB / 329.3 MB, free: 3.441 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.597e-06/0.01021, allocations: 4 kB / 329.3 MB, free: 3.438 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.322e-06/0.01021, allocations: 0 / 329.3 MB, free: 3.438 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.567e-06/0.01021, allocations: 0 / 329.3 MB, free: 3.438 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000322/0.01053, allocations: 336.1 kB / 329.6 MB, free: 3.078 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.184e-06/0.01054, allocations: 8.062 kB / 329.6 MB, free: 3.07 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.496e-05/0.01058, allocations: 12 kB / 329.6 MB, free: 3.059 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.278e-06/0.01059, allocations: 4 kB / 329.6 MB, free: 3.055 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.736e-06/0.01059, allocations: 4 kB / 329.6 MB, free: 3.051 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.264e-06/0.0106, allocations: 0 / 329.6 MB, free: 3.051 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.0106, allocations: 0 / 329.6 MB, free: 3.051 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001663/0.01076, allocations: 238 kB / 329.9 MB, free: 2.797 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.079e-05/0.01079, allocations: 19.89 kB / 329.9 MB, free: 2.777 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.263e-05/0.01081, allocations: 4 kB / 329.9 MB, free: 2.773 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.012e-05/0.01088, allocations: 4 kB / 329.9 MB, free: 2.77 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.096e-05/0.01091, allocations: 7.984 kB / 329.9 MB, free: 2.762 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.712e-05/0.01093, allocations: 15.94 kB / 329.9 MB, free: 2.746 MB / 298.7 MB Notification: Performance of sorting global known variables: time 7.514e-05/0.011, allocations: 68.86 kB / 330 MB, free: 2.676 MB / 298.7 MB Notification: Performance of sort global known variables: time 7e-08/0.011, allocations: 0 / 330 MB, free: 2.676 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002699/0.01127, allocations: 31.94 kB / 330 MB, free: 2.645 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (12): * Single equations (assignments): 10 * 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.001885/0.01316, allocations: 0.6551 MB / 330.7 MB, free: 2.332 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001191/0.01327, allocations: 52.72 kB / 330.7 MB, free: 2.277 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 3.226e-06/0.01328, allocations: 0 / 330.7 MB, free: 2.277 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 5.051e-05/0.01333, allocations: 44.78 kB / 330.8 MB, free: 2.23 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002563/0.01358, allocations: 23.98 kB / 330.8 MB, free: 2.207 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004087/0.01399, allocations: 265.8 kB / 331.1 MB, free: 1.914 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.545e-05/0.01405, allocations: 79.27 kB / 331.1 MB, free: 1.816 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 5.158e-05/0.0141, allocations: 20.75 kB / 331.2 MB, free: 1.797 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.781e-05/0.01419, allocations: 75.36 kB / 331.2 MB, free: 1.723 MB / 298.7 MB Notification: Performance of SimCode: time 7.22e-07/0.01419, allocations: 3.938 kB / 331.2 MB, free: 1.719 MB / 298.7 MB Notification: Performance of Templates: time 0.003874/0.01806, allocations: 2.312 MB / 333.5 MB, free: 15.45 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test7.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test7.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test7.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test7.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test7.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test7 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test7.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test7_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test7/Test7.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: 2.8705178229138255]