Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Blocks.IntegerTable.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) 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.Blocks.IntegerTable,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|integerTable.y|integerTable2.y|integerTable3.y|integerTable4.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Blocks.IntegerTable") translateModel(ModelicaTest.Blocks.IntegerTable,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|integerTable.y|integerTable2.y|integerTable3.y|integerTable4.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Blocks.IntegerTable") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001287/0.001287, allocations: 104.5 kB / 17.85 MB, free: 5.656 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00151/0.00151, allocations: 205.8 kB / 18.79 MB, free: 4.727 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.325/1.325, allocations: 227.4 MB / 246.9 MB, free: 8.91 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2111/0.2111, allocations: 46.11 MB / 344.3 MB, free: 11.55 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001328/0.001328, allocations: 80.34 kB / 417.5 MB, free: 20.14 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1063/0.1077, allocations: 62.44 MB / 479.9 MB, free: 5.691 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.IntegerTable): time 0.003657/0.1113, allocations: 2.364 MB / 482.3 MB, free: 3.309 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002711/0.1141, allocations: 1.687 MB / 484 MB, free: 1.617 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002422/0.1144, allocations: 7.938 kB / 484 MB, free: 1.609 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004609/0.1148, allocations: 119.6 kB / 484.1 MB, free: 1.492 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006122/0.1155, allocations: 255 kB / 484.4 MB, free: 1.242 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001233/0.1168, allocations: 493.9 kB / 484.8 MB, free: 0.7656 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006269/0.1174, allocations: 0.518 MB / 485.4 MB, free: 252 kB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001906/0.1176, allocations: 81.05 kB / 485.4 MB, free: 168 kB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003509/0.1179, allocations: 199 kB / 485.6 MB, free: 15.97 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002945/0.1183, allocations: 222.9 kB / 485.8 MB, free: 15.75 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 5.845e-05/0.1183, allocations: 8 kB / 485.9 MB, free: 15.74 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000303/0.1186, allocations: 135.8 kB / 486 MB, free: 15.61 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001577/0.1188, allocations: 115.6 kB / 486.1 MB, free: 15.5 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001885/0.119, allocations: 198.6 kB / 486.3 MB, free: 15.3 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000479/0.1195, allocations: 455.3 kB / 486.7 MB, free: 14.86 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.997e-06/0.1195, allocations: 4 kB / 486.7 MB, free: 14.85 MB / 366.1 MB Notification: Performance of FrontEnd: time 8.62e-07/0.1195, allocations: 0 / 486.7 MB, free: 14.85 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.261e-05/0.1195, allocations: 0 / 486.7 MB, free: 14.85 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: 28 * Number of variables: 28 Notification: Performance of Generate backend data structure: time 0.00133/0.1209, allocations: 0.9097 MB / 487.7 MB, free: 13.87 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.445e-05/0.1209, allocations: 12.03 kB / 487.7 MB, free: 13.86 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001265/0.121, allocations: 52.28 kB / 487.7 MB, free: 13.8 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005968/0.1216, allocations: 480 kB / 488.2 MB, free: 13.3 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.793e-05/0.1217, allocations: 16.59 kB / 488.2 MB, free: 13.28 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.066e-05/0.1217, allocations: 20.12 kB / 488.2 MB, free: 13.26 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004775/0.1222, allocations: 264.9 kB / 488.5 MB, free: 12.96 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.838e-06/0.1222, allocations: 0 / 488.5 MB, free: 12.96 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.949e-05/0.1223, allocations: 8 kB / 488.5 MB, free: 12.95 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.154e-06/0.1223, allocations: 7.938 kB / 488.5 MB, free: 12.95 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003048/0.1226, allocations: 103.9 kB / 488.6 MB, free: 12.84 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001105/0.1237, allocations: 0.8952 MB / 489.5 MB, free: 11.89 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006726/0.1244, allocations: 298.5 kB / 489.8 MB, free: 11.56 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002232/0.1246, allocations: 115.3 kB / 489.9 MB, free: 11.43 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.759e-05/0.1247, allocations: 4 kB / 489.9 MB, free: 11.43 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004555/0.1251, allocations: 226.4 kB / 490.1 MB, free: 11.18 MB / 366.1 MB Notification: Performance of pre-optimization done (n=24): time 2.094e-06/0.1251, allocations: 0 / 490.1 MB, free: 11.18 MB / 366.1 MB Notification: Performance of matching and sorting (n=24): time 0.000972/0.1261, allocations: 400.7 kB / 490.5 MB, free: 10.79 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001525/0.1263, allocations: 346.1 kB / 490.9 MB, free: 10.37 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007563/0.127, allocations: 0.6631 MB / 491.5 MB, free: 9.695 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.658e-05/0.1271, allocations: 37.7 kB / 491.5 MB, free: 9.652 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001731/0.1273, allocations: 240.5 kB / 491.8 MB, free: 9.414 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.174e-05/0.1273, allocations: 59.23 kB / 491.8 MB, free: 9.355 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.654e-05/0.1274, allocations: 65.69 kB / 491.9 MB, free: 9.285 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001524/0.1276, allocations: 370.8 kB / 492.3 MB, free: 8.914 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002096/0.1278, allocations: 79.95 kB / 492.3 MB, free: 8.836 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003521/0.1282, allocations: 245.6 kB / 492.6 MB, free: 8.535 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004554/0.1286, allocations: 235.6 kB / 492.8 MB, free: 8.281 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.585e-06/0.1287, allocations: 0 / 492.8 MB, free: 8.281 MB / 366.1 MB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0006499/0.1293, allocations: 320.8 kB / 493.1 MB, free: 7.961 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.484e-05/0.1293, allocations: 4 kB / 493.1 MB, free: 7.957 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.394e-06/0.1293, allocations: 4 kB / 493.1 MB, free: 7.953 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.471e-05/0.1294, allocations: 3.938 kB / 493.1 MB, free: 7.949 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000251/0.1296, allocations: 59.91 kB / 493.2 MB, free: 7.891 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.045e-05/0.1296, allocations: 7.984 kB / 493.2 MB, free: 7.883 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002171/0.1299, allocations: 27.78 kB / 493.2 MB, free: 7.855 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.25e-05/0.1299, allocations: 11.98 kB / 493.2 MB, free: 7.844 MB / 366.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.0002309/0.1301, allocations: 226.1 kB / 493.5 MB, free: 7.613 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.66e-05/0.1302, allocations: 55.33 kB / 493.5 MB, free: 7.559 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.339e-05/0.1303, allocations: 56.25 kB / 493.6 MB, free: 7.5 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.565e-06/0.1303, allocations: 7.938 kB / 493.6 MB, free: 7.492 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.554e-06/0.1303, allocations: 4 kB / 493.6 MB, free: 7.488 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.526e-06/0.1304, allocations: 0 / 493.6 MB, free: 7.488 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004016/0.1308, allocations: 425.2 kB / 494 MB, free: 7.023 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.274e-06/0.1308, allocations: 0 / 494 MB, free: 7.023 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001245/0.1309, allocations: 27.92 kB / 494 MB, free: 6.996 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.186e-06/0.1309, allocations: 4 kB / 494 MB, free: 6.992 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.643e-05/0.1309, allocations: 15.98 kB / 494.1 MB, free: 6.977 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.058e-06/0.131, allocations: 3.938 kB / 494.1 MB, free: 6.973 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.673e-06/0.131, allocations: 0 / 494.1 MB, free: 6.973 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000658/0.1316, allocations: 362.7 kB / 494.4 MB, free: 6.59 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001097/0.1317, allocations: 132.4 kB / 494.5 MB, free: 6.441 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.96e-05/0.1318, allocations: 8 kB / 494.5 MB, free: 6.434 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001857/0.132, allocations: 23.86 kB / 494.6 MB, free: 6.41 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.641e-05/0.1321, allocations: 35.95 kB / 494.6 MB, free: 6.375 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.279e-05/0.1322, allocations: 15.98 kB / 494.6 MB, free: 6.359 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0005303/0.1327, allocations: 494.8 kB / 495.1 MB, free: 5.879 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1327, allocations: 0 / 495.1 MB, free: 5.879 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0004221/0.1331, allocations: 99.94 kB / 495.2 MB, free: 5.781 MB / 366.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.nextTimeEventScaled,integerTable4.combiTimeTable.nextTimeEvent,integerTable3.combiTimeTable.nextTimeEventScaled,integerTable3.combiTimeTable.nextTimeEvent,integerTable2.combiTimeTable.nextTimeEventScaled,integerTable2.combiTimeTable.nextTimeEvent,integerTable.combiTimeTable.nextTimeEventScaled,integerTable.combiTimeTable.nextTimeEvent) * 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.001033/0.1342, allocations: 469.9 kB / 495.7 MB, free: 5.457 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0005581/0.1347, allocations: 223.8 kB / 495.9 MB, free: 5.238 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.615e-06/0.1348, allocations: 0 / 495.9 MB, free: 5.238 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002927/0.1351, allocations: 124.1 kB / 496 MB, free: 5.117 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006618/0.1357, allocations: 141.4 kB / 496.1 MB, free: 4.984 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001329/0.1371, allocations: 0.9644 MB / 497.1 MB, free: 3.969 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003852/0.1375, allocations: 0.8431 MB / 497.9 MB, free: 3.098 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001265/0.1376, allocations: 55.41 kB / 498 MB, free: 3.043 MB / 366.1 MB Notification: Performance of SimCode: time 4.3e-07/0.1376, allocations: 0 / 498 MB, free: 3.043 MB / 366.1 MB Notification: Performance of Templates: time 0.01072/0.1483, allocations: 7.246 MB / 0.4934 GB, free: 11.82 MB / 382.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Blocks.IntegerTable.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Blocks.IntegerTable.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Blocks.IntegerTable.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Blocks.IntegerTable.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Blocks.IntegerTable.sim & ./ModelicaTest_trunk_ModelicaTest.Blocks.IntegerTable -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Blocks.IntegerTable.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Blocks.IntegerTable_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Blocks/IntegerTable/IntegerTable.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Blocks.IntegerTable.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches