Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test24.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.001307/0.001307, allocations: 80.11 kB / 9.934 MB, free: 0.7539 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001408/0.002715, allocations: 449.7 kB / 10.37 MB, free: 324 kB / 10.45 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.001001/0.001001, allocations: 165.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001668/0.002669, allocations: 463.6 kB / 11.72 MB, free: 2.453 MB / 13.93 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.029/1.029, allocations: 177.4 MB / 189.9 MB, free: 4.848 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.112/1.141, allocations: 53.87 MB / 243.7 MB, free: 14.92 MB / 250.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.2637/0.2637, allocations: 34.85 MB / 279.3 MB, free: 14.93 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02673/0.2904, allocations: 13.23 MB / 292.6 MB, free: 6.496 MB / 282.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.Test24,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test24") translateModel(ModelicaTest.Tables.CombiTimeTable.Test24,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test24") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.874e-06/1.874e-06, allocations: 0 / 294 MB, free: 5.121 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.091e-05/2.278e-05, allocations: 4.031 kB / 294 MB, free: 5.117 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test24): time 0.001997/0.00202, allocations: 1.792 MB / 295.8 MB, free: 3.312 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001192/0.003212, allocations: 1.025 MB / 296.8 MB, free: 2.281 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.667e-05/0.003289, allocations: 0 / 296.8 MB, free: 2.281 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001879/0.003477, allocations: 51.62 kB / 296.8 MB, free: 2.23 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002188/0.003696, allocations: 91.55 kB / 296.9 MB, free: 2.141 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001779/0.003873, allocations: 75.61 kB / 297 MB, free: 2.066 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001582/0.004032, allocations: 111.6 kB / 297.1 MB, free: 1.957 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.425e-05/0.004116, allocations: 11.98 kB / 297.1 MB, free: 1.945 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001154/0.004231, allocations: 71.83 kB / 297.2 MB, free: 1.875 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.505e-05/0.004306, allocations: 35.89 kB / 297.2 MB, free: 1.84 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.429e-05/0.004321, allocations: 4 kB / 297.2 MB, free: 1.836 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.226e-05/0.004403, allocations: 43.92 kB / 297.3 MB, free: 1.793 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 4.124e-05/0.004444, allocations: 19.94 kB / 297.3 MB, free: 1.773 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 3.186e-05/0.004476, allocations: 15.94 kB / 297.3 MB, free: 1.758 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001556/0.004632, allocations: 107.5 kB / 297.4 MB, free: 1.652 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.574e-05/0.004647, allocations: 0 / 297.4 MB, free: 1.652 MB / 282.7 MB Notification: Performance of FrontEnd: time 6.51e-07/0.004648, allocations: 0 / 297.4 MB, free: 1.652 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.434e-05/0.004662, allocations: 0 / 297.4 MB, free: 1.652 MB / 282.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0004462/0.005109, allocations: 341 kB / 297.7 MB, free: 1.297 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.155e-05/0.00514, allocations: 8.922 kB / 297.7 MB, free: 1.289 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.072e-05/0.005171, allocations: 12.92 kB / 297.8 MB, free: 1.277 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001516/0.005322, allocations: 150.1 kB / 297.9 MB, free: 1.105 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.44e-05/0.005337, allocations: 384 / 297.9 MB, free: 1.105 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.711e-05/0.005354, allocations: 8.312 kB / 297.9 MB, free: 1.098 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000104/0.005458, allocations: 61.77 kB / 298 MB, free: 1.027 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.207e-06/0.005467, allocations: 4.125 kB / 298 MB, free: 1.023 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.386e-06/0.005476, allocations: 4.375 kB / 298 MB, free: 1.02 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.64e-06/0.005481, allocations: 3.938 kB / 298 MB, free: 1.016 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.939e-05/0.005511, allocations: 11.98 kB / 298 MB, free: 1.004 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000201/0.005712, allocations: 173.9 kB / 298.2 MB, free: 0.8164 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.001e-05/0.005802, allocations: 93.22 kB / 298.3 MB, free: 0.7148 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.932e-05/0.005821, allocations: 8.859 kB / 298.3 MB, free: 0.7031 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.115e-05/0.005832, allocations: 4 kB / 298.3 MB, free: 0.6992 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001009/0.005933, allocations: 58.22 kB / 298.3 MB, free: 0.6289 MB / 282.7 MB Notification: Performance of pre-optimization done (n=6): time 1.252e-06/0.005934, allocations: 0 / 298.3 MB, free: 0.6289 MB / 282.7 MB Notification: Performance of matching and sorting (n=8): time 0.0002864/0.006221, allocations: 113.5 kB / 298.4 MB, free: 0.5117 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.498e-05/0.006256, allocations: 55.41 kB / 298.5 MB, free: 456 kB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001095/0.006365, allocations: 180.2 kB / 298.7 MB, free: 260 kB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.383e-05/0.006379, allocations: 29.7 kB / 298.7 MB, free: 224 kB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.164e-05/0.006411, allocations: 104.1 kB / 298.8 MB, free: 116 kB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.403e-05/0.006435, allocations: 23.75 kB / 298.8 MB, free: 92 kB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.539e-05/0.00647, allocations: 25.69 kB / 298.8 MB, free: 60 kB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001114/0.006581, allocations: 322.8 kB / 299.2 MB, free: 15.73 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.931e-05/0.006601, allocations: 10.83 kB / 299.2 MB, free: 15.72 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.819e-05/0.006629, allocations: 29.62 kB / 299.2 MB, free: 15.69 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.77e-05/0.006667, allocations: 36.61 kB / 299.2 MB, free: 15.64 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.573e-06/0.006668, allocations: 0 / 299.2 MB, free: 15.64 MB / 298.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 7.245e-05/0.006741, allocations: 84.41 kB / 299.3 MB, free: 15.55 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.322e-05/0.006754, allocations: 7.938 kB / 299.3 MB, free: 15.55 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.288e-06/0.006758, allocations: 0 / 299.3 MB, free: 15.55 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.887e-06/0.006767, allocations: 4 kB / 299.3 MB, free: 15.54 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.775e-05/0.006835, allocations: 15.98 kB / 299.3 MB, free: 15.53 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.807e-06/0.006839, allocations: 4 kB / 299.4 MB, free: 15.52 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.47e-05/0.006863, allocations: 0 / 299.4 MB, free: 15.52 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.173e-06/0.00687, allocations: 8 kB / 299.4 MB, free: 15.52 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 (10): * Single equations (assignments): 10 * 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 6.079e-05/0.006931, allocations: 112.6 kB / 299.5 MB, free: 15.39 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.339e-05/0.006945, allocations: 15.92 kB / 299.5 MB, free: 15.38 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001029/0.007047, allocations: 80.09 kB / 299.6 MB, free: 15.3 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.176e-06/0.007051, allocations: 4 kB / 299.6 MB, free: 15.29 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.573e-06/0.007052, allocations: 0 / 299.6 MB, free: 15.29 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.516e-06/0.007056, allocations: 0 / 299.6 MB, free: 15.29 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002031/0.007259, allocations: 299.4 kB / 299.9 MB, free: 14.97 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.374e-06/0.007261, allocations: 4.312 kB / 299.9 MB, free: 14.97 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.658e-05/0.007288, allocations: 15.92 kB / 299.9 MB, free: 14.95 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.098e-05/0.007299, allocations: 11.91 kB / 299.9 MB, free: 14.94 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.897e-06/0.007303, allocations: 4 kB / 299.9 MB, free: 14.94 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.061e-06/0.007309, allocations: 8.031 kB / 299.9 MB, free: 14.93 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.52e-07/0.007309, allocations: 0 / 299.9 MB, free: 14.93 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.323e-06/0.007311, allocations: 0 / 299.9 MB, free: 14.93 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001022/0.007413, allocations: 223 kB / 300.1 MB, free: 14.69 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.52e-05/0.007428, allocations: 0 / 300.1 MB, free: 14.69 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.764e-05/0.007466, allocations: 4 kB / 300.1 MB, free: 14.69 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.55e-05/0.007491, allocations: 7.984 kB / 300.1 MB, free: 14.68 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.119e-05/0.007502, allocations: 4 kB / 300.1 MB, free: 14.68 MB / 298.7 MB Notification: Performance of sorting global known variables: time 8.542e-05/0.007588, allocations: 51.64 kB / 300.2 MB, free: 14.62 MB / 298.7 MB Notification: Performance of sort global known variables: time 6.1e-08/0.007588, allocations: 4 kB / 300.2 MB, free: 14.62 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001525/0.00774, allocations: 19.94 kB / 300.2 MB, free: 14.6 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (9): * Single equations (assignments): 7 * 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.001411/0.009151, allocations: 0.6214 MB / 300.8 MB, free: 14.31 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001015/0.009253, allocations: 52.77 kB / 300.9 MB, free: 14.25 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 7.244e-06/0.00926, allocations: 0 / 300.9 MB, free: 14.25 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 2.879e-05/0.009289, allocations: 24.8 kB / 300.9 MB, free: 14.23 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001753/0.009464, allocations: 39.91 kB / 300.9 MB, free: 14.19 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004366/0.009901, allocations: 244 kB / 301.2 MB, free: 13.92 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.953e-05/0.00994, allocations: 63.34 kB / 301.2 MB, free: 13.84 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 3.481e-05/0.009975, allocations: 16.97 kB / 301.3 MB, free: 13.82 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.385e-05/0.01004, allocations: 71.48 kB / 301.3 MB, free: 13.75 MB / 298.7 MB Notification: Performance of SimCode: time 7.31e-07/0.01004, allocations: 0 / 301.3 MB, free: 13.75 MB / 298.7 MB Notification: Performance of Templates: time 0.003438/0.01348, allocations: 2.059 MB / 303.4 MB, free: 11.71 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test24.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test24.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test24.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test24.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test24.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test24 -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test24.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test24_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test24/Test24.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.9590950291603804]