Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test67.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.002235/0.002235, allocations: 92.31 kB / 20.96 MB, free: 3.477 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.002556/0.002556, allocations: 165.7 kB / 24.27 MB, free: 172 kB / 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 1.62/1.62, allocations: 177.1 MB / 204.6 MB, free: 5.605 MB / 186.7 MB " [Timeout remaining time 178] 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.3692/0.3692, allocations: 32.8 MB / 293.9 MB, free: 1.184 MB / 266.7 MB " [Timeout remaining time 179] 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.Test67,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_s.y.1.|d_t_s.y|t_min.y.1.|d_t_min.y|t_h.y.1.|d_t_h.y|t_d.y.1.|d_t_d.y|t_ms.y.1.|d_t_ms.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test67") translateModel(ModelicaTest.Tables.CombiTimeTable.Test67,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_s.y.1.|d_t_s.y|t_min.y.1.|d_t_min.y|t_h.y.1.|d_t_h.y|t_d.y.1.|d_t_d.y|t_ms.y.1.|d_t_ms.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test67") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.432e-06/1.432e-06, allocations: 0 / 375.3 MB, free: 4.902 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.458e-05/2.601e-05, allocations: 5.547 kB / 375.3 MB, free: 4.898 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test67): time 0.003789/0.003815, allocations: 2.241 MB / 377.6 MB, free: 2.641 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.002708/0.006523, allocations: 1.357 MB / 378.9 MB, free: 1.277 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001362/0.006659, allocations: 7.938 kB / 378.9 MB, free: 1.27 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006126/0.007272, allocations: 286.9 kB / 379.2 MB, free: 0.9883 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0007026/0.007975, allocations: 342.4 kB / 379.6 MB, free: 0.6523 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004617/0.008436, allocations: 223.4 kB / 379.8 MB, free: 444 kB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007336/0.00917, allocations: 0.5724 MB / 380.4 MB, free: 15.86 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001404/0.00931, allocations: 37.27 kB / 380.4 MB, free: 15.82 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004167/0.009727, allocations: 299.2 kB / 380.7 MB, free: 15.53 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003779/0.0101, allocations: 263.3 kB / 380.9 MB, free: 15.27 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 5.225e-05/0.01016, allocations: 20 kB / 381 MB, free: 15.25 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001366/0.01029, allocations: 59.92 kB / 381 MB, free: 15.19 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.00016/0.01045, allocations: 119.5 kB / 381.1 MB, free: 15.07 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001458/0.0106, allocations: 99.58 kB / 381.2 MB, free: 14.98 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005568/0.01116, allocations: 418.4 kB / 381.6 MB, free: 14.57 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.236e-06/0.01116, allocations: 0 / 381.6 MB, free: 14.57 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.183e-06/0.01116, allocations: 4 kB / 381.6 MB, free: 14.56 MB / 362.7 MB Notification: Performance of Transformations before backend: time 6.442e-06/0.01117, allocations: 0 / 381.6 MB, free: 14.56 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.001552/0.01272, allocations: 0.7379 MB / 382.4 MB, free: 13.79 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.246e-05/0.01275, allocations: 8.031 kB / 382.4 MB, free: 13.78 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001531/0.0129, allocations: 68.56 kB / 382.5 MB, free: 13.71 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006253/0.01353, allocations: 356.4 kB / 382.8 MB, free: 13.34 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.612e-05/0.01356, allocations: 16.38 kB / 382.8 MB, free: 13.32 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.954e-05/0.01361, allocations: 16.33 kB / 382.8 MB, free: 13.31 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004703/0.01408, allocations: 214.8 kB / 383 MB, free: 13.08 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.748e-05/0.01409, allocations: 7.938 kB / 383.1 MB, free: 13.07 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.213e-05/0.01412, allocations: 4 kB / 383.1 MB, free: 13.07 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.885e-06/0.01412, allocations: 4 kB / 383.1 MB, free: 13.06 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002983/0.01442, allocations: 111.8 kB / 383.2 MB, free: 12.95 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00103/0.01545, allocations: 0.7821 MB / 384 MB, free: 12.12 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007253/0.01618, allocations: 293.2 kB / 384.2 MB, free: 11.79 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002414/0.01642, allocations: 92.19 kB / 384.3 MB, free: 11.69 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.615e-05/0.01644, allocations: 12 kB / 384.3 MB, free: 11.68 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004725/0.01692, allocations: 235.5 kB / 384.6 MB, free: 11.42 MB / 362.7 MB Notification: Performance of pre-optimization done (n=30): time 1.493e-06/0.01692, allocations: 0 / 384.6 MB, free: 11.42 MB / 362.7 MB Notification: Performance of matching and sorting (n=40): time 0.002417/0.01934, allocations: 1.08 MB / 385.7 MB, free: 10.33 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001318/0.01947, allocations: 166.2 kB / 385.8 MB, free: 10.13 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009146/0.02038, allocations: 0.6748 MB / 386.5 MB, free: 9.445 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 4.334e-05/0.02043, allocations: 37.7 kB / 386.5 MB, free: 9.402 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002399/0.02067, allocations: 241 kB / 386.8 MB, free: 9.164 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001323/0.0208, allocations: 123.1 kB / 386.9 MB, free: 9.043 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001227/0.02092, allocations: 74.19 kB / 387 MB, free: 8.965 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0002284/0.02115, allocations: 374.8 kB / 387.3 MB, free: 8.59 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002651/0.02141, allocations: 104.9 kB / 387.4 MB, free: 8.488 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003599/0.02177, allocations: 197.4 kB / 387.6 MB, free: 8.266 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006386/0.02241, allocations: 308.8 kB / 387.9 MB, free: 7.934 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.773e-06/0.02241, allocations: 0 / 387.9 MB, free: 7.934 MB / 362.7 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0009086/0.02332, allocations: 440.9 kB / 388.3 MB, free: 7.496 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.76e-05/0.02334, allocations: 4 kB / 388.4 MB, free: 7.492 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.748e-06/0.02335, allocations: 4 kB / 388.4 MB, free: 7.488 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.668e-05/0.02338, allocations: 12.09 kB / 388.4 MB, free: 7.477 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003464/0.02372, allocations: 87.83 kB / 388.5 MB, free: 7.391 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.163e-05/0.02373, allocations: 4 kB / 388.5 MB, free: 7.387 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002122/0.02395, allocations: 23.94 kB / 388.5 MB, free: 7.363 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.377e-05/0.02398, allocations: 16 kB / 388.5 MB, free: 7.348 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.000519/0.0245, allocations: 216.2 kB / 388.7 MB, free: 7.129 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000141/0.02464, allocations: 71.62 kB / 388.8 MB, free: 7.059 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00109/0.02573, allocations: 498 kB / 389.3 MB, free: 6.562 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.238e-05/0.02574, allocations: 11.94 kB / 389.3 MB, free: 6.551 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.121e-06/0.02575, allocations: 1.312 kB / 389.3 MB, free: 6.551 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.651e-06/0.02575, allocations: 0 / 389.3 MB, free: 6.551 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001941/0.0277, allocations: 1.225 MB / 390.5 MB, free: 5.27 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.542e-06/0.0277, allocations: 4 kB / 390.5 MB, free: 5.266 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001815/0.02788, allocations: 64.06 kB / 390.6 MB, free: 5.203 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.536e-06/0.02789, allocations: 4 kB / 390.6 MB, free: 5.199 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.27e-05/0.02792, allocations: 12 kB / 390.6 MB, free: 5.188 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.071e-06/0.02793, allocations: 4.391 kB / 390.6 MB, free: 5.184 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.893e-06/0.02794, allocations: 7.984 kB / 390.6 MB, free: 5.176 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001232/0.02917, allocations: 0.8751 MB / 391.5 MB, free: 4.262 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.15e-05/0.02926, allocations: 63.55 kB / 391.5 MB, free: 4.199 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.096e-05/0.02933, allocations: 8 kB / 391.5 MB, free: 4.191 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003714/0.0297, allocations: 27.98 kB / 391.6 MB, free: 4.164 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000107/0.02981, allocations: 47.8 kB / 391.6 MB, free: 4.117 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.518e-05/0.02986, allocations: 23.98 kB / 391.6 MB, free: 4.094 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.000644/0.0305, allocations: 0.491 MB / 392.1 MB, free: 3.605 MB / 362.7 MB Notification: Performance of sort global known variables: time 8e-08/0.0305, allocations: 4 kB / 392.1 MB, free: 3.602 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.000569/0.03107, allocations: 83.95 kB / 392.2 MB, free: 3.52 MB / 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.002322/0.03339, allocations: 0.5081 MB / 392.7 MB, free: 3.215 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0007245/0.03412, allocations: 295.3 kB / 393 MB, free: 2.926 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 5.47e-06/0.03412, allocations: 4.312 kB / 393 MB, free: 2.922 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003599/0.03448, allocations: 153.2 kB / 393.2 MB, free: 2.773 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00112/0.0356, allocations: 155.7 kB / 393.3 MB, free: 2.633 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001808/0.03741, allocations: 0.9655 MB / 394.3 MB, free: 1.605 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000346/0.03775, allocations: 264.5 kB / 394.5 MB, free: 1.324 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0002404/0.03799, allocations: 87.38 kB / 394.6 MB, free: 1.238 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001388/0.03813, allocations: 56.48 kB / 394.7 MB, free: 1.184 MB / 362.7 MB Notification: Performance of SimCode: time 6.02e-07/0.03813, allocations: 0 / 394.7 MB, free: 1.184 MB / 362.7 MB Notification: Performance of Templates: time 0.01409/0.05222, allocations: 6.236 MB / 400.9 MB, free: 11.05 MB / 378.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test67.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test67.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test67.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test67.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test67.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test67 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test67.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test67_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test67/Test67.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test67.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 5.400137127027847]