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.001156/0.001156, allocations: 79.69 kB / 21.7 MB, free: 2.848 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.001174/0.001174, allocations: 165.2 kB / 24.99 MB, free: 8.219 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.9892/0.9892, allocations: 177 MB / 205.2 MB, free: 5.52 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.254/0.254, allocations: 34.85 MB / 296.6 MB, free: 0.5273 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.553e-06/1.553e-06, allocations: 0 / 378.8 MB, free: 2.324 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.465e-05/2.62e-05, allocations: 2.312 kB / 378.8 MB, free: 2.32 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test46): time 0.003139/0.003165, allocations: 1.759 MB / 380.6 MB, free: 0.5469 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001757/0.004922, allocations: 1.012 MB / 381.6 MB, free: 15.53 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001026/0.005025, allocations: 3.938 kB / 381.6 MB, free: 15.52 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000416/0.005441, allocations: 51.7 kB / 381.7 MB, free: 15.47 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000397/0.005838, allocations: 103.5 kB / 381.8 MB, free: 15.37 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002469/0.006085, allocations: 79.61 kB / 381.8 MB, free: 15.29 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002379/0.006322, allocations: 111.6 kB / 381.9 MB, free: 15.18 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001096/0.006432, allocations: 7.984 kB / 382 MB, free: 15.18 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00011/0.006542, allocations: 55.83 kB / 382 MB, free: 15.12 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.261e-05/0.006635, allocations: 27.91 kB / 382 MB, free: 15.09 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 2.086e-05/0.006656, allocations: 4 kB / 382 MB, free: 15.09 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001095/0.006765, allocations: 43.92 kB / 382.1 MB, free: 15.05 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 6.872e-05/0.006834, allocations: 31.92 kB / 382.1 MB, free: 15.02 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 5.691e-05/0.006891, allocations: 27.84 kB / 382.1 MB, free: 14.99 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002464/0.007137, allocations: 111.5 kB / 382.2 MB, free: 14.88 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.645e-06/0.00714, allocations: 0 / 382.2 MB, free: 14.88 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.012e-06/0.007141, allocations: 0 / 382.2 MB, free: 14.88 MB / 362.7 MB Notification: Performance of Transformations before backend: time 6.062e-06/0.007147, allocations: 4 kB / 382.3 MB, free: 14.88 MB / 362.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.0006191/0.007766, allocations: 475.6 kB / 382.7 MB, free: 14.38 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.98e-05/0.007816, allocations: 8.031 kB / 382.7 MB, free: 14.37 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.29e-05/0.007889, allocations: 16.84 kB / 382.7 MB, free: 14.35 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002519/0.008141, allocations: 169.2 kB / 382.9 MB, free: 14.16 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.515e-05/0.008166, allocations: 16.38 kB / 382.9 MB, free: 14.14 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.304e-05/0.008189, allocations: 384 / 382.9 MB, free: 14.14 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001564/0.008345, allocations: 62.94 kB / 383 MB, free: 14.07 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.333e-05/0.008359, allocations: 4.172 kB / 383 MB, free: 14.07 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.064e-05/0.008369, allocations: 384 / 383 MB, free: 14.07 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.007e-05/0.008379, allocations: 3.938 kB / 383 MB, free: 14.06 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.112e-05/0.00843, allocations: 11.98 kB / 383 MB, free: 14.05 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003899/0.00882, allocations: 299.8 kB / 383.3 MB, free: 13.72 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001339/0.008954, allocations: 55.11 kB / 383.4 MB, free: 13.66 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.162e-05/0.008996, allocations: 15.69 kB / 383.4 MB, free: 13.64 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.539e-05/0.009011, allocations: 4 kB / 383.4 MB, free: 13.63 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001402/0.009151, allocations: 72.98 kB / 383.4 MB, free: 13.55 MB / 362.7 MB Notification: Performance of pre-optimization done (n=6): time 1.523e-06/0.009153, allocations: 0 / 383.4 MB, free: 13.55 MB / 362.7 MB Notification: Performance of matching and sorting (n=8): time 0.0005006/0.009654, allocations: 165.2 kB / 383.6 MB, free: 13.38 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.812e-05/0.009692, allocations: 55.41 kB / 383.7 MB, free: 13.31 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002352/0.009927, allocations: 277.6 kB / 383.9 MB, free: 13.02 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.933e-05/0.009946, allocations: 29.7 kB / 384 MB, free: 12.99 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.11e-05/0.01004, allocations: 162.9 kB / 384.1 MB, free: 12.82 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.721e-05/0.01007, allocations: 35.7 kB / 384.2 MB, free: 12.79 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.372e-05/0.01012, allocations: 31.38 kB / 384.2 MB, free: 12.75 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001564/0.01027, allocations: 0.504 MB / 384.7 MB, free: 12.23 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.69e-05/0.01031, allocations: 11.98 kB / 384.7 MB, free: 12.22 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.045e-05/0.01036, allocations: 35.36 kB / 384.7 MB, free: 12.18 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.819e-05/0.01044, allocations: 43.38 kB / 384.8 MB, free: 12.13 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.553e-06/0.01044, allocations: 0 / 384.8 MB, free: 12.13 MB / 362.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001594/0.0106, allocations: 97.45 kB / 384.9 MB, free: 12.03 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.428e-05/0.01062, allocations: 4 kB / 384.9 MB, free: 12.02 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.044e-06/0.01062, allocations: 4 kB / 384.9 MB, free: 12.02 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.602e-05/0.01064, allocations: 4.031 kB / 384.9 MB, free: 12.02 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001015/0.01074, allocations: 15.94 kB / 384.9 MB, free: 12 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.442e-06/0.01075, allocations: 0 / 384.9 MB, free: 12 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.914e-05/0.0108, allocations: 11.98 kB / 384.9 MB, free: 11.99 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.015e-05/0.01081, allocations: 4.375 kB / 384.9 MB, free: 11.98 MB / 362.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 9.793e-05/0.0109, allocations: 156.6 kB / 385.1 MB, free: 11.82 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.124e-05/0.01093, allocations: 23.84 kB / 385.1 MB, free: 11.8 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002136/0.01115, allocations: 111 kB / 385.2 MB, free: 11.68 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.435e-06/0.01115, allocations: 0 / 385.2 MB, free: 11.68 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.781e-06/0.01116, allocations: 8 kB / 385.2 MB, free: 11.68 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.278e-06/0.01116, allocations: 0 / 385.2 MB, free: 11.68 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005782/0.01174, allocations: 409 kB / 385.6 MB, free: 11.23 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.074e-06/0.01174, allocations: 0 / 385.6 MB, free: 11.23 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.146e-05/0.01178, allocations: 8 kB / 385.6 MB, free: 11.22 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.339e-06/0.01179, allocations: 4 kB / 385.6 MB, free: 11.22 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.103e-05/0.0118, allocations: 3.984 kB / 385.6 MB, free: 11.21 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.344e-06/0.0118, allocations: 0 / 385.6 MB, free: 11.21 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.723e-06/0.0118, allocations: 0 / 385.6 MB, free: 11.21 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000217/0.01202, allocations: 267.4 kB / 385.9 MB, free: 10.93 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.222e-05/0.01204, allocations: 15.94 kB / 385.9 MB, free: 10.91 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.39e-05/0.01207, allocations: 0 / 385.9 MB, free: 10.91 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.586e-05/0.01214, allocations: 4 kB / 385.9 MB, free: 10.91 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.67e-05/0.01219, allocations: 11.98 kB / 385.9 MB, free: 10.9 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.753e-05/0.01221, allocations: 11.88 kB / 385.9 MB, free: 10.89 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001375/0.01234, allocations: 192.5 kB / 386.1 MB, free: 10.7 MB / 362.7 MB Notification: Performance of sort global known variables: time 9e-08/0.01234, allocations: 0 / 386.1 MB, free: 10.7 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.000307/0.01265, allocations: 27.92 kB / 386.1 MB, free: 10.67 MB / 362.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.001367/0.01402, allocations: 435.1 kB / 386.6 MB, free: 10.38 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001532/0.01417, allocations: 67.52 kB / 386.6 MB, free: 10.3 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.893e-06/0.01417, allocations: 0 / 386.6 MB, free: 10.3 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 5.539e-05/0.01423, allocations: 31.67 kB / 386.7 MB, free: 10.27 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003639/0.01459, allocations: 31.97 kB / 386.7 MB, free: 10.24 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004716/0.01506, allocations: 270.4 kB / 387 MB, free: 9.941 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.688e-05/0.01512, allocations: 71.33 kB / 387 MB, free: 9.852 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 5.058e-05/0.01517, allocations: 21.39 kB / 387 MB, free: 9.832 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.239e-05/0.01521, allocations: 16.5 kB / 387.1 MB, free: 9.816 MB / 362.7 MB Notification: Performance of SimCode: time 6.91e-07/0.01521, allocations: 0 / 387.1 MB, free: 9.816 MB / 362.7 MB Notification: Performance of Templates: time 0.004854/0.02007, allocations: 1.877 MB / 388.9 MB, free: 7.969 MB / 362.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: 2.978009882150218]