Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test67.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001258/0.001258, allocations: 84.34 kB / 22.21 MB, free: 2.285 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001941/0.001941, allocations: 158.9 kB / 25.61 MB, free: 8.887 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.108/1.108, allocations: 177 MB / 205.9 MB, free: 4.434 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1792/0.1792, allocations: 34.88 MB / 297.4 MB, free: 13.33 MB / 282.7 MB " [Timeout remaining time 179] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test67,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_s.y.[0-9,]+.|d_t_s.y|t_min.y.[0-9,]+.|d_t_min.y|t_h.y.[0-9,]+.|d_t_h.y|t_d.y.[0-9,]+.|d_t_d.y|t_ms.y.[0-9,]+.|d_t_ms.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test67") translateModel(ModelicaTest.Tables.CombiTimeTable.Test67,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_s.y.[0-9,]+.|d_t_s.y|t_min.y.[0-9,]+.|d_t_min.y|t_h.y.[0-9,]+.|d_t_h.y|t_d.y.[0-9,]+.|d_t_d.y|t_ms.y.[0-9,]+.|d_t_ms.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test67") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.344e-06/2.344e-06, allocations: 0 / 380.1 MB, free: 22.67 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.93e-05/3.164e-05, allocations: 5.969 kB / 380.1 MB, free: 22.66 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test67): time 0.003036/0.003067, allocations: 2.306 MB / 382.4 MB, free: 20.35 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.002113/0.00518, allocations: 1.366 MB / 383.8 MB, free: 18.98 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002079/0.005388, allocations: 7.938 kB / 383.8 MB, free: 18.97 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000553/0.005941, allocations: 290.9 kB / 384.1 MB, free: 18.69 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006106/0.006552, allocations: 350.4 kB / 384.4 MB, free: 18.34 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005104/0.007062, allocations: 227.3 kB / 384.6 MB, free: 18.12 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006171/0.007679, allocations: 0.5684 MB / 385.2 MB, free: 17.55 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001795/0.007859, allocations: 41.25 kB / 385.2 MB, free: 17.51 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002719/0.00813, allocations: 299.1 kB / 385.5 MB, free: 17.21 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002448/0.008375, allocations: 259.4 kB / 385.8 MB, free: 16.96 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 3.277e-05/0.008408, allocations: 20 kB / 385.8 MB, free: 16.94 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000115/0.008523, allocations: 63.91 kB / 385.9 MB, free: 16.88 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 9.565e-05/0.008619, allocations: 123.5 kB / 386 MB, free: 16.76 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 7.537e-05/0.008694, allocations: 103.5 kB / 386.1 MB, free: 16.66 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003029/0.008997, allocations: 322.6 kB / 386.4 MB, free: 16.34 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.516e-06/0.009001, allocations: 0 / 386.4 MB, free: 16.34 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.012e-06/0.009002, allocations: 0 / 386.4 MB, free: 16.34 MB / 314.7 MB Notification: Performance of Transformations before backend: time 8.526e-06/0.00901, allocations: 0 / 386.4 MB, free: 16.34 MB / 314.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 30 * Number of variables: 30 Notification: Performance of Generate backend data structure: time 0.0007554/0.009765, allocations: 0.8495 MB / 387.2 MB, free: 15.45 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.349e-05/0.009809, allocations: 8.031 kB / 387.2 MB, free: 15.45 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.903e-05/0.009888, allocations: 68.56 kB / 387.3 MB, free: 15.38 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003088/0.0102, allocations: 339.3 kB / 387.6 MB, free: 15.02 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.458e-05/0.01022, allocations: 16.31 kB / 387.7 MB, free: 15 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.905e-05/0.01025, allocations: 16.33 kB / 387.7 MB, free: 14.98 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002251/0.01048, allocations: 202.2 kB / 387.9 MB, free: 14.76 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.795e-05/0.01049, allocations: 4.188 kB / 387.9 MB, free: 14.75 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.383e-05/0.01051, allocations: 4.375 kB / 387.9 MB, free: 14.75 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.032e-05/0.01052, allocations: 7.938 kB / 387.9 MB, free: 14.74 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.598e-05/0.01059, allocations: 55.88 kB / 387.9 MB, free: 14.69 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005117/0.01111, allocations: 0.9449 MB / 388.9 MB, free: 13.7 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002317/0.01134, allocations: 259.6 kB / 389.1 MB, free: 13.38 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.848e-05/0.01141, allocations: 78.41 kB / 389.2 MB, free: 13.28 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.1e-05/0.01143, allocations: 7.938 kB / 389.2 MB, free: 13.27 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000188/0.01161, allocations: 219.2 kB / 389.4 MB, free: 13.02 MB / 314.7 MB Notification: Performance of pre-optimization done (n=30): time 1.392e-06/0.01162, allocations: 0 / 389.4 MB, free: 13.02 MB / 314.7 MB Notification: Performance of matching and sorting (n=40): time 0.0007824/0.0124, allocations: 0.5629 MB / 390 MB, free: 12.45 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.656e-05/0.01244, allocations: 170.2 kB / 390.2 MB, free: 12.25 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002881/0.01273, allocations: 0.5608 MB / 390.7 MB, free: 11.67 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 2.059e-05/0.01275, allocations: 37.7 kB / 390.8 MB, free: 11.63 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001059/0.01286, allocations: 295.6 kB / 391.1 MB, free: 11.34 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.1e-05/0.01293, allocations: 131 kB / 391.2 MB, free: 11.21 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.573e-05/0.013, allocations: 79.81 kB / 391.3 MB, free: 11.12 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 9.102e-05/0.01309, allocations: 0.5623 MB / 391.8 MB, free: 10.55 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.084e-05/0.01314, allocations: 40.97 kB / 391.9 MB, free: 10.5 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.758e-05/0.01323, allocations: 159.7 kB / 392 MB, free: 10.31 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001689/0.01339, allocations: 233 kB / 392.2 MB, free: 10.04 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.673e-06/0.0134, allocations: 0 / 392.2 MB, free: 10.04 MB / 314.7 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0002828/0.01368, allocations: 320.9 kB / 392.6 MB, free: 9.719 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.597e-05/0.01369, allocations: 12.16 kB / 392.6 MB, free: 9.707 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.182e-06/0.0137, allocations: 0 / 392.6 MB, free: 9.707 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.213e-05/0.01371, allocations: 4 kB / 392.6 MB, free: 9.703 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001571/0.01387, allocations: 79.89 kB / 392.7 MB, free: 9.625 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.402e-06/0.01388, allocations: 7.938 kB / 392.7 MB, free: 9.617 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.712e-05/0.01397, allocations: 27.92 kB / 392.7 MB, free: 9.59 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.554e-05/0.01399, allocations: 12 kB / 392.7 MB, free: 9.578 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 25 ($PRE.t_s.nextTimeEvent,$whenCondition5,t_s.nextTimeEventScaled,$PRE.t_s.nextTimeEventScaled,t_s.nextTimeEvent,$PRE.t_min.nextTimeEvent,$whenCondition4,t_min.nextTimeEventScaled,$PRE.t_min.nextTimeEventScaled,t_min.nextTimeEvent,$PRE.t_h.nextTimeEvent,$whenCondition3,t_h.nextTimeEventScaled,$PRE.t_h.nextTimeEventScaled,t_h.nextTimeEvent,$PRE.t_d.nextTimeEvent,$whenCondition2,t_d.nextTimeEventScaled,$PRE.t_d.nextTimeEventScaled,t_d.nextTimeEvent,$PRE.t_ms.nextTimeEvent,$whenCondition1,t_ms.nextTimeEventScaled,$PRE.t_ms.nextTimeEventScaled,t_ms.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (50): * Single equations (assignments): 50 * 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 9.978e-05/0.01409, allocations: 191.1 kB / 392.9 MB, free: 9.379 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.184e-05/0.01415, allocations: 79.58 kB / 393 MB, free: 9.301 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003712/0.01452, allocations: 386 kB / 393.3 MB, free: 8.914 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.519e-06/0.01453, allocations: 4 kB / 393.3 MB, free: 8.91 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.186e-06/0.01453, allocations: 4 kB / 393.4 MB, free: 8.906 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.302e-06/0.01454, allocations: 3.938 kB / 393.4 MB, free: 8.902 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007035/0.01524, allocations: 1.309 MB / 394.7 MB, free: 7.535 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.418e-06/0.01524, allocations: 7.938 kB / 394.7 MB, free: 7.527 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.209e-05/0.01534, allocations: 60.08 kB / 394.7 MB, free: 7.469 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.859e-06/0.01534, allocations: 4 kB / 394.7 MB, free: 7.465 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.665e-05/0.01536, allocations: 15.98 kB / 394.8 MB, free: 7.449 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.839e-06/0.01536, allocations: 7.938 kB / 394.8 MB, free: 7.441 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.955e-06/0.01537, allocations: 4 kB / 394.8 MB, free: 7.438 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004245/0.01579, allocations: 1.014 MB / 395.8 MB, free: 6.375 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.26e-05/0.01583, allocations: 55.56 kB / 395.8 MB, free: 6.32 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.396e-05/0.01588, allocations: 15.98 kB / 395.8 MB, free: 6.305 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001658/0.01604, allocations: 15.98 kB / 395.9 MB, free: 6.289 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.25e-05/0.0161, allocations: 39.95 kB / 395.9 MB, free: 6.25 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.587e-05/0.01613, allocations: 23.92 kB / 395.9 MB, free: 6.227 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0001833/0.01631, allocations: 366.6 kB / 396.3 MB, free: 5.871 MB / 314.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01631, allocations: 0 / 396.3 MB, free: 5.871 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0003685/0.01668, allocations: 95.92 kB / 396.4 MB, free: 5.777 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 15 ($whenCondition1,t_ms.nextTimeEvent,t_ms.nextTimeEventScaled,$whenCondition2,t_d.nextTimeEvent,t_d.nextTimeEventScaled,$whenCondition3,t_h.nextTimeEvent,t_h.nextTimeEventScaled,$whenCondition4,t_min.nextTimeEvent,t_min.nextTimeEventScaled,$whenCondition5,t_s.nextTimeEvent,t_s.nextTimeEventScaled) * Number of discrete states: 10 (t_s.nextTimeEvent,t_s.nextTimeEventScaled,t_min.nextTimeEvent,t_min.nextTimeEventScaled,t_h.nextTimeEvent,t_h.nextTimeEventScaled,t_d.nextTimeEvent,t_d.nextTimeEventScaled,t_ms.nextTimeEvent,t_ms.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (45): * Single equations (assignments): 35 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 10 * 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.0009889/0.01767, allocations: 453.9 kB / 396.8 MB, free: 5.5 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0002403/0.01791, allocations: 216.2 kB / 397 MB, free: 5.285 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.01791, allocations: 0 / 397 MB, free: 5.285 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001042/0.01802, allocations: 123.4 kB / 397.2 MB, free: 5.16 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006324/0.01865, allocations: 160.9 kB / 397.3 MB, free: 5.016 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001176/0.01983, allocations: 0.8614 MB / 398.2 MB, free: 4.082 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001002/0.01993, allocations: 137.8 kB / 398.3 MB, free: 3.93 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0001636/0.02009, allocations: 79.39 kB / 398.4 MB, free: 3.848 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002003/0.02029, allocations: 174.1 kB / 398.6 MB, free: 3.676 MB / 314.7 MB Notification: Performance of SimCode: time 4.81e-07/0.02029, allocations: 0 / 398.6 MB, free: 3.676 MB / 314.7 MB Notification: Performance of Templates: time 0.009285/0.02958, allocations: 6.99 MB / 405.5 MB, free: 12.81 MB / 330.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test67.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test67.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test67.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test67.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test67.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test67 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test67.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test67_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test67/Test67.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.902389026246965]