Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Blocks.IntegerTable.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.001446/0.001446, allocations: 105 kB / 20.44 MB, free: 1.504 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.001558/0.001558, allocations: 222.2 kB / 23.76 MB, free: 4.723 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.284/1.284, allocations: 207.6 MB / 234.5 MB, free: 9.996 MB / 190.1 MB " [Timeout remaining time 179] 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.1954/0.1954, allocations: 44.24 MB / 331 MB, free: 9.527 MB / 270.1 MB " [Timeout remaining time 180] 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.Blocks.IntegerTable,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5007,variableFilter="time|integerTable.y|integerTable2.y|integerTable3.y|integerTable4.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Blocks.IntegerTable") translateModel(ModelicaTest.Blocks.IntegerTable,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5007,variableFilter="time|integerTable.y|integerTable2.y|integerTable3.y|integerTable4.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Blocks.IntegerTable") [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.002051/0.002051, allocations: 72.22 kB / 468.7 MB, free: 4.02 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1262/0.1282, allocations: 61.04 MB / 0.5174 GB, free: 6.836 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.IntegerTable): time 0.003683/0.1319, allocations: 2.285 MB / 0.5196 GB, free: 4.539 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002366/0.1343, allocations: 1.497 MB / 0.5211 GB, free: 3.031 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001322/0.1344, allocations: 7.938 kB / 0.5211 GB, free: 3.023 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004157/0.1348, allocations: 143.2 kB / 0.5212 GB, free: 2.883 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004255/0.1353, allocations: 227 kB / 0.5214 GB, free: 2.66 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00141/0.1367, allocations: 0.6199 MB / 0.522 GB, free: 2.039 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005944/0.1373, allocations: 0.5375 MB / 0.5225 GB, free: 1.5 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001391/0.1374, allocations: 53.19 kB / 0.5226 GB, free: 1.441 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002768/0.1377, allocations: 231.1 kB / 0.5228 GB, free: 1.215 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002838/0.138, allocations: 239 kB / 0.523 GB, free: 0.9805 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 4.336e-05/0.138, allocations: 28 kB / 0.5231 GB, free: 0.9531 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003504/0.1384, allocations: 199.8 kB / 0.5233 GB, free: 0.7578 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001427/0.1385, allocations: 127.5 kB / 0.5234 GB, free: 0.6328 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001758/0.1387, allocations: 202.6 kB / 0.5236 GB, free: 444 kB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006469/0.1393, allocations: 0.5758 MB / 0.5241 GB, free: 15.86 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.787e-06/0.1393, allocations: 0 / 0.5241 GB, free: 15.86 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.262e-06/0.1393, allocations: 0 / 0.5241 GB, free: 15.86 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.192e-05/0.1393, allocations: 0 / 0.5241 GB, free: 15.86 MB / 414.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 28 * Number of variables: 28 Notification: Performance of Generate backend data structure: time 0.001177/0.1405, allocations: 0.8304 MB / 0.525 GB, free: 14.97 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.226e-05/0.1405, allocations: 8.031 kB / 0.525 GB, free: 14.96 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.457e-05/0.1406, allocations: 52.61 kB / 0.525 GB, free: 14.91 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006511/0.1413, allocations: 401.4 kB / 0.5254 GB, free: 14.5 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.738e-05/0.1413, allocations: 16.59 kB / 0.5254 GB, free: 14.48 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.404e-05/0.1413, allocations: 16.12 kB / 0.5254 GB, free: 14.46 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004521/0.1418, allocations: 269.3 kB / 0.5257 GB, free: 14.16 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.057e-05/0.1418, allocations: 0 / 0.5257 GB, free: 14.16 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.052e-05/0.1418, allocations: 4 kB / 0.5257 GB, free: 14.16 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.743e-06/0.1418, allocations: 4 kB / 0.5257 GB, free: 14.15 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002951/0.1421, allocations: 115.9 kB / 0.5258 GB, free: 14.04 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00106/0.1432, allocations: 0.8437 MB / 0.5266 GB, free: 13.14 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006295/0.1438, allocations: 294.5 kB / 0.5269 GB, free: 12.82 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002182/0.144, allocations: 99.39 kB / 0.527 GB, free: 12.71 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.723e-05/0.1441, allocations: 4 kB / 0.527 GB, free: 12.7 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004055/0.1445, allocations: 226.5 kB / 0.5272 GB, free: 12.46 MB / 414.1 MB Notification: Performance of pre-optimization done (n=24): time 1.393e-06/0.1445, allocations: 0 / 0.5272 GB, free: 12.46 MB / 414.1 MB Notification: Performance of matching and sorting (n=24): time 0.0008978/0.1454, allocations: 404.9 kB / 0.5276 GB, free: 12.05 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002021/0.1456, allocations: 354.1 kB / 0.5279 GB, free: 11.63 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007376/0.1463, allocations: 0.6277 MB / 0.5286 GB, free: 10.99 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.528e-05/0.1463, allocations: 33.7 kB / 0.5286 GB, free: 10.95 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001943/0.1465, allocations: 228.5 kB / 0.5288 GB, free: 10.72 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.709e-05/0.1466, allocations: 67.55 kB / 0.5289 GB, free: 10.66 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.705e-05/0.1467, allocations: 65.69 kB / 0.5289 GB, free: 10.59 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001753/0.1469, allocations: 362.8 kB / 0.5293 GB, free: 10.22 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002121/0.1471, allocations: 87.88 kB / 0.5294 GB, free: 10.14 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003404/0.1474, allocations: 245.1 kB / 0.5296 GB, free: 9.836 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004478/0.1479, allocations: 231.7 kB / 0.5298 GB, free: 9.586 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.314e-06/0.1479, allocations: 4 kB / 0.5298 GB, free: 9.582 MB / 414.1 MB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0005995/0.1485, allocations: 317.1 kB / 0.5301 GB, free: 9.266 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.405e-05/0.1485, allocations: 4 kB / 0.5301 GB, free: 9.262 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.99e-06/0.1485, allocations: 4 kB / 0.5301 GB, free: 9.258 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.907e-05/0.1485, allocations: 7.938 kB / 0.5301 GB, free: 9.25 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002372/0.1488, allocations: 51.91 kB / 0.5302 GB, free: 9.199 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.336e-06/0.1488, allocations: 4 kB / 0.5302 GB, free: 9.195 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001818/0.1489, allocations: 35.95 kB / 0.5302 GB, free: 9.16 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.279e-05/0.149, allocations: 15.98 kB / 0.5302 GB, free: 9.145 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 24 ($PRE.integerTable.combiTimeTable.nextTimeEvent,$whenCondition4,integerTable.combiTimeTable.nextTimeEventScaled,$PRE.integerTable.combiTimeTable.nextTimeEventScaled,integerTable.combiTimeTable.nextTimeEvent,integerTable.y,$PRE.integerTable2.combiTimeTable.nextTimeEvent,$whenCondition3,integerTable2.combiTimeTable.nextTimeEventScaled,$PRE.integerTable2.combiTimeTable.nextTimeEventScaled,integerTable2.combiTimeTable.nextTimeEvent,integerTable2.y,$PRE.integerTable3.combiTimeTable.nextTimeEvent,$whenCondition2,integerTable3.combiTimeTable.nextTimeEventScaled,$PRE.integerTable3.combiTimeTable.nextTimeEventScaled,integerTable3.combiTimeTable.nextTimeEvent,integerTable3.y,$PRE.integerTable4.combiTimeTable.nextTimeEvent,$whenCondition1,integerTable4.combiTimeTable.nextTimeEventScaled,$PRE.integerTable4.combiTimeTable.nextTimeEventScaled,integerTable4.combiTimeTable.nextTimeEvent,integerTable4.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (32): * Single equations (assignments): 32 * 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.0002285/0.1492, allocations: 217.9 kB / 0.5304 GB, free: 8.922 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.826e-05/0.1493, allocations: 55.67 kB / 0.5305 GB, free: 8.867 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007201/0.15, allocations: 345.3 kB / 0.5308 GB, free: 8.516 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.284e-06/0.15, allocations: 11.88 kB / 0.5308 GB, free: 8.504 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.627e-06/0.15, allocations: 0 / 0.5308 GB, free: 8.504 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.303e-06/0.15, allocations: 4 kB / 0.5308 GB, free: 8.5 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000393/0.1504, allocations: 376.3 kB / 0.5312 GB, free: 8.09 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.503e-06/0.1504, allocations: 0 / 0.5312 GB, free: 8.09 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001131/0.1505, allocations: 27.97 kB / 0.5312 GB, free: 8.062 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.445e-06/0.1505, allocations: 0 / 0.5312 GB, free: 8.062 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.926e-05/0.1505, allocations: 8 kB / 0.5312 GB, free: 8.055 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.165e-06/0.1506, allocations: 7.938 kB / 0.5312 GB, free: 8.047 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.439e-06/0.1506, allocations: 7.922 kB / 0.5313 GB, free: 8.039 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006166/0.1512, allocations: 359.1 kB / 0.5316 GB, free: 7.66 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.356e-05/0.1513, allocations: 55.59 kB / 0.5316 GB, free: 7.605 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.336e-05/0.1513, allocations: 12.25 kB / 0.5317 GB, free: 7.594 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000156/0.1515, allocations: 27.92 kB / 0.5317 GB, free: 7.566 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.365e-05/0.1516, allocations: 39.94 kB / 0.5317 GB, free: 7.527 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.802e-05/0.1516, allocations: 12 kB / 0.5317 GB, free: 7.516 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0005378/0.1521, allocations: 466.7 kB / 0.5322 GB, free: 7.062 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1521, allocations: 0 / 0.5322 GB, free: 7.062 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0004037/0.1526, allocations: 99.89 kB / 0.5323 GB, free: 6.965 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 16 ($whenCondition4,integerTable.y,integerTable.combiTimeTable.nextTimeEvent,integerTable.combiTimeTable.nextTimeEventScaled,$whenCondition3,integerTable2.y,integerTable2.combiTimeTable.nextTimeEvent,integerTable2.combiTimeTable.nextTimeEventScaled,$whenCondition2,integerTable3.y,integerTable3.combiTimeTable.nextTimeEvent,integerTable3.combiTimeTable.nextTimeEventScaled,$whenCondition1,integerTable4.y,integerTable4.combiTimeTable.nextTimeEvent,integerTable4.combiTimeTable.nextTimeEventScaled) * Number of discrete states: 8 (integerTable4.combiTimeTable.nextTimeEvent,integerTable4.combiTimeTable.nextTimeEventScaled,integerTable3.combiTimeTable.nextTimeEvent,integerTable3.combiTimeTable.nextTimeEventScaled,integerTable2.combiTimeTable.nextTimeEvent,integerTable2.combiTimeTable.nextTimeEventScaled,integerTable.combiTimeTable.nextTimeEvent,integerTable.combiTimeTable.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (24): * Single equations (assignments): 16 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 8 * 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.001585/0.1541, allocations: 467.3 kB / 0.5327 GB, free: 6.555 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0005475/0.1547, allocations: 211.8 kB / 0.5329 GB, free: 6.348 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/0.1547, allocations: 0 / 0.5329 GB, free: 6.348 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000271/0.155, allocations: 115.8 kB / 0.533 GB, free: 6.234 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006386/0.1556, allocations: 163.3 kB / 0.5332 GB, free: 6.082 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001239/0.1568, allocations: 0.8215 MB / 0.534 GB, free: 5.219 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004839/0.1573, allocations: 0.8428 MB / 0.5348 GB, free: 4.352 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001134/0.1574, allocations: 51.41 kB / 0.5349 GB, free: 4.301 MB / 414.1 MB Notification: Performance of SimCode: time 3.21e-07/0.1574, allocations: 0 / 0.5349 GB, free: 4.301 MB / 414.1 MB Notification: Performance of Templates: time 0.1839/0.3414, allocations: 7.071 MB / 0.5418 GB, free: 26.03 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Blocks.IntegerTable.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Blocks.IntegerTable.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Blocks.IntegerTable.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Blocks.IntegerTable.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Blocks.IntegerTable.sim & ./ModelicaTest_3.2.3_ModelicaTest.Blocks.IntegerTable -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Blocks.IntegerTable.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Blocks.IntegerTable_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Blocks/IntegerTable/IntegerTable.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Blocks.IntegerTable.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: 7.634213216835633]