Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test46.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.0009179/0.0009179, allocations: 84.73 kB / 21.5 MB, free: 2.988 MB / 18.57 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.001053/0.001053, allocations: 169.5 kB / 24.91 MB, free: 8.766 MB / 18.57 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.9513/0.9513, allocations: 177 MB / 205.2 MB, free: 5.449 MB / 186.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.2762/0.2762, allocations: 34.87 MB / 296.6 MB, free: 0.4961 MB / 266.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.Test46,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5014,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test46") translateModel(ModelicaTest.Tables.CombiTimeTable.Test46,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5014,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test46") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.372e-06/1.372e-06, allocations: 0 / 326 MB, free: 7.066 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.215e-05/2.352e-05, allocations: 4.703 kB / 326 MB, free: 7.062 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test46): time 0.005594/0.005617, allocations: 1.763 MB / 327.8 MB, free: 5.289 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001382/0.007, allocations: 1.006 MB / 328.8 MB, free: 4.277 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.579e-05/0.007085, allocations: 0 / 328.8 MB, free: 4.277 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003048/0.00739, allocations: 63.62 kB / 328.8 MB, free: 4.215 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003269/0.007717, allocations: 103.5 kB / 328.9 MB, free: 4.113 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002152/0.007932, allocations: 71.67 kB / 329 MB, free: 4.043 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001778/0.00811, allocations: 111.6 kB / 329.1 MB, free: 3.934 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.674e-05/0.008197, allocations: 11.97 kB / 329.1 MB, free: 3.922 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001406/0.008338, allocations: 51.89 kB / 329.2 MB, free: 3.871 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.113e-05/0.008419, allocations: 27.86 kB / 329.2 MB, free: 3.844 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.478e-05/0.008433, allocations: 8 kB / 329.2 MB, free: 3.836 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.753e-05/0.008511, allocations: 51.84 kB / 329.3 MB, free: 3.785 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 4.791e-05/0.008559, allocations: 27.92 kB / 329.3 MB, free: 3.758 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 3.385e-05/0.008593, allocations: 27.86 kB / 329.3 MB, free: 3.73 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001544/0.008747, allocations: 111.6 kB / 329.4 MB, free: 3.621 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.804e-06/0.008749, allocations: 0 / 329.4 MB, free: 3.621 MB / 298.7 MB Notification: Performance of FrontEnd: time 8.62e-07/0.00875, allocations: 3.938 kB / 329.4 MB, free: 3.617 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.257e-06/0.008753, allocations: 0 / 329.4 MB, free: 3.617 MB / 298.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.0003691/0.009122, allocations: 345.3 kB / 329.8 MB, free: 3.258 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.067e-05/0.009153, allocations: 8.031 kB / 329.8 MB, free: 3.25 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.051e-05/0.009183, allocations: 20.86 kB / 329.8 MB, free: 3.23 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001651/0.009348, allocations: 158.4 kB / 329.9 MB, free: 3.047 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.471e-05/0.009363, allocations: 384 / 329.9 MB, free: 3.047 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.203e-05/0.009385, allocations: 8.375 kB / 330 MB, free: 3.039 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001096/0.009495, allocations: 57.77 kB / 330 MB, free: 2.973 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.05e-05/0.009505, allocations: 4.172 kB / 330 MB, free: 2.969 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.035e-06/0.009513, allocations: 8.375 kB / 330 MB, free: 2.961 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.462e-06/0.00952, allocations: 3.938 kB / 330 MB, free: 2.957 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.502e-05/0.009545, allocations: 7.984 kB / 330 MB, free: 2.949 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000199/0.009744, allocations: 165.9 kB / 330.2 MB, free: 2.77 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.269e-05/0.009836, allocations: 93.34 kB / 330.3 MB, free: 2.668 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.957e-05/0.009856, allocations: 12.86 kB / 330.3 MB, free: 2.652 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.004e-05/0.009866, allocations: 0 / 330.3 MB, free: 2.652 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.506e-05/0.009951, allocations: 66.2 kB / 330.4 MB, free: 2.574 MB / 298.7 MB Notification: Performance of pre-optimization done (n=6): time 8.22e-07/0.009952, allocations: 0 / 330.4 MB, free: 2.574 MB / 298.7 MB Notification: Performance of matching and sorting (n=8): time 0.0002882/0.01024, allocations: 113.5 kB / 330.5 MB, free: 2.457 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.265e-05/0.01027, allocations: 51.41 kB / 330.5 MB, free: 2.395 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000142/0.01041, allocations: 216 kB / 330.7 MB, free: 2.168 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.676e-05/0.01043, allocations: 33.64 kB / 330.8 MB, free: 2.129 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.272e-05/0.01047, allocations: 104.1 kB / 330.9 MB, free: 2.023 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.546e-05/0.0105, allocations: 23.8 kB / 330.9 MB, free: 2 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.813e-05/0.01053, allocations: 29.62 kB / 330.9 MB, free: 1.965 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 9.438e-05/0.01062, allocations: 326.8 kB / 331.2 MB, free: 1.637 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.708e-05/0.01064, allocations: 10.83 kB / 331.3 MB, free: 1.625 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.669e-05/0.01067, allocations: 21.7 kB / 331.3 MB, free: 1.598 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5e-05/0.01072, allocations: 44.52 kB / 331.3 MB, free: 1.547 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.242e-06/0.01072, allocations: 384 / 331.3 MB, free: 1.547 MB / 298.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 8.531e-05/0.0108, allocations: 72.42 kB / 331.4 MB, free: 1.469 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.415e-05/0.01082, allocations: 15.97 kB / 331.4 MB, free: 1.453 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.109e-06/0.01082, allocations: 0 / 331.4 MB, free: 1.453 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.438e-05/0.01084, allocations: 0 / 331.4 MB, free: 1.453 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.252e-05/0.0109, allocations: 19.94 kB / 331.4 MB, free: 1.434 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.647e-06/0.0109, allocations: 0 / 331.4 MB, free: 1.434 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.995e-05/0.01093, allocations: 8 kB / 331.4 MB, free: 1.426 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.653e-06/0.01094, allocations: 3.984 kB / 331.4 MB, free: 1.422 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 7.28e-05/0.01101, allocations: 119.6 kB / 331.6 MB, free: 1.297 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.414e-05/0.01103, allocations: 15.92 kB / 331.6 MB, free: 1.281 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001037/0.01113, allocations: 75.08 kB / 331.6 MB, free: 1.199 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.207e-06/0.01113, allocations: 8 kB / 331.6 MB, free: 1.191 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.704e-06/0.01114, allocations: 0 / 331.6 MB, free: 1.191 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.591e-06/0.01114, allocations: 3.984 kB / 331.7 MB, free: 1.188 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002335/0.01137, allocations: 295.4 kB / 331.9 MB, free: 0.8711 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.398e-06/0.01138, allocations: 7.938 kB / 331.9 MB, free: 0.8633 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.235e-05/0.0114, allocations: 8 kB / 332 MB, free: 0.8555 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.232e-06/0.0114, allocations: 0 / 332 MB, free: 0.8555 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.977e-06/0.01141, allocations: 7.984 kB / 332 MB, free: 0.8477 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.072e-06/0.01141, allocations: 240 / 332 MB, free: 0.8477 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.61e-07/0.01141, allocations: 4 kB / 332 MB, free: 0.8438 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001023/0.01152, allocations: 217.7 kB / 332.2 MB, free: 0.6133 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.245e-05/0.01153, allocations: 15.84 kB / 332.2 MB, free: 0.5977 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.825e-05/0.01155, allocations: 11.98 kB / 332.2 MB, free: 0.5859 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.689e-05/0.01158, allocations: 0 / 332.2 MB, free: 0.5859 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.461e-05/0.01161, allocations: 7.984 kB / 332.2 MB, free: 0.5781 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.086e-05/0.01162, allocations: 4 kB / 332.2 MB, free: 0.5742 MB / 298.7 MB Notification: Performance of sorting global known variables: time 5.768e-05/0.01168, allocations: 80.78 kB / 332.3 MB, free: 0.4922 MB / 298.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01168, allocations: 0 / 332.3 MB, free: 0.4922 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001412/0.01182, allocations: 27.92 kB / 332.3 MB, free: 476 kB / 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.001192/0.01301, allocations: 0.5613 MB / 332.9 MB, free: 180 kB / 298.7 MB Notification: Performance of simCode: created initialization part: time 9.059e-05/0.0131, allocations: 44.78 kB / 332.9 MB, free: 132 kB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.625e-06/0.0131, allocations: 0 / 332.9 MB, free: 132 kB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 3.31e-05/0.01314, allocations: 32.89 kB / 333 MB, free: 96 kB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001751/0.01331, allocations: 31.86 kB / 333 MB, free: 64 kB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003555/0.01367, allocations: 256.5 kB / 333.2 MB, free: 15.78 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.279e-05/0.01372, allocations: 71.33 kB / 333.3 MB, free: 15.69 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 3.819e-05/0.01376, allocations: 21.27 kB / 333.3 MB, free: 15.67 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.533e-05/0.01382, allocations: 71.36 kB / 333.4 MB, free: 15.6 MB / 314.7 MB Notification: Performance of SimCode: time 6.31e-07/0.01382, allocations: 0 / 333.4 MB, free: 15.6 MB / 314.7 MB Notification: Performance of Templates: time 0.003455/0.01728, allocations: 2.046 MB / 335.5 MB, free: 13.59 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test46.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test46.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test46.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test46.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test46.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test46 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test46.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test46_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test46/Test46.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: 3.121462196111679]