Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test19.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.002104/0.002104, 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.002215/0.002215, allocations: 214.6 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.841/1.841, allocations: 207.7 MB / 233.8 MB, free: 9.797 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.2816/0.2816, allocations: 44.26 MB / 330.3 MB, free: 9.305 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.Test19,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test19") translateModel(ModelicaTest.Tables.CombiTimeTable.Test19,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test19") [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.00375/0.00375, allocations: 71.89 kB / 468.1 MB, free: 3.773 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1915/0.1952, allocations: 61.04 MB / 0.5167 GB, free: 6.602 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test19): time 0.005603/0.2008, allocations: 1.687 MB / 0.5183 GB, free: 4.902 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002215/0.2031, allocations: 0.7767 MB / 0.5191 GB, free: 4.117 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001404/0.2032, allocations: 3.938 kB / 0.5191 GB, free: 4.113 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004397/0.2036, allocations: 39.84 kB / 0.5191 GB, free: 4.074 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003942/0.204, allocations: 63.69 kB / 0.5192 GB, free: 4.012 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004549/0.2045, allocations: 83.77 kB / 0.5193 GB, free: 3.93 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002982/0.2048, allocations: 99.69 kB / 0.5194 GB, free: 3.832 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001409/0.2049, allocations: 16.2 kB / 0.5194 GB, free: 3.816 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00014/0.2051, allocations: 35.86 kB / 0.5194 GB, free: 3.781 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001212/0.2052, allocations: 31.78 kB / 0.5195 GB, free: 3.75 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.584e-05/0.2052, allocations: 4 kB / 0.5195 GB, free: 3.746 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001866/0.2054, allocations: 47.92 kB / 0.5195 GB, free: 3.699 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 9.301e-05/0.2055, allocations: 23.92 kB / 0.5195 GB, free: 3.676 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 8.253e-05/0.2056, allocations: 27.8 kB / 0.5196 GB, free: 3.648 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003463/0.2059, allocations: 107.6 kB / 0.5197 GB, free: 3.543 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.101e-06/0.2059, allocations: 0 / 0.5197 GB, free: 3.543 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.675e-06/0.2059, allocations: 0 / 0.5197 GB, free: 3.543 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.734e-06/0.2059, allocations: 0 / 0.5197 GB, free: 3.543 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.0007784/0.2067, allocations: 337.7 kB / 0.52 GB, free: 3.184 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.342e-05/0.2068, allocations: 8.031 kB / 0.52 GB, free: 3.176 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.424e-05/0.2068, allocations: 12.84 kB / 0.52 GB, free: 3.164 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004971/0.2073, allocations: 150.3 kB / 0.5201 GB, free: 2.992 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.397e-05/0.2074, allocations: 8.375 kB / 0.5202 GB, free: 2.984 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.105e-05/0.2074, allocations: 8.125 kB / 0.5202 GB, free: 2.977 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00021/0.2076, allocations: 53.67 kB / 0.5202 GB, free: 2.918 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.606e-05/0.2076, allocations: 0 / 0.5202 GB, free: 2.918 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.328e-05/0.2076, allocations: 0 / 0.5202 GB, free: 2.918 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.18e-06/0.2076, allocations: 0 / 0.5202 GB, free: 2.918 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001072/0.2077, allocations: 19.98 kB / 0.5202 GB, free: 2.898 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000522/0.2083, allocations: 236.5 kB / 0.5205 GB, free: 2.637 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002321/0.2085, allocations: 58.66 kB / 0.5205 GB, free: 2.57 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.635e-05/0.2086, allocations: 24.84 kB / 0.5205 GB, free: 2.543 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.648e-05/0.2086, allocations: 4 kB / 0.5205 GB, free: 2.539 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002025/0.2088, allocations: 71.28 kB / 0.5206 GB, free: 2.457 MB / 398.1 MB Notification: Performance of pre-optimization done (n=6): time 1.983e-06/0.2088, allocations: 0 / 0.5206 GB, free: 2.457 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0007761/0.2096, allocations: 185.4 kB / 0.5208 GB, free: 2.27 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.129e-05/0.2097, allocations: 55.34 kB / 0.5208 GB, free: 2.203 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002695/0.2099, allocations: 198 kB / 0.521 GB, free: 2 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.788e-05/0.21, allocations: 33.7 kB / 0.5211 GB, free: 1.961 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.185e-05/0.21, allocations: 100.1 kB / 0.5212 GB, free: 1.859 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.413e-05/0.2101, allocations: 27.8 kB / 0.5212 GB, free: 1.832 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.707e-05/0.2102, allocations: 21.7 kB / 0.5212 GB, free: 1.805 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001847/0.2103, allocations: 326.8 kB / 0.5215 GB, free: 1.477 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.932e-05/0.2104, allocations: 23.94 kB / 0.5215 GB, free: 1.453 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001002/0.2105, allocations: 37.7 kB / 0.5216 GB, free: 1.41 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000185/0.2107, allocations: 65.64 kB / 0.5216 GB, free: 1.34 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.214e-06/0.2107, allocations: 0 / 0.5216 GB, free: 1.34 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002745/0.211, allocations: 106 kB / 0.5217 GB, free: 1.23 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.346e-05/0.211, allocations: 8.031 kB / 0.5217 GB, free: 1.223 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.192e-06/0.211, allocations: 0 / 0.5217 GB, free: 1.223 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.685e-05/0.211, allocations: 0 / 0.5217 GB, free: 1.223 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001334/0.2112, allocations: 27.92 kB / 0.5218 GB, free: 1.195 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.824e-06/0.2112, allocations: 0 / 0.5218 GB, free: 1.195 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.209e-05/0.2112, allocations: 0 / 0.5218 GB, free: 1.195 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.356e-05/0.2112, allocations: 4 kB / 0.5218 GB, free: 1.191 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.0001538/0.2114, allocations: 129.8 kB / 0.5219 GB, free: 1.055 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.702e-05/0.2114, allocations: 11.95 kB / 0.5219 GB, free: 1.043 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003376/0.2118, allocations: 118.3 kB / 0.522 GB, free: 0.918 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.536e-06/0.2118, allocations: 4 kB / 0.522 GB, free: 0.9141 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.221e-06/0.2118, allocations: 0 / 0.522 GB, free: 0.9141 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.288e-06/0.2118, allocations: 0 / 0.522 GB, free: 0.9141 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006103/0.2124, allocations: 354.9 kB / 0.5224 GB, free: 0.5273 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.515e-06/0.2124, allocations: 0 / 0.5224 GB, free: 0.5273 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.079e-05/0.2125, allocations: 8 kB / 0.5224 GB, free: 0.5195 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.737e-06/0.2125, allocations: 0 / 0.5224 GB, free: 0.5195 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.545e-05/0.2125, allocations: 4 kB / 0.5224 GB, free: 0.5156 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.375e-06/0.2125, allocations: 0 / 0.5224 GB, free: 0.5156 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.16e-06/0.2125, allocations: 3.938 kB / 0.5224 GB, free: 0.5117 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003489/0.2128, allocations: 220.6 kB / 0.5226 GB, free: 284 kB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.255e-05/0.2129, allocations: 11.91 kB / 0.5226 GB, free: 272 kB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.835e-05/0.2129, allocations: 96 / 0.5226 GB, free: 272 kB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.786e-05/0.213, allocations: 7.938 kB / 0.5226 GB, free: 264 kB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.03e-05/0.213, allocations: 19.86 kB / 0.5226 GB, free: 244 kB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.139e-05/0.2131, allocations: 3.938 kB / 0.5226 GB, free: 240 kB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001976/0.2133, allocations: 143.2 kB / 0.5228 GB, free: 96 kB / 398.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.2133, allocations: 0 / 0.5228 GB, free: 96 kB / 398.1 MB Notification: Performance of remove unused functions: time 0.0003997/0.2137, allocations: 27.94 kB / 0.5228 GB, free: 68 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.00237/0.216, allocations: 493.3 kB / 0.5233 GB, free: 15.63 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002604/0.2163, allocations: 55.92 kB / 0.5233 GB, free: 15.57 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 4.108e-06/0.2163, allocations: 0 / 0.5233 GB, free: 15.57 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001154/0.2164, allocations: 40.03 kB / 0.5234 GB, free: 15.54 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004908/0.2169, allocations: 31.83 kB / 0.5234 GB, free: 15.5 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006564/0.2176, allocations: 231.1 kB / 0.5236 GB, free: 15.25 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000131/0.2177, allocations: 92.17 kB / 0.5237 GB, free: 15.13 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 7.606e-05/0.2178, allocations: 12.5 kB / 0.5237 GB, free: 15.12 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.106e-05/0.2178, allocations: 23.42 kB / 0.5237 GB, free: 15.1 MB / 414.1 MB Notification: Performance of SimCode: time 3.9e-07/0.2178, allocations: 0 / 0.5237 GB, free: 15.1 MB / 414.1 MB Notification: Performance of Templates: time 0.007385/0.2252, allocations: 1.885 MB / 0.5256 GB, free: 13.23 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test19.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test19.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test19.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test19.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test19.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test19 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test19.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test19_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test19/Test19.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test19.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: 6.299451071768999]