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/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) 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 ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/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_3.2.3_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_3.2.3_ModelicaTest.Blocks.IntegerTable") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001043/0.001044, allocations: 183 kB / 16.63 MB, free: 5.137 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.315/1.315, allocations: 205.1 MB / 222.5 MB, free: 8.469 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009969/0.000997, allocations: 113.5 kB / 269.9 MB, free: 8.422 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3302/0.3302, allocations: 43.49 MB / 360.7 MB, free: 51.14 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001219/0.00122, allocations: 47.92 kB / 429.2 MB, free: 6.383 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1219/0.1232, allocations: 57.76 MB / 487 MB, free: 12.55 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.IntegerTable): time 0.003954/0.1272, allocations: 2.331 MB / 489.3 MB, free: 10.2 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.002224/0.1294, allocations: 1.451 MB / 490.8 MB, free: 8.738 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001324/0.1296, allocations: 11.88 kB / 490.8 MB, free: 8.727 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004724/0.1301, allocations: 123.6 kB / 490.9 MB, free: 8.605 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004102/0.1305, allocations: 207.2 kB / 491.1 MB, free: 8.402 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001476/0.132, allocations: 0.5576 MB / 491.7 MB, free: 7.844 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005479/0.1325, allocations: 0.4986 MB / 492.2 MB, free: 7.344 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002114/0.1328, allocations: 80.98 kB / 492.2 MB, free: 7.262 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002579/0.133, allocations: 203 kB / 492.4 MB, free: 7.062 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002591/0.1333, allocations: 211 kB / 492.7 MB, free: 6.855 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 4.141e-05/0.1334, allocations: 8 kB / 492.7 MB, free: 6.848 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002851/0.1336, allocations: 127.8 kB / 492.8 MB, free: 6.723 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001764/0.1338, allocations: 123.5 kB / 492.9 MB, free: 6.602 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001818/0.134, allocations: 182.7 kB / 493.1 MB, free: 6.422 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005875/0.1346, allocations: 0.5415 MB / 493.6 MB, free: 5.879 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.629e-06/0.1346, allocations: 0 / 493.6 MB, free: 5.879 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.142e-06/0.1346, allocations: 0 / 493.6 MB, free: 5.879 MB / 378.7 MB Notification: Performance of Transformations before backend: time 5.64e-06/0.1346, allocations: 0 / 493.6 MB, free: 5.879 MB / 378.7 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.001327/0.136, allocations: 0.8943 MB / 494.5 MB, free: 4.906 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.249e-05/0.136, allocations: 12.03 kB / 494.5 MB, free: 4.895 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001038/0.1361, allocations: 52.38 kB / 494.6 MB, free: 4.844 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000597/0.1367, allocations: 467.9 kB / 495 MB, free: 4.348 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.252e-05/0.1368, allocations: 12.61 kB / 495 MB, free: 4.336 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.074e-05/0.1368, allocations: 16.12 kB / 495.1 MB, free: 4.32 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004474/0.1373, allocations: 261.4 kB / 495.3 MB, free: 4.023 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.078e-05/0.1373, allocations: 3.938 kB / 495.3 MB, free: 4.02 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.578e-05/0.1373, allocations: 7.984 kB / 495.3 MB, free: 4.012 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.783e-06/0.1373, allocations: 4 kB / 495.3 MB, free: 4.008 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002874/0.1376, allocations: 111.8 kB / 495.4 MB, free: 3.898 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001045/0.1387, allocations: 0.8679 MB / 496.3 MB, free: 2.969 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006434/0.1393, allocations: 302.6 kB / 496.6 MB, free: 2.637 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002124/0.1396, allocations: 107.3 kB / 496.7 MB, free: 2.52 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.311e-05/0.1396, allocations: 12.2 kB / 496.7 MB, free: 2.508 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004628/0.1401, allocations: 223 kB / 496.9 MB, free: 2.266 MB / 378.7 MB Notification: Performance of pre-optimization done (n=24): time 9.748e-06/0.1401, allocations: 3.984 kB / 496.9 MB, free: 2.262 MB / 378.7 MB Notification: Performance of matching and sorting (n=24): time 0.0008672/0.141, allocations: 392.8 kB / 497.3 MB, free: 1.871 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001692/0.1412, allocations: 354.1 kB / 497.7 MB, free: 1.445 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007044/0.1419, allocations: 0.6277 MB / 498.3 MB, free: 0.8047 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.318e-05/0.1419, allocations: 41.69 kB / 498.3 MB, free: 0.7578 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001736/0.1421, allocations: 220.5 kB / 498.6 MB, free: 0.5391 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.165e-05/0.1422, allocations: 71.17 kB / 498.6 MB, free: 480 kB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001014/0.1423, allocations: 57.7 kB / 498.7 MB, free: 416 kB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001552/0.1424, allocations: 366.8 kB / 499 MB, free: 40 kB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002146/0.1426, allocations: 87.95 kB / 499.1 MB, free: 15.95 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003124/0.143, allocations: 245 kB / 499.4 MB, free: 15.65 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004326/0.1434, allocations: 235.8 kB / 499.6 MB, free: 15.4 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.845e-06/0.1434, allocations: 0 / 499.6 MB, free: 15.4 MB / 394.7 MB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0005818/0.144, allocations: 312.8 kB / 499.9 MB, free: 15.09 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.487e-05/0.144, allocations: 4 kB / 499.9 MB, free: 15.08 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.562e-06/0.144, allocations: 4 kB / 499.9 MB, free: 15.08 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.495e-05/0.1441, allocations: 7.938 kB / 499.9 MB, free: 15.07 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002365/0.1443, allocations: 51.91 kB / 500 MB, free: 15.02 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.297e-06/0.1443, allocations: 12.11 kB / 500 MB, free: 15.01 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001771/0.1445, allocations: 27.84 kB / 0.4883 GB, free: 14.98 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.026e-05/0.1445, allocations: 11.98 kB / 0.4883 GB, free: 14.97 MB / 394.7 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.0002047/0.1447, allocations: 218 kB / 0.4885 GB, free: 14.75 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.314e-05/0.1448, allocations: 55.33 kB / 0.4886 GB, free: 14.69 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.773e-05/0.1449, allocations: 55.91 kB / 0.4886 GB, free: 14.64 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.908e-06/0.1449, allocations: 3.938 kB / 0.4886 GB, free: 14.63 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.619e-06/0.1449, allocations: 4 kB / 0.4886 GB, free: 14.63 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.28e-06/0.145, allocations: 4 kB / 0.4886 GB, free: 14.62 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003479/0.1453, allocations: 409.1 kB / 0.489 GB, free: 14.18 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.573e-06/0.1453, allocations: 0 / 0.489 GB, free: 14.18 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001062/0.1454, allocations: 23.98 kB / 0.489 GB, free: 14.15 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.358e-06/0.1454, allocations: 4 kB / 0.489 GB, free: 14.15 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.305e-05/0.1455, allocations: 11.98 kB / 0.4891 GB, free: 14.14 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.376e-06/0.1455, allocations: 3.938 kB / 0.4891 GB, free: 14.13 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.943e-06/0.1455, allocations: 4 kB / 0.4891 GB, free: 14.13 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001144/0.1466, allocations: 1.102 MB / 0.4901 GB, free: 12.96 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001196/0.1468, allocations: 136.3 kB / 0.4903 GB, free: 12.8 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.726e-05/0.1468, allocations: 11.98 kB / 0.4903 GB, free: 12.79 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001524/0.147, allocations: 19.98 kB / 0.4903 GB, free: 12.77 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.265e-05/0.1471, allocations: 31.95 kB / 0.4903 GB, free: 12.74 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.819e-05/0.1471, allocations: 12 kB / 0.4903 GB, free: 12.73 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0004601/0.1476, allocations: 466.8 kB / 0.4908 GB, free: 12.28 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1476, allocations: 0 / 0.4908 GB, free: 12.28 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0004593/0.1481, allocations: 99.98 kB / 0.4909 GB, free: 12.18 MB / 394.7 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.0009617/0.149, allocations: 464.8 kB / 0.4913 GB, free: 11.77 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0005001/0.1495, allocations: 227.7 kB / 0.4915 GB, free: 11.55 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.695e-06/0.1495, allocations: 0 / 0.4915 GB, free: 11.55 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003447/0.1499, allocations: 167.8 kB / 0.4917 GB, free: 11.39 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006272/0.1505, allocations: 147.5 kB / 0.4918 GB, free: 11.24 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001266/0.1518, allocations: 1.067 MB / 0.4929 GB, free: 10.13 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003741/0.1522, allocations: 0.8431 MB / 0.4937 GB, free: 9.262 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0002142/0.1524, allocations: 88.2 kB / 0.4938 GB, free: 9.176 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001034/0.1525, allocations: 47.42 kB / 0.4938 GB, free: 9.129 MB / 394.7 MB Notification: Performance of SimCode: time 2.2e-07/0.1525, allocations: 0 / 0.4938 GB, free: 9.129 MB / 394.7 MB Notification: Performance of Templates: time 0.01182/0.1644, allocations: 7.377 MB / 0.501 GB, free: 1.754 MB / 394.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Blocks.IntegerTable.makefile (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) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Blocks.IntegerTable_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Blocks/IntegerTable/IntegerTable.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Blocks.IntegerTable.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches