Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test22.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.001089/0.001089, allocations: 95.5 kB / 21.2 MB, free: 3.371 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.001272/0.001272, allocations: 160.5 kB / 24.55 MB, free: 16 kB / 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.9986/0.9986, allocations: 177 MB / 204.8 MB, free: 5.59 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.2614/0.2614, allocations: 34.86 MB / 296.3 MB, free: 0.5508 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.Test22,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test22") translateModel(ModelicaTest.Tables.CombiTimeTable.Test22,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test22") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.373e-06/1.373e-06, allocations: 0 / 378.8 MB, free: 2.008 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.711e-05/2.848e-05, allocations: 7.094 kB / 378.9 MB, free: 2 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test22): time 0.002421/0.00245, allocations: 1.764 MB / 380.6 MB, free: 228 kB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001283/0.003732, allocations: 1.012 MB / 381.6 MB, free: 15.2 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.254e-05/0.003815, allocations: 0 / 381.6 MB, free: 15.2 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000313/0.004128, allocations: 51.62 kB / 381.7 MB, free: 15.15 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003112/0.004439, allocations: 95.53 kB / 381.8 MB, free: 15.06 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002027/0.004642, allocations: 79.61 kB / 381.9 MB, free: 14.98 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001648/0.004807, allocations: 115.6 kB / 382 MB, free: 14.87 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.873e-05/0.004895, allocations: 4 kB / 382 MB, free: 14.86 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.942e-05/0.004985, allocations: 59.81 kB / 382 MB, free: 14.8 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.89e-05/0.005074, allocations: 23.92 kB / 382.1 MB, free: 14.78 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 1.696e-05/0.005091, allocations: 4 kB / 382.1 MB, free: 14.78 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.646e-05/0.005177, allocations: 47.91 kB / 382.1 MB, free: 14.73 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 4.884e-05/0.005226, allocations: 23.92 kB / 382.1 MB, free: 14.71 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 4.131e-05/0.005267, allocations: 19.92 kB / 382.1 MB, free: 14.69 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001763/0.005444, allocations: 99.53 kB / 382.2 MB, free: 14.59 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.985e-06/0.005447, allocations: 0 / 382.2 MB, free: 14.59 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.022e-06/0.005448, allocations: 4 kB / 382.2 MB, free: 14.59 MB / 362.7 MB Notification: Performance of Transformations before backend: time 5.841e-06/0.005453, allocations: 4 kB / 382.3 MB, free: 14.58 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.0004435/0.005897, allocations: 451.8 kB / 382.7 MB, free: 14.11 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.778e-05/0.005935, allocations: 8.031 kB / 382.7 MB, free: 14.1 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.131e-05/0.005986, allocations: 16.84 kB / 382.7 MB, free: 14.08 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000175/0.006161, allocations: 149.1 kB / 382.9 MB, free: 13.91 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.846e-05/0.00618, allocations: 4.375 kB / 382.9 MB, free: 13.91 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.457e-05/0.006204, allocations: 4.375 kB / 382.9 MB, free: 13.9 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001168/0.006321, allocations: 62.88 kB / 382.9 MB, free: 13.83 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.1e-05/0.006332, allocations: 12.17 kB / 382.9 MB, free: 13.82 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.957e-06/0.006341, allocations: 4.375 kB / 382.9 MB, free: 13.82 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.194e-06/0.006348, allocations: 3.938 kB / 383 MB, free: 13.81 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.639e-05/0.006384, allocations: 11.98 kB / 383 MB, free: 13.8 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003187/0.006703, allocations: 287.8 kB / 383.2 MB, free: 13.48 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001178/0.006821, allocations: 55.09 kB / 383.3 MB, free: 13.42 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.532e-05/0.006856, allocations: 23.67 kB / 383.3 MB, free: 13.39 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.561e-05/0.006872, allocations: 0 / 383.3 MB, free: 13.39 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001278/0.007, allocations: 68.98 kB / 383.4 MB, free: 13.31 MB / 362.7 MB Notification: Performance of pre-optimization done (n=6): time 1.262e-06/0.007001, allocations: 0 / 383.4 MB, free: 13.31 MB / 362.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004274/0.007428, allocations: 153.4 kB / 383.5 MB, free: 13.15 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.723e-05/0.007466, allocations: 51.41 kB / 383.6 MB, free: 13.09 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001562/0.007622, allocations: 242.3 kB / 383.8 MB, free: 12.84 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.602e-05/0.007638, allocations: 25.7 kB / 383.9 MB, free: 12.8 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.165e-05/0.007699, allocations: 154.8 kB / 384 MB, free: 12.65 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.907e-05/0.007729, allocations: 23.8 kB / 384 MB, free: 12.62 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.748e-05/0.007766, allocations: 31.36 kB / 384.1 MB, free: 12.59 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001362/0.007902, allocations: 0.4962 MB / 384.6 MB, free: 12.08 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.687e-05/0.007929, allocations: 11.94 kB / 384.6 MB, free: 12.07 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.64e-05/0.007965, allocations: 35.36 kB / 384.6 MB, free: 12.02 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.888e-05/0.008024, allocations: 51.36 kB / 384.6 MB, free: 11.96 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.282e-06/0.008026, allocations: 0 / 384.6 MB, free: 11.96 MB / 362.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001161/0.008142, allocations: 101.5 kB / 384.7 MB, free: 11.86 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.474e-05/0.008156, allocations: 8 kB / 384.8 MB, free: 11.85 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.809e-06/0.008161, allocations: 0 / 384.8 MB, free: 11.85 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.319e-05/0.008174, allocations: 0 / 384.8 MB, free: 11.85 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.792e-05/0.008252, allocations: 15.98 kB / 384.8 MB, free: 11.84 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.552e-06/0.008259, allocations: 4 kB / 384.8 MB, free: 11.83 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.921e-05/0.008288, allocations: 0 / 384.8 MB, free: 11.83 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.622e-06/0.008295, allocations: 11.97 kB / 384.8 MB, free: 11.82 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 7.694e-05/0.008372, allocations: 160.6 kB / 384.9 MB, free: 11.65 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.523e-05/0.008387, allocations: 11.89 kB / 385 MB, free: 11.64 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001581/0.008545, allocations: 107.1 kB / 385.1 MB, free: 11.53 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.014e-06/0.008547, allocations: 0 / 385.1 MB, free: 11.53 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.486e-06/0.008551, allocations: 4 kB / 385.1 MB, free: 11.53 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.216e-06/0.008554, allocations: 384 / 385.1 MB, free: 11.53 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003011/0.008855, allocations: 400.9 kB / 385.5 MB, free: 11.09 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.796e-06/0.008858, allocations: 4 kB / 385.5 MB, free: 11.09 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.867e-05/0.008886, allocations: 12.03 kB / 385.5 MB, free: 11.07 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.184e-06/0.008889, allocations: 0 / 385.5 MB, free: 11.07 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.317e-06/0.008898, allocations: 4 kB / 385.5 MB, free: 11.07 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.743e-06/0.0089, allocations: 0 / 385.5 MB, free: 11.07 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.783e-06/0.008901, allocations: 0 / 385.5 MB, free: 11.07 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000155/0.009056, allocations: 255.4 kB / 385.7 MB, free: 10.8 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.536e-05/0.009072, allocations: 15.89 kB / 385.7 MB, free: 10.78 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.965e-05/0.009091, allocations: 8 kB / 385.7 MB, free: 10.77 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.282e-05/0.009134, allocations: 0 / 385.7 MB, free: 10.77 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.002e-05/0.009174, allocations: 7.984 kB / 385.8 MB, free: 10.77 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.616e-05/0.00919, allocations: 8 kB / 385.8 MB, free: 10.76 MB / 362.7 MB Notification: Performance of sorting global known variables: time 7.94e-05/0.00927, allocations: 167.2 kB / 385.9 MB, free: 10.59 MB / 362.7 MB Notification: Performance of sort global known variables: time 5e-08/0.00927, allocations: 3.938 kB / 385.9 MB, free: 10.59 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001845/0.009454, allocations: 31.92 kB / 386 MB, free: 10.56 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.0009262/0.01038, allocations: 433.8 kB / 386.4 MB, free: 10.26 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001466/0.01053, allocations: 51.55 kB / 386.4 MB, free: 10.21 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.454e-06/0.01053, allocations: 0 / 386.4 MB, free: 10.21 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 4.25e-05/0.01057, allocations: 31.61 kB / 386.5 MB, free: 10.17 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002577/0.01083, allocations: 40.08 kB / 386.5 MB, free: 10.13 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003583/0.01119, allocations: 221.9 kB / 386.7 MB, free: 9.883 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.136e-05/0.01123, allocations: 67.33 kB / 386.8 MB, free: 9.797 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 3.603e-05/0.01127, allocations: 21.28 kB / 386.8 MB, free: 9.773 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.414e-05/0.0113, allocations: 16.48 kB / 386.8 MB, free: 9.758 MB / 362.7 MB Notification: Performance of SimCode: time 5.21e-07/0.0113, allocations: 4 kB / 386.8 MB, free: 9.754 MB / 362.7 MB Notification: Performance of Templates: time 0.003783/0.01508, allocations: 1.855 MB / 388.7 MB, free: 7.926 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test22.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test22.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test22.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test22.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test22.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test22 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test22.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test22_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test22/Test22.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.4038293538615108]