Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test44.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.001543/0.001543, allocations: 88.83 kB / 20.68 MB, free: 1.02 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.001648/0.001648, allocations: 158.1 kB / 23.95 MB, free: 4.145 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.477/1.477, allocations: 177 MB / 204.1 MB, free: 9.148 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.2172/0.2172, allocations: 34.27 MB / 294.8 MB, free: 14.52 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.Test44,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test44") translateModel(ModelicaTest.Tables.CombiTimeTable.Test44,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test44") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.783e-06/1.783e-06, allocations: 0 / 442.7 MB, free: 5.207 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.676e-05/2.854e-05, allocations: 6.219 kB / 442.7 MB, free: 5.199 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test44): time 0.003248/0.003277, allocations: 1.718 MB / 444.5 MB, free: 3.469 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.00194/0.005217, allocations: 0.9813 MB / 445.4 MB, free: 2.48 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.22e-05/0.005309, allocations: 0 / 445.4 MB, free: 2.48 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002916/0.0056, allocations: 35.77 kB / 445.5 MB, free: 2.445 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003599/0.00596, allocations: 99.53 kB / 445.6 MB, free: 2.348 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002733/0.006234, allocations: 83.55 kB / 445.7 MB, free: 2.266 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002149/0.006449, allocations: 107.6 kB / 445.8 MB, free: 2.16 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.97e-05/0.006538, allocations: 12 kB / 445.8 MB, free: 2.148 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001279/0.006666, allocations: 51.84 kB / 445.8 MB, free: 2.098 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.603e-05/0.006752, allocations: 31.89 kB / 445.9 MB, free: 2.066 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 2.317e-05/0.006775, allocations: 4 kB / 445.9 MB, free: 2.062 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001104/0.006886, allocations: 43.92 kB / 445.9 MB, free: 2.02 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 6.504e-05/0.006951, allocations: 23.91 kB / 445.9 MB, free: 1.996 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 4.646e-05/0.006997, allocations: 19.88 kB / 446 MB, free: 1.977 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000243/0.00724, allocations: 123.5 kB / 446.1 MB, free: 1.855 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.675e-06/0.007243, allocations: 0 / 446.1 MB, free: 1.855 MB / 366.1 MB Notification: Performance of FrontEnd: time 8.22e-07/0.007244, allocations: 0 / 446.1 MB, free: 1.855 MB / 366.1 MB Notification: Performance of Transformations before backend: time 4.409e-06/0.007248, allocations: 0 / 446.1 MB, free: 1.855 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0005666/0.007815, allocations: 349.6 kB / 446.4 MB, free: 1.484 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.515e-05/0.00785, allocations: 8.031 kB / 446.4 MB, free: 1.477 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.959e-05/0.0079, allocations: 12.89 kB / 446.4 MB, free: 1.465 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002787/0.008178, allocations: 157.5 kB / 446.6 MB, free: 1.285 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.635e-05/0.008195, allocations: 12.25 kB / 446.6 MB, free: 1.273 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.857e-05/0.008213, allocations: 384 / 446.6 MB, free: 1.273 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001568/0.00837, allocations: 62.17 kB / 446.7 MB, free: 1.207 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.21e-05/0.008382, allocations: 192 / 446.7 MB, free: 1.207 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.769e-06/0.008392, allocations: 384 / 446.7 MB, free: 1.207 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.452e-06/0.008398, allocations: 3.938 kB / 446.7 MB, free: 1.203 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.308e-05/0.008491, allocations: 31.95 kB / 446.7 MB, free: 1.172 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003615/0.008853, allocations: 228.6 kB / 446.9 MB, free: 0.918 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002013/0.009054, allocations: 62.62 kB / 447 MB, free: 0.8477 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.152e-05/0.009116, allocations: 20.84 kB / 447 MB, free: 0.8242 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.572e-05/0.009131, allocations: 0 / 447 MB, free: 0.8242 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001634/0.009295, allocations: 71.33 kB / 447.1 MB, free: 0.7422 MB / 366.1 MB Notification: Performance of pre-optimization done (n=6): time 1.272e-06/0.009296, allocations: 0 / 447.1 MB, free: 0.7422 MB / 366.1 MB Notification: Performance of matching and sorting (n=8): time 0.000618/0.009914, allocations: 185.3 kB / 447.3 MB, free: 0.5547 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.978e-05/0.009974, allocations: 63.39 kB / 447.3 MB, free: 492 kB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002211/0.0102, allocations: 206.4 kB / 447.5 MB, free: 276 kB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.758e-05/0.01022, allocations: 29.7 kB / 447.5 MB, free: 240 kB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.33e-05/0.0103, allocations: 104.1 kB / 447.6 MB, free: 132 kB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.575e-05/0.01033, allocations: 23.8 kB / 447.7 MB, free: 108 kB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.924e-05/0.01038, allocations: 29.7 kB / 447.7 MB, free: 72 kB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.1796/0.19, allocations: 322.8 kB / 448 MB, free: 18.93 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001277/0.1901, allocations: 18.7 kB / 448 MB, free: 18.93 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.583e-05/0.1902, allocations: 39.36 kB / 448.1 MB, free: 18.91 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001294/0.1903, allocations: 64.7 kB / 448.1 MB, free: 18.89 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.884e-06/0.1903, allocations: 1 kB / 448.1 MB, free: 18.89 MB / 366.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002499/0.1906, allocations: 111.1 kB / 448.2 MB, free: 18.86 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.887e-05/0.1906, allocations: 9.844 kB / 448.3 MB, free: 18.86 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.234e-06/0.1906, allocations: 1.062 kB / 448.3 MB, free: 18.86 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.901e-05/0.1906, allocations: 1.125 kB / 448.3 MB, free: 18.86 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000106/0.1907, allocations: 14.89 kB / 448.3 MB, free: 18.86 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.34e-06/0.1907, allocations: 1.125 kB / 448.3 MB, free: 18.86 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.013e-05/0.1908, allocations: 6.938 kB / 448.3 MB, free: 18.86 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.105e-05/0.1908, allocations: 3.828 kB / 448.3 MB, free: 18.86 MB / 366.1 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.673e-05/0.1909, allocations: 129.7 kB / 448.4 MB, free: 18.75 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.525e-05/0.1909, allocations: 12.5 kB / 448.4 MB, free: 18.75 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002824/0.1912, allocations: 129.2 kB / 448.5 MB, free: 18.71 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.687e-06/0.1912, allocations: 1.188 kB / 448.5 MB, free: 18.71 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.821e-06/0.1912, allocations: 5.188 kB / 448.6 MB, free: 18.71 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5e-06/0.1912, allocations: 4.156 kB / 448.6 MB, free: 18.71 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004147/0.1916, allocations: 345.4 kB / 448.9 MB, free: 18.47 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.334e-06/0.1916, allocations: 0.7031 kB / 448.9 MB, free: 18.47 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.177e-05/0.1917, allocations: 10.17 kB / 448.9 MB, free: 18.47 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.005e-06/0.1917, allocations: 1.625 kB / 448.9 MB, free: 18.47 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.232e-05/0.1917, allocations: 14.75 kB / 448.9 MB, free: 18.46 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.334e-06/0.1917, allocations: 1 kB / 448.9 MB, free: 18.46 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.855e-06/0.1917, allocations: 1.766 kB / 448.9 MB, free: 18.46 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000224/0.1919, allocations: 220.7 kB / 449.1 MB, free: 18.32 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.805e-05/0.1919, allocations: 9.484 kB / 449.1 MB, free: 18.32 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.599e-05/0.192, allocations: 6.719 kB / 449.2 MB, free: 18.32 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.662e-05/0.192, allocations: 6.5 kB / 449.2 MB, free: 18.32 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.345e-05/0.1921, allocations: 6.594 kB / 449.2 MB, free: 18.32 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.874e-05/0.1921, allocations: 3.844 kB / 449.2 MB, free: 18.32 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001218/0.1922, allocations: 161 kB / 449.3 MB, free: 18.25 MB / 366.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.1922, allocations: 3.562 kB / 449.3 MB, free: 18.25 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002723/0.1925, allocations: 28.25 kB / 449.4 MB, free: 18.25 MB / 366.1 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.001848/0.1943, allocations: 486.8 kB / 449.8 MB, free: 18.07 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002019/0.1946, allocations: 61.17 kB / 449.9 MB, free: 18.06 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/0.1946, allocations: 0 / 449.9 MB, free: 18.06 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 8.161e-05/0.1946, allocations: 25.52 kB / 449.9 MB, free: 18.06 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003853/0.195, allocations: 37.11 kB / 450 MB, free: 18.05 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004856/0.1955, allocations: 250.5 kB / 450.2 MB, free: 17.88 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.811e-05/0.1956, allocations: 97.62 kB / 450.3 MB, free: 17.8 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 5.387e-05/0.1956, allocations: 16.56 kB / 450.3 MB, free: 17.79 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.063e-05/0.1957, allocations: 21.84 kB / 450.3 MB, free: 17.78 MB / 366.1 MB Notification: Performance of SimCode: time 3.3e-07/0.1957, allocations: 1.969 kB / 450.3 MB, free: 17.78 MB / 366.1 MB Notification: Performance of Templates: time 0.005953/0.2016, allocations: 1.843 MB / 452.2 MB, free: 17.54 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test44.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test44.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test44.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test44.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test44.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test44 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test44.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test44_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test44/Test44.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test44.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.977375637739897]