Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test33.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.001265/0.001265, allocations: 76.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001313/0.002577, 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.0007049/0.0007049, allocations: 162 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009747/0.00168, 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.073/1.073, allocations: 177.5 MB / 190 MB, free: 4.777 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09974/1.173, allocations: 53.87 MB / 243.9 MB, free: 14.83 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.2938/0.2938, allocations: 34.89 MB / 279.6 MB, free: 14.91 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02521/0.3191, allocations: 13.24 MB / 292.8 MB, free: 6.375 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.Test33,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test33") translateModel(ModelicaTest.Tables.CombiTimeTable.Test33,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test33") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.573e-06/1.573e-06, allocations: 0 / 294.2 MB, free: 4.992 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 8.756e-06/1.033e-05, allocations: 2.312 kB / 294.2 MB, free: 4.988 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test33): time 0.002276/0.002286, allocations: 1.819 MB / 296 MB, free: 3.152 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001305/0.003591, allocations: 1.019 MB / 297 MB, free: 2.129 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.895e-05/0.00366, allocations: 7.938 kB / 297 MB, free: 2.121 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001643/0.003825, allocations: 39.7 kB / 297.1 MB, free: 2.082 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002088/0.004033, allocations: 91.42 kB / 297.2 MB, free: 1.992 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001727/0.004206, allocations: 91.53 kB / 297.3 MB, free: 1.902 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001312/0.004337, allocations: 103.6 kB / 297.4 MB, free: 1.801 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.052e-05/0.004398, allocations: 4 kB / 297.4 MB, free: 1.797 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001301/0.004528, allocations: 83.8 kB / 297.4 MB, free: 1.715 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.14e-05/0.004589, allocations: 23.92 kB / 297.5 MB, free: 1.691 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.174e-05/0.004601, allocations: 4 kB / 297.5 MB, free: 1.688 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.287e-05/0.004674, allocations: 51.86 kB / 297.5 MB, free: 1.637 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 4.016e-05/0.004714, allocations: 19.86 kB / 297.5 MB, free: 1.617 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 2.472e-05/0.004739, allocations: 15.94 kB / 297.6 MB, free: 1.602 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001354/0.004874, allocations: 99.66 kB / 297.6 MB, free: 1.504 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 8.005e-06/0.004882, allocations: 0 / 297.6 MB, free: 1.504 MB / 282.7 MB Notification: Performance of FrontEnd: time 7.11e-07/0.004883, allocations: 0 / 297.6 MB, free: 1.504 MB / 282.7 MB Notification: Performance of Transformations before backend: time 6.803e-06/0.00489, allocations: 0 / 297.6 MB, free: 1.504 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.0005802/0.00547, allocations: 344.9 kB / 298 MB, free: 1.145 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.311e-05/0.005503, allocations: 12.92 kB / 298 MB, free: 1.133 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.559e-05/0.005529, allocations: 4.938 kB / 298 MB, free: 1.129 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001288/0.005657, allocations: 154.2 kB / 298.2 MB, free: 0.9531 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.038e-05/0.005668, allocations: 8.375 kB / 298.2 MB, free: 0.9453 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.428e-05/0.005682, allocations: 384 / 298.2 MB, free: 0.9453 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.957e-05/0.005762, allocations: 69.75 kB / 298.2 MB, free: 0.8672 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.322e-06/0.005768, allocations: 192 / 298.2 MB, free: 0.8672 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.132e-06/0.005774, allocations: 384 / 298.2 MB, free: 0.8672 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.827e-06/0.005778, allocations: 3.938 kB / 298.2 MB, free: 0.8633 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.534e-05/0.005803, allocations: 15.92 kB / 298.2 MB, free: 0.8477 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001684/0.005972, allocations: 154 kB / 298.4 MB, free: 0.6797 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.286e-05/0.006055, allocations: 93.34 kB / 298.5 MB, free: 0.5781 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.067e-05/0.006075, allocations: 16.84 kB / 298.5 MB, free: 0.5586 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.386e-06/0.006084, allocations: 0 / 298.5 MB, free: 0.5586 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.078e-05/0.006154, allocations: 62.16 kB / 298.6 MB, free: 496 kB / 282.7 MB Notification: Performance of pre-optimization done (n=6): time 6.71e-07/0.006155, allocations: 0 / 298.6 MB, free: 496 kB / 282.7 MB Notification: Performance of matching and sorting (n=8): time 0.0002671/0.006422, allocations: 129.4 kB / 298.7 MB, free: 360 kB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.384e-05/0.006446, allocations: 51.41 kB / 298.7 MB, free: 296 kB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.984e-05/0.006546, allocations: 177.3 kB / 298.9 MB, free: 104 kB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.21e-05/0.006558, allocations: 25.7 kB / 298.9 MB, free: 72 kB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.889e-05/0.006597, allocations: 96.11 kB / 299 MB, free: 15.97 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.446e-05/0.006621, allocations: 31.83 kB / 299.1 MB, free: 15.94 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.569e-05/0.006647, allocations: 21.72 kB / 299.1 MB, free: 15.91 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 7.381e-05/0.006721, allocations: 326.8 kB / 299.4 MB, free: 15.59 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.334e-05/0.006734, allocations: 6.828 kB / 299.4 MB, free: 15.58 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.556e-05/0.00676, allocations: 30.62 kB / 299.4 MB, free: 15.54 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.577e-05/0.006795, allocations: 36.47 kB / 299.5 MB, free: 15.5 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.354e-06/0.006798, allocations: 4 kB / 299.5 MB, free: 15.5 MB / 298.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 5.884e-05/0.006857, allocations: 64.56 kB / 299.5 MB, free: 15.43 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.107e-05/0.006868, allocations: 18.78 kB / 299.6 MB, free: 15.41 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.166e-06/0.006871, allocations: 0 / 299.6 MB, free: 15.41 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.103e-06/0.006878, allocations: 0 / 299.6 MB, free: 15.41 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.725e-05/0.006935, allocations: 27.86 kB / 299.6 MB, free: 15.38 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.994e-06/0.006937, allocations: 0 / 299.6 MB, free: 15.38 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.3e-05/0.00696, allocations: 8.375 kB / 299.6 MB, free: 15.38 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.938e-06/0.006964, allocations: 0 / 299.6 MB, free: 15.38 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 5.814e-05/0.007022, allocations: 128.6 kB / 299.7 MB, free: 15.24 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.125e-05/0.007034, allocations: 11.94 kB / 299.7 MB, free: 15.23 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.783e-05/0.007121, allocations: 83.06 kB / 299.8 MB, free: 15.14 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.272e-06/0.007123, allocations: 4 kB / 299.8 MB, free: 15.14 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.152e-06/0.007124, allocations: 0 / 299.8 MB, free: 15.14 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.224e-06/0.007126, allocations: 0 / 299.8 MB, free: 15.14 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001855/0.007312, allocations: 287.5 kB / 300.1 MB, free: 14.83 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.003e-06/0.007314, allocations: 3.938 kB / 300.1 MB, free: 14.82 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.389e-05/0.007337, allocations: 15.98 kB / 300.1 MB, free: 14.81 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.071e-05/0.007348, allocations: 7.953 kB / 300.1 MB, free: 14.8 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.493e-06/0.00735, allocations: 0 / 300.1 MB, free: 14.8 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.811e-06/0.007355, allocations: 4 kB / 300.1 MB, free: 14.8 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.252e-06/0.007357, allocations: 0 / 300.1 MB, free: 14.8 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.01e-07/0.007358, allocations: 4.031 kB / 300.1 MB, free: 14.79 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.317e-05/0.007451, allocations: 226.7 kB / 300.4 MB, free: 14.55 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.239e-05/0.007463, allocations: 0 / 300.4 MB, free: 14.55 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.609e-05/0.007499, allocations: 8 kB / 300.4 MB, free: 14.55 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.091e-05/0.00752, allocations: 7.984 kB / 300.4 MB, free: 14.54 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.806e-06/0.007529, allocations: 0 / 300.4 MB, free: 14.54 MB / 298.7 MB Notification: Performance of sorting global known variables: time 3.875e-05/0.007568, allocations: 55.58 kB / 300.4 MB, free: 14.48 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.007568, allocations: 0 / 300.4 MB, free: 14.48 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001391/0.007707, allocations: 20 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.001379/0.009086, allocations: 0.6197 MB / 301.1 MB, free: 14.17 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 9.49e-05/0.009181, allocations: 48.7 kB / 301.1 MB, free: 14.12 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 7.675e-06/0.009189, allocations: 4 kB / 301.1 MB, free: 14.12 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 3.925e-05/0.009228, allocations: 37.09 kB / 301.2 MB, free: 14.08 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004197/0.009648, allocations: 180.4 kB / 301.3 MB, free: 13.87 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004241/0.01007, allocations: 224 kB / 301.6 MB, free: 13.62 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.06e-05/0.01011, allocations: 71.33 kB / 301.6 MB, free: 13.53 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 3.224e-05/0.01014, allocations: 8.984 kB / 301.6 MB, free: 13.52 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.815e-05/0.01021, allocations: 67.36 kB / 301.7 MB, free: 13.45 MB / 298.7 MB Notification: Performance of SimCode: time 5.81e-07/0.01021, allocations: 8.031 kB / 301.7 MB, free: 13.45 MB / 298.7 MB Notification: Performance of Templates: time 0.003312/0.01353, allocations: 2.057 MB / 303.8 MB, free: 11.42 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test33.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test33.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test33.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test33.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test33.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test33 -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test33.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test33_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test33/Test33.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: 2.9084636764600873]