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.001619/0.001619, allocations: 95.5 kB / 21.2 MB, free: 3.371 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.001359/0.001359, allocations: 160.5 kB / 24.55 MB, free: 16 kB / 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 0.9782/0.9782, allocations: 177 MB / 204.8 MB, free: 5.586 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.2979/0.2979, allocations: 34.86 MB / 296.3 MB, free: 0.5156 MB / 266.7 MB " [Timeout remaining time 180] 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.265e-06/2.265e-06, allocations: 0 / 378.8 MB, free: 1.973 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.988e-05/3.214e-05, allocations: 3.297 kB / 378.9 MB, free: 1.969 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test67): time 0.003881/0.003913, allocations: 2.336 MB / 381.2 MB, free: 15.62 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.002481/0.006393, allocations: 1.386 MB / 382.6 MB, free: 14.23 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001941/0.006587, allocations: 7.938 kB / 382.6 MB, free: 14.22 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006225/0.00721, allocations: 294.8 kB / 382.9 MB, free: 13.93 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0007442/0.007954, allocations: 342.5 kB / 383.2 MB, free: 13.59 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005023/0.008456, allocations: 227.3 kB / 383.4 MB, free: 13.37 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006324/0.009089, allocations: 0.5685 MB / 384 MB, free: 12.8 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001508/0.00924, allocations: 37.27 kB / 384 MB, free: 12.76 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003891/0.009629, allocations: 303.1 kB / 384.3 MB, free: 12.46 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003088/0.009937, allocations: 255.3 kB / 384.6 MB, free: 12.21 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 4.839e-05/0.009986, allocations: 24 kB / 384.6 MB, free: 12.19 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000144/0.01013, allocations: 59.92 kB / 384.7 MB, free: 12.13 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001359/0.01027, allocations: 123.5 kB / 384.8 MB, free: 12.01 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000119/0.01038, allocations: 107.5 kB / 384.9 MB, free: 11.91 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004345/0.01082, allocations: 322.6 kB / 385.2 MB, free: 11.59 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.518e-06/0.01082, allocations: 0 / 385.2 MB, free: 11.59 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.242e-06/0.01082, allocations: 0 / 385.2 MB, free: 11.59 MB / 362.7 MB Notification: Performance of Transformations before backend: time 7.674e-06/0.01083, allocations: 0 / 385.2 MB, free: 11.59 MB / 362.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.001068/0.0119, allocations: 0.838 MB / 386 MB, free: 10.71 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.926e-05/0.01195, allocations: 8.031 kB / 386 MB, free: 10.7 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000127/0.01208, allocations: 76.55 kB / 386.1 MB, free: 10.63 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004834/0.01256, allocations: 355.1 kB / 386.5 MB, free: 10.25 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.421e-05/0.01259, allocations: 8.359 kB / 386.5 MB, free: 10.24 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.867e-05/0.01263, allocations: 16.38 kB / 386.5 MB, free: 10.23 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003569/0.01299, allocations: 209.7 kB / 386.7 MB, free: 9.992 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.546e-05/0.01301, allocations: 192 / 386.7 MB, free: 9.992 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.246e-05/0.01303, allocations: 12.38 kB / 386.7 MB, free: 9.98 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.243e-05/0.01304, allocations: 7.938 kB / 386.7 MB, free: 9.973 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001543/0.01319, allocations: 63.88 kB / 386.8 MB, free: 9.91 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009157/0.01411, allocations: 1.015 MB / 387.8 MB, free: 8.84 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003878/0.0145, allocations: 263.7 kB / 388 MB, free: 8.52 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001087/0.01461, allocations: 98.34 kB / 388.1 MB, free: 8.402 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.792e-05/0.01462, allocations: 8 kB / 388.2 MB, free: 8.395 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002404/0.01486, allocations: 219.3 kB / 388.4 MB, free: 8.145 MB / 362.7 MB Notification: Performance of pre-optimization done (n=30): time 1.573e-06/0.01487, allocations: 0 / 388.4 MB, free: 8.145 MB / 362.7 MB Notification: Performance of matching and sorting (n=40): time 0.001194/0.01606, allocations: 0.943 MB / 389.3 MB, free: 7.191 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.269e-05/0.01612, allocations: 166.2 kB / 389.5 MB, free: 6.992 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004894/0.01661, allocations: 0.5768 MB / 390 MB, free: 6.398 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 3.129e-05/0.01664, allocations: 41.7 kB / 390.1 MB, free: 6.352 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001378/0.01678, allocations: 295.7 kB / 390.4 MB, free: 6.059 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.878e-05/0.01687, allocations: 131 kB / 390.5 MB, free: 5.93 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.477e-05/0.01695, allocations: 75.84 kB / 390.6 MB, free: 5.848 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001519/0.0171, allocations: 0.5508 MB / 391.1 MB, free: 5.285 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.221e-05/0.01719, allocations: 56.97 kB / 391.2 MB, free: 5.23 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000132/0.01732, allocations: 173.8 kB / 391.4 MB, free: 5.02 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003844/0.01771, allocations: 253.1 kB / 391.6 MB, free: 4.73 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/0.01771, allocations: 0 / 391.6 MB, free: 4.73 MB / 362.7 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0003743/0.01808, allocations: 345.3 kB / 391.9 MB, free: 4.387 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.863e-05/0.0181, allocations: 8 kB / 391.9 MB, free: 4.379 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.143e-06/0.01811, allocations: 4 kB / 392 MB, free: 4.375 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.807e-05/0.01813, allocations: 8.156 kB / 392 MB, free: 4.367 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001889/0.01831, allocations: 83.89 kB / 392 MB, free: 4.285 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.064e-05/0.01833, allocations: 12 kB / 392.1 MB, free: 4.273 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.889e-05/0.01842, allocations: 21.44 kB / 392.1 MB, free: 4.254 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.651e-05/0.01844, allocations: 16 kB / 392.1 MB, free: 4.238 MB / 362.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 0.0001322/0.01857, allocations: 199 kB / 392.3 MB, free: 4.031 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.786e-05/0.01864, allocations: 83.56 kB / 392.4 MB, free: 3.949 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004506/0.01909, allocations: 401.7 kB / 392.8 MB, free: 3.547 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.56e-06/0.0191, allocations: 8 kB / 392.8 MB, free: 3.539 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.39e-06/0.0191, allocations: 7.938 kB / 392.8 MB, free: 3.531 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.083e-06/0.01911, allocations: 4 kB / 392.8 MB, free: 3.527 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009651/0.02007, allocations: 1.402 MB / 394.2 MB, free: 2.059 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.959e-06/0.02008, allocations: 4 kB / 394.2 MB, free: 2.055 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.885e-05/0.02018, allocations: 55.92 kB / 394.2 MB, free: 2 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.601e-06/0.02018, allocations: 4 kB / 394.2 MB, free: 1.996 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.112e-05/0.02021, allocations: 20.14 kB / 394.3 MB, free: 1.977 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.07e-06/0.02021, allocations: 8 kB / 394.3 MB, free: 1.969 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.156e-06/0.02021, allocations: 3.938 kB / 394.3 MB, free: 1.965 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008521/0.02107, allocations: 1.03 MB / 395.3 MB, free: 0.8867 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.367e-05/0.02111, allocations: 55.58 kB / 395.4 MB, free: 0.832 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.841e-05/0.02116, allocations: 19.98 kB / 395.4 MB, free: 0.8125 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001661/0.02132, allocations: 19.92 kB / 395.4 MB, free: 0.793 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.804e-05/0.02139, allocations: 39.88 kB / 395.4 MB, free: 0.7539 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.786e-05/0.02142, allocations: 20 kB / 395.5 MB, free: 0.7344 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0002624/0.02168, allocations: 398.8 kB / 395.8 MB, free: 356 kB / 362.7 MB Notification: Performance of sort global known variables: time 7e-08/0.02168, allocations: 0 / 395.8 MB, free: 356 kB / 362.7 MB Notification: Performance of remove unused functions: time 0.0003722/0.02205, allocations: 91.98 kB / 395.9 MB, free: 264 kB / 362.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.0009593/0.02301, allocations: 454.1 kB / 396.4 MB, free: 15.94 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0003275/0.02334, allocations: 236.2 kB / 396.6 MB, free: 15.7 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.274e-06/0.02334, allocations: 320 / 396.6 MB, free: 15.7 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001389/0.02348, allocations: 135.4 kB / 396.7 MB, free: 15.57 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006298/0.02411, allocations: 163.9 kB / 396.9 MB, free: 15.42 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001392/0.0255, allocations: 0.8747 MB / 397.8 MB, free: 14.47 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001027/0.02561, allocations: 133.9 kB / 397.9 MB, free: 14.32 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0001553/0.02576, allocations: 79.39 kB / 398 MB, free: 14.25 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.113e-05/0.02585, allocations: 64.42 kB / 398 MB, free: 14.18 MB / 378.7 MB Notification: Performance of SimCode: time 1.202e-06/0.02585, allocations: 0 / 398 MB, free: 14.18 MB / 378.7 MB Notification: Performance of Templates: time 0.009645/0.0355, allocations: 6.749 MB / 404.8 MB, free: 7.555 MB / 378.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.444066235795617]