Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test54.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.0007251/0.0007251, allocations: 76.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001083/0.001809, 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.0007437/0.0007437, allocations: 162 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008578/0.001601, 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 0.9642/0.9642, allocations: 177.5 MB / 190 MB, free: 4.789 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09946/1.064, allocations: 53.86 MB / 243.9 MB, free: 14.86 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.2707/0.2707, allocations: 34.88 MB / 279.6 MB, free: 14.91 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0329/0.3036, allocations: 13.24 MB / 292.8 MB, free: 6.383 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.Test54,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5007,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test54") translateModel(ModelicaTest.Tables.CombiTimeTable.Test54,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5007,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test54") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.593e-06/1.593e-06, allocations: 0 / 294.2 MB, free: 5.004 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.847e-05/3.007e-05, allocations: 5.641 kB / 294.2 MB, free: 5 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test54): time 0.003657/0.003688, allocations: 1.816 MB / 296 MB, free: 3.168 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.003191/0.006879, allocations: 1.021 MB / 297 MB, free: 2.141 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001093/0.006988, allocations: 3.938 kB / 297 MB, free: 2.137 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002943/0.007282, allocations: 51.7 kB / 297.1 MB, free: 2.086 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000323/0.007605, allocations: 99.41 kB / 297.2 MB, free: 1.988 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002761/0.007881, allocations: 83.55 kB / 297.3 MB, free: 1.906 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.000223/0.008104, allocations: 103.6 kB / 297.4 MB, free: 1.805 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001088/0.008213, allocations: 11.98 kB / 297.4 MB, free: 1.793 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001831/0.008396, allocations: 75.83 kB / 297.4 MB, free: 1.719 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001033/0.0085, allocations: 31.89 kB / 297.5 MB, free: 1.688 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.251e-05/0.008522, allocations: 4 kB / 297.5 MB, free: 1.684 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001435/0.008666, allocations: 47.86 kB / 297.5 MB, free: 1.637 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 6.13e-05/0.008727, allocations: 27.88 kB / 297.6 MB, free: 1.609 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 3.44e-05/0.008761, allocations: 15.94 kB / 297.6 MB, free: 1.594 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001888/0.00895, allocations: 107.5 kB / 297.7 MB, free: 1.488 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.619e-05/0.008966, allocations: 0 / 297.7 MB, free: 1.488 MB / 282.7 MB Notification: Performance of FrontEnd: time 2.214e-06/0.008969, allocations: 0 / 297.7 MB, free: 1.488 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.19e-05/0.008981, allocations: 3.984 kB / 297.7 MB, free: 1.484 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.0004773/0.009458, allocations: 348.9 kB / 298 MB, free: 1.121 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.371e-05/0.009492, allocations: 8.922 kB / 298 MB, free: 1.113 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.636e-05/0.009528, allocations: 12.92 kB / 298 MB, free: 1.102 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001658/0.009694, allocations: 158.3 kB / 298.2 MB, free: 0.918 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.554e-05/0.009709, allocations: 4.375 kB / 298.2 MB, free: 0.9141 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.942e-05/0.009729, allocations: 384 / 298.2 MB, free: 0.9141 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001101/0.009839, allocations: 65.77 kB / 298.3 MB, free: 0.8398 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.606e-06/0.009847, allocations: 192 / 298.3 MB, free: 0.8398 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.613e-06/0.009854, allocations: 384 / 298.3 MB, free: 0.8398 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.522e-06/0.009861, allocations: 3.938 kB / 298.3 MB, free: 0.8359 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.618e-05/0.009887, allocations: 19.91 kB / 298.3 MB, free: 0.8164 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002062/0.01009, allocations: 173.8 kB / 298.5 MB, free: 0.6289 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001055/0.0102, allocations: 89.28 kB / 298.5 MB, free: 0.5312 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.164e-05/0.01022, allocations: 8.922 kB / 298.6 MB, free: 0.5195 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.487e-05/0.01023, allocations: 4 kB / 298.6 MB, free: 0.5156 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001258/0.01036, allocations: 62.16 kB / 298.6 MB, free: 452 kB / 282.7 MB Notification: Performance of pre-optimization done (n=6): time 1.232e-06/0.01036, allocations: 3.938 kB / 298.6 MB, free: 448 kB / 282.7 MB Notification: Performance of matching and sorting (n=8): time 0.0003563/0.01072, allocations: 117.5 kB / 298.7 MB, free: 324 kB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.378e-05/0.01075, allocations: 55.41 kB / 298.8 MB, free: 256 kB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001126/0.01086, allocations: 196.1 kB / 299 MB, free: 44 kB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.595e-05/0.01088, allocations: 29.7 kB / 299 MB, free: 8 kB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.232e-05/0.01092, allocations: 100.1 kB / 299.1 MB, free: 15.91 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.779e-05/0.01095, allocations: 31.73 kB / 299.1 MB, free: 15.88 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.832e-05/0.01098, allocations: 21.7 kB / 299.2 MB, free: 15.85 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 8.506e-05/0.01106, allocations: 326.8 kB / 299.5 MB, free: 15.52 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.808e-05/0.01108, allocations: 14.81 kB / 299.5 MB, free: 15.5 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.295e-05/0.01111, allocations: 17.72 kB / 299.5 MB, free: 15.48 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.066e-05/0.01115, allocations: 48.44 kB / 299.6 MB, free: 15.43 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.062e-06/0.01115, allocations: 0 / 299.6 MB, free: 15.43 MB / 298.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 7.387e-05/0.01122, allocations: 76.56 kB / 299.6 MB, free: 15.34 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.327e-05/0.01123, allocations: 11.94 kB / 299.6 MB, free: 15.33 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.579e-06/0.01124, allocations: 0 / 299.6 MB, free: 15.33 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.343e-05/0.01125, allocations: 0 / 299.6 MB, free: 15.33 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.894e-05/0.01132, allocations: 19.94 kB / 299.7 MB, free: 15.31 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.346e-06/0.01132, allocations: 0 / 299.7 MB, free: 15.31 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.852e-05/0.01135, allocations: 4.359 kB / 299.7 MB, free: 15.31 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.899e-06/0.01136, allocations: 4 kB / 299.7 MB, free: 15.3 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.874e-05/0.01143, allocations: 116.7 kB / 299.8 MB, free: 15.18 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.266e-05/0.01144, allocations: 11.92 kB / 299.8 MB, free: 15.17 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001164/0.01156, allocations: 84.33 kB / 299.9 MB, free: 15.08 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.146e-06/0.01156, allocations: 4 kB / 299.9 MB, free: 15.08 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.224e-06/0.01156, allocations: 0 / 299.9 MB, free: 15.08 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.66e-06/0.01157, allocations: 3.984 kB / 299.9 MB, free: 15.07 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002169/0.01178, allocations: 287.5 kB / 300.2 MB, free: 14.77 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.244e-06/0.01179, allocations: 3.938 kB / 300.2 MB, free: 14.76 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.738e-05/0.01181, allocations: 16 kB / 300.2 MB, free: 14.75 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.167e-05/0.01182, allocations: 15.89 kB / 300.2 MB, free: 14.73 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.154e-06/0.01183, allocations: 0 / 300.2 MB, free: 14.73 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.502e-06/0.01183, allocations: 4 kB / 300.2 MB, free: 14.73 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.643e-06/0.01184, allocations: 4.031 kB / 300.2 MB, free: 14.72 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.01184, allocations: 0 / 300.2 MB, free: 14.72 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001091/0.01195, allocations: 215 kB / 300.4 MB, free: 14.49 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.062e-05/0.01197, allocations: 11.92 kB / 300.4 MB, free: 14.48 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.81e-05/0.012, allocations: 4 kB / 300.4 MB, free: 14.48 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.353e-05/0.01203, allocations: 3.984 kB / 300.4 MB, free: 14.47 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.048e-05/0.01204, allocations: 4 kB / 300.4 MB, free: 14.47 MB / 298.7 MB Notification: Performance of sorting global known variables: time 5.128e-05/0.01209, allocations: 69.64 kB / 300.5 MB, free: 14.4 MB / 298.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01209, allocations: 0 / 300.5 MB, free: 14.4 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001411/0.01223, allocations: 23.94 kB / 300.5 MB, free: 14.38 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.001435/0.01367, allocations: 0.625 MB / 301.2 MB, free: 14.08 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001108/0.01378, allocations: 44.83 kB / 301.2 MB, free: 14.04 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 8.065e-06/0.01378, allocations: 4.094 kB / 301.2 MB, free: 14.03 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 4.486e-05/0.01383, allocations: 40.94 kB / 301.2 MB, free: 13.99 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002464/0.01408, allocations: 180.4 kB / 301.4 MB, free: 13.78 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004778/0.01455, allocations: 238.6 kB / 301.7 MB, free: 13.52 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.383e-05/0.0146, allocations: 71.33 kB / 301.7 MB, free: 13.43 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 3.753e-05/0.01463, allocations: 17.06 kB / 301.7 MB, free: 13.41 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.344e-05/0.0147, allocations: 71.36 kB / 301.8 MB, free: 13.34 MB / 298.7 MB Notification: Performance of SimCode: time 1.052e-06/0.0147, allocations: 0 / 301.8 MB, free: 13.34 MB / 298.7 MB Notification: Performance of Templates: time 0.003632/0.01833, allocations: 2.05 MB / 303.9 MB, free: 11.32 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test54.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test54.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test54.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test54.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test54.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test54 -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test54.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test54_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test54/Test54.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.0232068663462996]