Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test11.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.001327/0.001327, allocations: 85.5 kB / 20.68 MB, free: 1.035 MB / 14.72 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.001415/0.001415, allocations: 158.3 kB / 23.95 MB, free: 4.168 MB / 14.72 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.476/1.476, allocations: 177 MB / 204.1 MB, free: 9.168 MB / 190.1 MB " [Timeout remaining time 178] 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.2184/0.2184, allocations: 34.25 MB / 294.8 MB, free: 14.55 MB / 286.1 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.Test11,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5003,variableFilter="time|err1.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test11") translateModel(ModelicaTest.Tables.CombiTimeTable.Test11,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5003,variableFilter="time|err1.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test11") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.462e-06/1.462e-06, allocations: 0 / 442.7 MB, free: 5.23 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.55e-05/2.696e-05, allocations: 4.953 kB / 442.7 MB, free: 5.227 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test11): time 0.003633/0.00366, allocations: 1.916 MB / 444.6 MB, free: 3.293 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.00222/0.00588, allocations: 1.009 MB / 445.7 MB, free: 2.277 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001716/0.006051, allocations: 3.938 kB / 445.7 MB, free: 2.273 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000363/0.006414, allocations: 35.72 kB / 445.7 MB, free: 2.238 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003981/0.006812, allocations: 111.4 kB / 445.8 MB, free: 2.129 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002983/0.007111, allocations: 95.58 kB / 445.9 MB, free: 2.035 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002892/0.0074, allocations: 155.5 kB / 446 MB, free: 1.883 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001279/0.007528, allocations: 21.8 kB / 446.1 MB, free: 1.863 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001528/0.007681, allocations: 75.75 kB / 446.1 MB, free: 1.789 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001263/0.007807, allocations: 43.81 kB / 446.2 MB, free: 1.746 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 2.938e-05/0.007836, allocations: 8 kB / 446.2 MB, free: 1.738 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001311/0.007967, allocations: 47.92 kB / 446.2 MB, free: 1.691 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 7.298e-05/0.00804, allocations: 31.84 kB / 446.3 MB, free: 1.66 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 6.912e-05/0.008109, allocations: 31.86 kB / 446.3 MB, free: 1.629 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003008/0.00841, allocations: 151.5 kB / 446.5 MB, free: 1.48 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.225e-06/0.008412, allocations: 0 / 446.5 MB, free: 1.48 MB / 366.1 MB Notification: Performance of FrontEnd: time 7.11e-07/0.008413, allocations: 0 / 446.5 MB, free: 1.48 MB / 366.1 MB Notification: Performance of Transformations before backend: time 3.757e-06/0.008417, allocations: 0 / 446.5 MB, free: 1.48 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0007342/0.009151, allocations: 411 kB / 446.9 MB, free: 1.043 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.907e-05/0.00919, allocations: 12.03 kB / 446.9 MB, free: 1.031 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.035e-05/0.009251, allocations: 12.84 kB / 446.9 MB, free: 1.02 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003457/0.009596, allocations: 178.3 kB / 447.1 MB, free: 0.8164 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.546e-05/0.009612, allocations: 384 / 447.1 MB, free: 0.8164 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.019e-05/0.009642, allocations: 12.38 kB / 447.1 MB, free: 0.8047 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00031/0.009952, allocations: 134.4 kB / 447.2 MB, free: 0.6523 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.082e-05/0.009963, allocations: 4.188 kB / 447.2 MB, free: 0.6484 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.071e-05/0.009983, allocations: 8.359 kB / 447.2 MB, free: 0.6406 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.118e-05/0.009995, allocations: 7.922 kB / 447.2 MB, free: 0.6328 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001744/0.01017, allocations: 43.97 kB / 447.3 MB, free: 0.5898 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006456/0.01081, allocations: 456.7 kB / 447.7 MB, free: 108 kB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003762/0.01119, allocations: 86.59 kB / 447.8 MB, free: 12 kB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.1795/0.1907, allocations: 32.33 kB / 447.8 MB, free: 19.34 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.43e-05/0.1907, allocations: 1.25 kB / 447.8 MB, free: 19.34 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00023/0.191, allocations: 114.6 kB / 447.9 MB, free: 19.27 MB / 366.1 MB Notification: Performance of pre-optimization done (n=9): time 2.134e-06/0.191, allocations: 0 / 447.9 MB, free: 19.27 MB / 366.1 MB Notification: Performance of matching and sorting (n=9): time 0.0004586/0.1914, allocations: 152.5 kB / 448.1 MB, free: 19.23 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.244e-05/0.1915, allocations: 54.86 kB / 448.1 MB, free: 19.17 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000205/0.1917, allocations: 208 kB / 448.3 MB, free: 19.07 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.417e-05/0.1917, allocations: 26.98 kB / 448.4 MB, free: 19.04 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.119e-05/0.1917, allocations: 124 kB / 448.5 MB, free: 18.95 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.475e-05/0.1918, allocations: 30.05 kB / 448.5 MB, free: 18.95 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.676e-05/0.1918, allocations: 28.11 kB / 448.5 MB, free: 18.93 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 6.577e-05/0.1919, allocations: 329.7 kB / 448.9 MB, free: 18.62 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.769e-05/0.192, allocations: 29.23 kB / 448.9 MB, free: 18.62 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.874e-05/0.1921, allocations: 65.69 kB / 449 MB, free: 18.58 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001824/0.1923, allocations: 102.8 kB / 449.1 MB, free: 18.54 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.535e-06/0.1923, allocations: 0 / 449.1 MB, free: 18.54 MB / 366.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002611/0.1925, allocations: 140 kB / 449.2 MB, free: 18.5 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.615e-05/0.1925, allocations: 5.344 kB / 449.2 MB, free: 18.5 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.572e-06/0.1926, allocations: 1.781 kB / 449.2 MB, free: 18.5 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.773e-05/0.1926, allocations: 3.688 kB / 449.2 MB, free: 18.5 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001093/0.1927, allocations: 28.7 kB / 449.2 MB, free: 18.5 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.023e-06/0.1927, allocations: 5.188 kB / 449.2 MB, free: 18.5 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.307e-05/0.1928, allocations: 16.02 kB / 449.3 MB, free: 18.49 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.194e-05/0.1928, allocations: 5.75 kB / 449.3 MB, free: 18.49 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 6 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,err1.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 14 * 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.959e-05/0.1928, allocations: 135.5 kB / 449.4 MB, free: 18.37 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.497e-05/0.1929, allocations: 13.91 kB / 449.4 MB, free: 18.36 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002945/0.1932, allocations: 127.6 kB / 449.5 MB, free: 18.3 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.646e-06/0.1932, allocations: 1.094 kB / 449.5 MB, free: 18.3 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.738e-06/0.1932, allocations: 1.188 kB / 449.5 MB, free: 18.3 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.348e-06/0.1932, allocations: 0.7031 kB / 449.5 MB, free: 18.3 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000133/0.1933, allocations: 161.8 kB / 449.7 MB, free: 18.16 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.152e-06/0.1933, allocations: 0.5625 kB / 449.7 MB, free: 18.16 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.7e-05/0.1934, allocations: 17.58 kB / 449.7 MB, free: 18.15 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.134e-06/0.1934, allocations: 4.297 kB / 449.7 MB, free: 18.15 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.259e-05/0.1934, allocations: 2.219 kB / 449.7 MB, free: 18.15 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.014e-06/0.1934, allocations: 0.7031 kB / 449.7 MB, free: 18.15 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.954e-06/0.1934, allocations: 1.594 kB / 449.7 MB, free: 18.15 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003771/0.1938, allocations: 201.7 kB / 449.9 MB, free: 18.04 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.448e-05/0.1938, allocations: 16.41 kB / 449.9 MB, free: 18.03 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.749e-05/0.1939, allocations: 2.5 kB / 449.9 MB, free: 18.03 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.61e-05/0.1939, allocations: 10.28 kB / 449.9 MB, free: 18.02 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.166e-05/0.194, allocations: 5.609 kB / 449.9 MB, free: 18.02 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.793e-05/0.194, allocations: 4.031 kB / 450 MB, free: 18.02 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001186/0.1941, allocations: 148.1 kB / 450.1 MB, free: 17.93 MB / 366.1 MB Notification: Performance of sort global known variables: time 7.1e-08/0.1941, allocations: 0 / 450.1 MB, free: 17.93 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002484/0.1943, allocations: 32.12 kB / 450.1 MB, free: 17.92 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (err1.y) * 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 (10): * Single equations (assignments): 8 * 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.001602/0.1959, allocations: 431.3 kB / 450.5 MB, free: 17.75 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002693/0.1962, allocations: 81.56 kB / 450.6 MB, free: 17.73 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.805e-06/0.1962, allocations: 5.094 kB / 450.6 MB, free: 17.73 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001096/0.1963, allocations: 44.45 kB / 450.7 MB, free: 17.71 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003062/0.1966, allocations: 41.25 kB / 450.7 MB, free: 17.7 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005131/0.1971, allocations: 261.3 kB / 451 MB, free: 17.52 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.531e-05/0.1972, allocations: 100.8 kB / 451.1 MB, free: 17.45 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 6.353e-05/0.1973, allocations: 24.14 kB / 451.1 MB, free: 17.43 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.021e-05/0.1973, allocations: 21.22 kB / 451.1 MB, free: 17.42 MB / 366.1 MB Notification: Performance of SimCode: time 3.31e-07/0.1973, allocations: 1.375 kB / 451.1 MB, free: 17.42 MB / 366.1 MB Notification: Performance of Templates: time 0.005503/0.2028, allocations: 2.027 MB / 453.1 MB, free: 17.18 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test11.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test11.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test11.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test11.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test11.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test11 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test11.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test11_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test11/Test11.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test11.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.8593446761369705]