Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test15.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.002016/0.002016, allocations: 108.3 kB / 19.7 MB, free: 1.918 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.003203/0.003203, allocations: 215.5 kB / 22.99 MB, free: 4.977 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.706/1.706, allocations: 207.7 MB / 233.8 MB, free: 9.789 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2674/0.2674, allocations: 44.27 MB / 330.4 MB, free: 9.285 MB / 270.1 MB " [Timeout remaining time 179] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test15,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test15") translateModel(ModelicaTest.Tables.CombiTimeTable.Test15,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test15") [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002506/0.002506, allocations: 80.97 kB / 468.1 MB, free: 3.77 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1843/0.1868, allocations: 61.04 MB / 0.5167 GB, free: 6.605 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test15): time 0.004038/0.1908, allocations: 1.684 MB / 0.5183 GB, free: 4.91 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001779/0.1926, allocations: 0.7845 MB / 0.5191 GB, free: 4.117 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001122/0.1927, allocations: 7.938 kB / 0.5191 GB, free: 4.109 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004367/0.1932, allocations: 31.83 kB / 0.5191 GB, free: 4.078 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002881/0.1935, allocations: 55.7 kB / 0.5192 GB, free: 4.023 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003136/0.1938, allocations: 91.77 kB / 0.5193 GB, free: 3.934 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002435/0.194, allocations: 99.67 kB / 0.5194 GB, free: 3.836 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001515/0.1942, allocations: 8.219 kB / 0.5194 GB, free: 3.828 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001066/0.1943, allocations: 35.86 kB / 0.5194 GB, free: 3.793 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001229/0.1944, allocations: 39.78 kB / 0.5195 GB, free: 3.754 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.677e-05/0.1944, allocations: 4 kB / 0.5195 GB, free: 3.75 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001256/0.1945, allocations: 47.92 kB / 0.5195 GB, free: 3.703 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 7.646e-05/0.1946, allocations: 15.92 kB / 0.5195 GB, free: 3.688 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 7.068e-05/0.1947, allocations: 27.84 kB / 0.5196 GB, free: 3.66 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002806/0.195, allocations: 107.6 kB / 0.5197 GB, free: 3.555 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.628e-06/0.195, allocations: 0 / 0.5197 GB, free: 3.555 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.354e-06/0.195, allocations: 3.938 kB / 0.5197 GB, free: 3.551 MB / 398.1 MB Notification: Performance of Transformations before backend: time 8.697e-06/0.195, allocations: 4 kB / 0.5197 GB, free: 3.547 MB / 398.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.0007946/0.1958, allocations: 333.6 kB / 0.52 GB, free: 3.191 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.828e-05/0.1958, allocations: 12.03 kB / 0.52 GB, free: 3.18 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.109e-05/0.1959, allocations: 8.891 kB / 0.52 GB, free: 3.172 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003361/0.1962, allocations: 154.2 kB / 0.5201 GB, free: 2.996 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.861e-05/0.1962, allocations: 384 / 0.5201 GB, free: 2.996 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.604e-05/0.1963, allocations: 12.11 kB / 0.5202 GB, free: 2.984 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000191/0.1965, allocations: 53.67 kB / 0.5202 GB, free: 2.926 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.136e-05/0.1965, allocations: 3.953 kB / 0.5202 GB, free: 2.922 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.235e-05/0.1965, allocations: 0 / 0.5202 GB, free: 2.922 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.8e-06/0.1965, allocations: 0 / 0.5202 GB, free: 2.922 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.671e-05/0.1966, allocations: 19.98 kB / 0.5202 GB, free: 2.902 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004631/0.1971, allocations: 240.5 kB / 0.5205 GB, free: 2.637 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002029/0.1973, allocations: 46.69 kB / 0.5205 GB, free: 2.582 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.661e-05/0.1973, allocations: 24.84 kB / 0.5205 GB, free: 2.555 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.354e-05/0.1974, allocations: 4 kB / 0.5205 GB, free: 2.551 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001764/0.1975, allocations: 71.31 kB / 0.5206 GB, free: 2.469 MB / 398.1 MB Notification: Performance of pre-optimization done (n=6): time 1.623e-06/0.1975, allocations: 4 kB / 0.5206 GB, free: 2.465 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.000629/0.1982, allocations: 169.5 kB / 0.5208 GB, free: 2.293 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.863e-05/0.1982, allocations: 63.33 kB / 0.5208 GB, free: 2.219 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002003/0.1984, allocations: 178.2 kB / 0.521 GB, free: 2.035 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.082e-05/0.1984, allocations: 25.7 kB / 0.521 GB, free: 2.004 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.151e-05/0.1985, allocations: 104.1 kB / 0.5211 GB, free: 1.898 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.392e-05/0.1986, allocations: 19.86 kB / 0.5211 GB, free: 1.879 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.611e-05/0.1986, allocations: 25.7 kB / 0.5212 GB, free: 1.848 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001539/0.1988, allocations: 330.8 kB / 0.5215 GB, free: 1.516 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.056e-05/0.1988, allocations: 16 kB / 0.5215 GB, free: 1.5 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.427e-05/0.1989, allocations: 33.7 kB / 0.5215 GB, free: 1.461 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001343/0.199, allocations: 65.64 kB / 0.5216 GB, free: 1.391 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.92e-07/0.199, allocations: 4 kB / 0.5216 GB, free: 1.387 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001978/0.1992, allocations: 113.5 kB / 0.5217 GB, free: 1.27 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.536e-05/0.1993, allocations: 4 kB / 0.5217 GB, free: 1.266 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.591e-06/0.1993, allocations: 0 / 0.5217 GB, free: 1.266 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.025e-05/0.1993, allocations: 4 kB / 0.5217 GB, free: 1.262 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001011/0.1994, allocations: 19.92 kB / 0.5217 GB, free: 1.242 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.663e-06/0.1994, allocations: 4.125 kB / 0.5217 GB, free: 1.238 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.536e-05/0.1994, allocations: 4 kB / 0.5217 GB, free: 1.234 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.883e-06/0.1994, allocations: 3.938 kB / 0.5217 GB, free: 1.23 MB / 398.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 0.0001296/0.1996, allocations: 133.8 kB / 0.5219 GB, free: 1.09 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.418e-05/0.1996, allocations: 11.95 kB / 0.5219 GB, free: 1.078 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002766/0.1999, allocations: 118.3 kB / 0.522 GB, free: 0.9531 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.575e-06/0.1999, allocations: 0 / 0.522 GB, free: 0.9531 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.779e-06/0.1999, allocations: 0 / 0.522 GB, free: 0.9531 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.166e-06/0.1999, allocations: 0 / 0.522 GB, free: 0.9531 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004713/0.2004, allocations: 346.9 kB / 0.5223 GB, free: 0.5742 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.907e-06/0.2004, allocations: 3.984 kB / 0.5223 GB, free: 0.5703 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.127e-05/0.2004, allocations: 12 kB / 0.5223 GB, free: 0.5586 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.853e-06/0.2004, allocations: 4.031 kB / 0.5223 GB, free: 0.5547 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.618e-06/0.2004, allocations: 0 / 0.5223 GB, free: 0.5547 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.583e-06/0.2004, allocations: 0 / 0.5223 GB, free: 0.5547 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.396e-06/0.2004, allocations: 8.312 kB / 0.5223 GB, free: 0.5469 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002708/0.2007, allocations: 212.3 kB / 0.5226 GB, free: 328 kB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.373e-05/0.2007, allocations: 15.84 kB / 0.5226 GB, free: 312 kB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.989e-05/0.2007, allocations: 8 kB / 0.5226 GB, free: 304 kB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.863e-05/0.2008, allocations: 0 / 0.5226 GB, free: 304 kB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.228e-05/0.2009, allocations: 19.86 kB / 0.5226 GB, free: 284 kB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.635e-05/0.2009, allocations: 4 kB / 0.5226 GB, free: 280 kB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001295/0.201, allocations: 136 kB / 0.5227 GB, free: 144 kB / 398.1 MB Notification: Performance of sort global known variables: time 8e-08/0.201, allocations: 4 kB / 0.5227 GB, free: 140 kB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002788/0.2013, allocations: 24 kB / 0.5228 GB, free: 116 kB / 398.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.002088/0.2034, allocations: 492.9 kB / 0.5232 GB, free: 15.67 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002395/0.2036, allocations: 63.86 kB / 0.5233 GB, free: 15.61 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 4.128e-06/0.2036, allocations: 4 kB / 0.5233 GB, free: 15.61 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 9.563e-05/0.2037, allocations: 31.92 kB / 0.5233 GB, free: 15.58 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003825/0.2041, allocations: 28.19 kB / 0.5233 GB, free: 15.55 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006824/0.2048, allocations: 219.1 kB / 0.5236 GB, free: 15.31 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001273/0.2049, allocations: 85.44 kB / 0.5236 GB, free: 15.2 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 6.787e-05/0.205, allocations: 12.5 kB / 0.5236 GB, free: 15.19 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.817e-05/0.205, allocations: 19.42 kB / 0.5237 GB, free: 15.18 MB / 414.1 MB Notification: Performance of SimCode: time 8.41e-07/0.205, allocations: 0 / 0.5237 GB, free: 15.18 MB / 414.1 MB Notification: Performance of Templates: time 0.006816/0.2118, allocations: 1.868 MB / 0.5255 GB, free: 13.32 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test15.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test15.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test15.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test15.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test15.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test15 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test15.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test15_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test15/Test15.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test15.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: 5.956944456323981]