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.001648/0.001648, allocations: 80.2 kB / 21.25 MB, free: 0.5352 MB / 14.72 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.001937/0.001937, allocations: 160.9 kB / 24.5 MB, free: 3.715 MB / 14.72 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.565/1.565, allocations: 177.1 MB / 204.7 MB, free: 8.949 MB / 190.1 MB " [Timeout remaining time 178] 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.224/0.224, allocations: 34.26 MB / 295.4 MB, free: 14.45 MB / 286.1 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.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_trunk_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_trunk_ModelicaTest.Tables.CombiTimeTable.Test67") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002527/0.002527, allocations: 79.88 kB / 443.2 MB, free: 5.395 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3182/0.3207, allocations: 66.05 MB / 0.4973 GB, free: 1.504 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test67): time 0.00397/0.3247, allocations: 2.247 MB / 0.4995 GB, free: 15.24 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.002718/0.3274, allocations: 1.34 MB / 0.5008 GB, free: 13.9 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001429/0.3275, allocations: 7.938 kB / 0.5008 GB, free: 13.89 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006193/0.3281, allocations: 295 kB / 0.5011 GB, free: 13.6 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007802/0.3289, allocations: 342.6 kB / 0.5015 GB, free: 13.27 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000515/0.3294, allocations: 215.5 kB / 0.5017 GB, free: 13.05 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007364/0.3302, allocations: 0.5646 MB / 0.5022 GB, free: 12.49 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001574/0.3303, allocations: 40.94 kB / 0.5022 GB, free: 12.45 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003849/0.3307, allocations: 239 kB / 0.5025 GB, free: 12.21 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004118/0.3311, allocations: 294.9 kB / 0.5028 GB, free: 11.92 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 5.427e-05/0.3312, allocations: 20 kB / 0.5028 GB, free: 11.9 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001562/0.3313, allocations: 63.92 kB / 0.5028 GB, free: 11.84 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001735/0.3315, allocations: 115.5 kB / 0.5029 GB, free: 11.73 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001745/0.3317, allocations: 138.9 kB / 0.5031 GB, free: 11.59 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005679/0.3323, allocations: 432.6 kB / 0.5035 GB, free: 11.17 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.34e-06/0.3323, allocations: 0 / 0.5035 GB, free: 11.17 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.703e-06/0.3323, allocations: 0 / 0.5035 GB, free: 11.17 MB / 414.1 MB Notification: Performance of Transformations before backend: time 8.356e-06/0.3323, allocations: 0 / 0.5035 GB, free: 11.17 MB / 414.1 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.001307/0.3336, allocations: 0.7456 MB / 0.5042 GB, free: 10.39 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.101e-05/0.3336, allocations: 8.031 kB / 0.5042 GB, free: 10.38 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001174/0.3337, allocations: 64.55 kB / 0.5043 GB, free: 10.32 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006567/0.3344, allocations: 349.1 kB / 0.5046 GB, free: 9.953 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.306e-05/0.3344, allocations: 8.375 kB / 0.5046 GB, free: 9.945 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.364e-05/0.3345, allocations: 20.36 kB / 0.5046 GB, free: 9.926 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004446/0.3349, allocations: 218.1 kB / 0.5049 GB, free: 9.691 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.009e-05/0.3349, allocations: 4 kB / 0.5049 GB, free: 9.688 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.205e-05/0.3349, allocations: 4 kB / 0.5049 GB, free: 9.684 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.284e-06/0.335, allocations: 4 kB / 0.5049 GB, free: 9.68 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002793/0.3352, allocations: 111.8 kB / 0.505 GB, free: 9.57 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001053/0.3363, allocations: 0.7899 MB / 0.5057 GB, free: 8.734 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006694/0.337, allocations: 293.2 kB / 0.506 GB, free: 8.402 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002261/0.3372, allocations: 92.25 kB / 0.5061 GB, free: 8.297 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.266e-05/0.3372, allocations: 7.938 kB / 0.5061 GB, free: 8.289 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004429/0.3376, allocations: 235.5 kB / 0.5063 GB, free: 8.031 MB / 414.1 MB Notification: Performance of pre-optimization done (n=30): time 1.613e-06/0.3377, allocations: 0 / 0.5063 GB, free: 8.031 MB / 414.1 MB Notification: Performance of matching and sorting (n=40): time 0.002571/0.3402, allocations: 1.073 MB / 0.5074 GB, free: 6.949 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001292/0.3404, allocations: 166.2 kB / 0.5076 GB, free: 6.75 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009989/0.3414, allocations: 0.6709 MB / 0.5082 GB, free: 6.066 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 4.099e-05/0.3414, allocations: 41.7 kB / 0.5082 GB, free: 6.02 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002263/0.3416, allocations: 237 kB / 0.5085 GB, free: 5.785 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000125/0.3417, allocations: 134.9 kB / 0.5086 GB, free: 5.652 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001751/0.3419, allocations: 74.12 kB / 0.5087 GB, free: 5.574 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001972/0.3421, allocations: 382.7 kB / 0.509 GB, free: 5.191 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002587/0.3424, allocations: 101 kB / 0.5091 GB, free: 5.094 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003279/0.3427, allocations: 189.5 kB / 0.5093 GB, free: 4.875 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006507/0.3434, allocations: 308.8 kB / 0.5096 GB, free: 4.543 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.619e-06/0.3434, allocations: 4 kB / 0.5096 GB, free: 4.539 MB / 414.1 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0008159/0.3442, allocations: 424.9 kB / 0.51 GB, free: 4.117 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.832e-05/0.3442, allocations: 6.344 kB / 0.51 GB, free: 4.113 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.012e-05/0.3442, allocations: 7.938 kB / 0.51 GB, free: 4.105 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.807e-05/0.3442, allocations: 4 kB / 0.51 GB, free: 4.102 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003157/0.3445, allocations: 84.42 kB / 0.5101 GB, free: 4.02 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.039e-05/0.3445, allocations: 8 kB / 0.5101 GB, free: 4.012 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000209/0.3448, allocations: 23.98 kB / 0.5101 GB, free: 3.988 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.051e-05/0.3448, allocations: 16 kB / 0.5102 GB, free: 3.973 MB / 414.1 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.0002493/0.345, allocations: 209.2 kB / 0.5104 GB, free: 3.758 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001048/0.3451, allocations: 67.56 kB / 0.5104 GB, free: 3.691 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001111/0.3463, allocations: 498.3 kB / 0.5109 GB, free: 3.195 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.075e-06/0.3463, allocations: 4 kB / 0.5109 GB, free: 3.191 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.456e-06/0.3463, allocations: 11.94 kB / 0.5109 GB, free: 3.18 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.065e-06/0.3463, allocations: 3.984 kB / 0.5109 GB, free: 3.176 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00179/0.3481, allocations: 1.225 MB / 0.5121 GB, free: 1.895 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.667e-06/0.3481, allocations: 0 / 0.5121 GB, free: 1.895 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001747/0.3482, allocations: 55.91 kB / 0.5122 GB, free: 1.84 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.811e-06/0.3482, allocations: 4.156 kB / 0.5122 GB, free: 1.836 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.189e-05/0.3483, allocations: 23.98 kB / 0.5122 GB, free: 1.812 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.023e-06/0.3483, allocations: 7.938 kB / 0.5122 GB, free: 1.805 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.418e-06/0.3483, allocations: 4.391 kB / 0.5122 GB, free: 1.801 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001065/0.3494, allocations: 0.8595 MB / 0.513 GB, free: 0.9023 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.685e-05/0.3494, allocations: 59.61 kB / 0.5131 GB, free: 0.8438 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.757e-05/0.3495, allocations: 12 kB / 0.5131 GB, free: 0.832 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003529/0.3499, allocations: 19.98 kB / 0.5131 GB, free: 0.8125 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.093e-05/0.35, allocations: 43.88 kB / 0.5132 GB, free: 0.7695 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.283e-05/0.35, allocations: 23.98 kB / 0.5132 GB, free: 0.7461 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0006075/0.3506, allocations: 0.491 MB / 0.5137 GB, free: 264 kB / 414.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.3506, allocations: 4 kB / 0.5137 GB, free: 260 kB / 414.1 MB Notification: Performance of remove unused functions: time 0.0005746/0.3512, allocations: 83.94 kB / 0.5138 GB, free: 176 kB / 414.1 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.002002/0.3532, allocations: 0.5131 MB / 0.5143 GB, free: 15.83 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0006833/0.3539, allocations: 296.2 kB / 0.5145 GB, free: 15.54 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.295e-06/0.3539, allocations: 0 / 0.5145 GB, free: 15.54 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003652/0.3543, allocations: 157.8 kB / 0.5147 GB, free: 15.39 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001229/0.3555, allocations: 147.8 kB / 0.5148 GB, free: 15.25 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0016/0.3571, allocations: 0.9421 MB / 0.5158 GB, free: 14.25 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003671/0.3575, allocations: 267.9 kB / 0.516 GB, free: 13.96 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0002106/0.3577, allocations: 79.39 kB / 0.5161 GB, free: 13.88 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001237/0.3578, allocations: 60.47 kB / 0.5161 GB, free: 13.82 MB / 430.1 MB Notification: Performance of SimCode: time 5.81e-07/0.3578, allocations: 0 / 0.5161 GB, free: 13.82 MB / 430.1 MB Notification: Performance of Templates: time 0.01641/0.3742, allocations: 6.218 MB / 0.5222 GB, free: 7.699 MB / 430.1 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=480 -s ida -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test67.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test67_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test67/Test67.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_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.220857709995471]