Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test43.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.0009118/0.0009118, allocations: 76.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001037/0.001949, allocations: 457.8 kB / 10.45 MB, free: 244 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.0007068/0.0007068, allocations: 162 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.000965/0.001672, allocations: 475.6 kB / 11.82 MB, free: 2.348 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.118/1.118, allocations: 177.5 MB / 190 MB, free: 4.809 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0927/1.211, allocations: 53.87 MB / 243.9 MB, free: 14.87 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.3042/0.3042, allocations: 34.88 MB / 279.5 MB, free: 14.91 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02655/0.3307, allocations: 13.24 MB / 292.8 MB, free: 6.414 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.Test43,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5013,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test43") translateModel(ModelicaTest.Tables.CombiTimeTable.Test43,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5013,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test43") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.683e-06/1.683e-06, allocations: 0 / 294.2 MB, free: 5.035 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.194e-05/1.363e-05, allocations: 2.312 kB / 294.2 MB, free: 5.031 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test43): time 0.002359/0.002372, allocations: 1.823 MB / 296 MB, free: 3.191 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001199/0.003572, allocations: 1.021 MB / 297 MB, free: 2.164 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.805e-05/0.00364, allocations: 3.938 kB / 297 MB, free: 2.16 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001957/0.003836, allocations: 39.72 kB / 297.1 MB, free: 2.121 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002156/0.004051, allocations: 103.4 kB / 297.2 MB, free: 2.02 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001682/0.004219, allocations: 83.55 kB / 297.2 MB, free: 1.938 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.000147/0.004366, allocations: 103.6 kB / 297.4 MB, free: 1.836 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.16e-05/0.004448, allocations: 7.984 kB / 297.4 MB, free: 1.828 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001452/0.004593, allocations: 79.81 kB / 297.4 MB, free: 1.75 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.959e-05/0.004673, allocations: 27.91 kB / 297.5 MB, free: 1.723 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.562e-05/0.004688, allocations: 4 kB / 297.5 MB, free: 1.719 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.663e-05/0.004775, allocations: 47.86 kB / 297.5 MB, free: 1.672 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 4.983e-05/0.004825, allocations: 19.88 kB / 297.5 MB, free: 1.652 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 3.187e-05/0.004857, allocations: 15.94 kB / 297.5 MB, free: 1.637 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000154/0.005011, allocations: 103.7 kB / 297.7 MB, free: 1.535 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.064e-05/0.005021, allocations: 0 / 297.7 MB, free: 1.535 MB / 282.7 MB Notification: Performance of FrontEnd: time 5.01e-07/0.005022, allocations: 0 / 297.7 MB, free: 1.535 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.144e-05/0.005033, allocations: 0 / 297.7 MB, free: 1.535 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.0004443/0.005477, allocations: 348.9 kB / 298 MB, free: 1.172 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.248e-05/0.00551, allocations: 8.922 kB / 298 MB, free: 1.164 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.021e-05/0.00554, allocations: 8.922 kB / 298 MB, free: 1.156 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001464/0.005687, allocations: 150.1 kB / 298.2 MB, free: 0.9844 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.876e-05/0.005705, allocations: 4.375 kB / 298.2 MB, free: 0.9805 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.396e-05/0.005729, allocations: 4.375 kB / 298.2 MB, free: 0.9766 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001012/0.00583, allocations: 69.75 kB / 298.2 MB, free: 0.8984 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.294e-06/0.005838, allocations: 192 / 298.2 MB, free: 0.8984 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.111e-06/0.005844, allocations: 4.375 kB / 298.2 MB, free: 0.8945 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.152e-06/0.00585, allocations: 3.938 kB / 298.2 MB, free: 0.8906 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.232e-05/0.005872, allocations: 7.938 kB / 298.2 MB, free: 0.8828 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001945/0.006067, allocations: 169.8 kB / 298.4 MB, free: 0.6992 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.058e-05/0.006157, allocations: 89.34 kB / 298.5 MB, free: 0.6016 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.734e-05/0.006175, allocations: 8.859 kB / 298.5 MB, free: 0.5898 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.008e-05/0.006185, allocations: 4 kB / 298.5 MB, free: 0.5859 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.82e-05/0.006273, allocations: 74.14 kB / 298.6 MB, free: 0.5 MB / 282.7 MB Notification: Performance of pre-optimization done (n=6): time 1.012e-06/0.006274, allocations: 0 / 298.6 MB, free: 0.5 MB / 282.7 MB Notification: Performance of matching and sorting (n=8): time 0.0002894/0.006563, allocations: 117.5 kB / 298.7 MB, free: 388 kB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.806e-05/0.006592, allocations: 51.41 kB / 298.8 MB, free: 324 kB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001064/0.006698, allocations: 176.3 kB / 298.9 MB, free: 132 kB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.332e-05/0.006711, allocations: 29.7 kB / 299 MB, free: 96 kB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.34e-05/0.006755, allocations: 96.14 kB / 299 MB, free: 15.99 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.687e-05/0.006781, allocations: 31.69 kB / 299.1 MB, free: 15.96 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.918e-05/0.006811, allocations: 25.7 kB / 299.1 MB, free: 15.93 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 9.608e-05/0.006907, allocations: 326.8 kB / 299.4 MB, free: 15.61 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.372e-05/0.00692, allocations: 10.83 kB / 299.4 MB, free: 15.59 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.509e-05/0.006946, allocations: 25.7 kB / 299.5 MB, free: 15.56 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.103e-05/0.006987, allocations: 40.45 kB / 299.5 MB, free: 15.52 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.31e-07/0.006987, allocations: 3.938 kB / 299.5 MB, free: 15.51 MB / 298.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 6.275e-05/0.00705, allocations: 72.56 kB / 299.6 MB, free: 15.43 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.296e-05/0.007063, allocations: 15.92 kB / 299.6 MB, free: 15.42 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.358e-06/0.007067, allocations: 0 / 299.6 MB, free: 15.42 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.247e-05/0.00708, allocations: 3.938 kB / 299.6 MB, free: 15.41 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.794e-05/0.007138, allocations: 16 kB / 299.6 MB, free: 15.4 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.136e-06/0.007141, allocations: 4.031 kB / 299.6 MB, free: 15.39 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.43e-05/0.007165, allocations: 8.359 kB / 299.6 MB, free: 15.39 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.589e-06/0.00717, allocations: 0 / 299.6 MB, free: 15.39 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.83e-05/0.007238, allocations: 118.8 kB / 299.7 MB, free: 15.26 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.258e-05/0.007251, allocations: 11.92 kB / 299.7 MB, free: 15.25 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.78e-05/0.007348, allocations: 83.08 kB / 299.8 MB, free: 15.16 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.523e-06/0.00735, allocations: 0 / 299.8 MB, free: 15.16 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.724e-06/0.007352, allocations: 0 / 299.8 MB, free: 15.16 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.228e-06/0.007356, allocations: 0 / 299.8 MB, free: 15.16 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001973/0.007553, allocations: 295.5 kB / 300.1 MB, free: 14.85 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.074e-06/0.007555, allocations: 3.938 kB / 300.1 MB, free: 14.84 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.353e-05/0.007579, allocations: 16 kB / 300.1 MB, free: 14.83 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.265e-05/0.007591, allocations: 15.89 kB / 300.2 MB, free: 14.81 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.182e-06/0.007593, allocations: 0 / 300.2 MB, free: 14.81 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.883e-06/0.0076, allocations: 3.984 kB / 300.2 MB, free: 14.81 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.923e-06/0.007601, allocations: 4 kB / 300.2 MB, free: 14.8 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.703e-06/0.007603, allocations: 3.938 kB / 300.2 MB, free: 14.8 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001096/0.007713, allocations: 209.8 kB / 300.4 MB, free: 14.58 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.835e-05/0.007731, allocations: 8 kB / 300.4 MB, free: 14.57 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.438e-05/0.007765, allocations: 4.031 kB / 300.4 MB, free: 14.57 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.786e-05/0.007793, allocations: 7.984 kB / 300.4 MB, free: 14.56 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.678e-06/0.007803, allocations: 3.938 kB / 300.4 MB, free: 14.55 MB / 298.7 MB Notification: Performance of sorting global known variables: time 4.799e-05/0.007851, allocations: 60.69 kB / 300.4 MB, free: 14.49 MB / 298.7 MB Notification: Performance of sort global known variables: time 5e-08/0.007851, allocations: 0 / 300.4 MB, free: 14.49 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001445/0.007996, allocations: 27.92 kB / 300.5 MB, free: 14.46 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.001497/0.009492, allocations: 0.6176 MB / 301.1 MB, free: 14.18 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 9.019e-05/0.009582, allocations: 36.84 kB / 301.1 MB, free: 14.14 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 6.573e-06/0.009589, allocations: 0 / 301.1 MB, free: 14.14 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 4.259e-05/0.009632, allocations: 44.98 kB / 301.2 MB, free: 14.09 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002423/0.009874, allocations: 181.8 kB / 301.4 MB, free: 13.88 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006299/0.0105, allocations: 244 kB / 301.6 MB, free: 13.61 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.844e-05/0.01055, allocations: 67.34 kB / 301.7 MB, free: 13.53 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 3.469e-05/0.01059, allocations: 12.97 kB / 301.7 MB, free: 13.51 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.837e-05/0.01065, allocations: 71.36 kB / 301.7 MB, free: 13.44 MB / 298.7 MB Notification: Performance of SimCode: time 5.51e-07/0.01065, allocations: 0 / 301.7 MB, free: 13.44 MB / 298.7 MB Notification: Performance of Templates: time 0.003267/0.01391, allocations: 2.05 MB / 303.8 MB, free: 11.42 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test43.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test43.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test43.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test43.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test43.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test43 -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test43.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test43_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test43/Test43.csv","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.1132868817076087]