Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_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_cpp_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_cpp_ModelicaTest.Blocks.IntegerTable") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001622/0.001628, allocations: 188.3 kB / 16.4 MB, free: 5.625 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.157/2.157, allocations: 205.4 MB / 222.5 MB, free: 13.85 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.001141/0.001141, allocations: 98.8 kB / 270.9 MB, free: 13.38 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2909/0.2909, allocations: 43.55 MB / 362.7 MB, free: 11.34 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004555/0.0004556, allocations: 16 kB / 431.4 MB, free: 20.29 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1284/0.1289, allocations: 58.87 MB / 490.2 MB, free: 9.348 MB / 330.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.IntegerTable): time 0.003525/0.1325, allocations: 1.862 MB / 492.1 MB, free: 7.469 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.003485/0.136, allocations: 1.292 MB / 493.4 MB, free: 6.168 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002707/0.1363, allocations: 4 kB / 493.4 MB, free: 6.164 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000489/0.1368, allocations: 119.5 kB / 493.5 MB, free: 6.047 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006425/0.1375, allocations: 183.5 kB / 493.7 MB, free: 5.867 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002416/0.1399, allocations: 0.5263 MB / 494.2 MB, free: 5.34 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0009138/0.1409, allocations: 323.3 kB / 494.5 MB, free: 5.023 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002371/0.1411, allocations: 65.19 kB / 494.6 MB, free: 4.953 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004204/0.1415, allocations: 191.2 kB / 494.8 MB, free: 4.766 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003376/0.1419, allocations: 167.2 kB / 494.9 MB, free: 4.602 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 5.303e-05/0.142, allocations: 12 kB / 494.9 MB, free: 4.59 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004239/0.1424, allocations: 103.9 kB / 495 MB, free: 4.488 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001966/0.1426, allocations: 111.6 kB / 495.1 MB, free: 4.379 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001376/0.1428, allocations: 97.39 kB / 495.2 MB, free: 4.277 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007895/0.1436, allocations: 427.3 kB / 495.7 MB, free: 3.859 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.988e-06/0.1436, allocations: 0 / 495.7 MB, free: 3.859 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.874e-06/0.1436, allocations: 0 / 495.7 MB, free: 3.859 MB / 330.7 MB Notification: Performance of Transformations before backend: time 6.783e-06/0.1436, allocations: 0 / 495.7 MB, free: 3.859 MB / 330.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.001731/0.1454, allocations: 0.8049 MB / 496.5 MB, free: 2.98 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.562e-05/0.1454, allocations: 16.02 kB / 496.5 MB, free: 2.965 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001627/0.1456, allocations: 55.3 kB / 496.5 MB, free: 2.91 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009624/0.1466, allocations: 443.3 kB / 497 MB, free: 2.438 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.256e-05/0.1466, allocations: 12.17 kB / 497 MB, free: 2.426 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.971e-05/0.1467, allocations: 19.98 kB / 497 MB, free: 2.406 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007773/0.1475, allocations: 257.4 kB / 497.3 MB, free: 2.113 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.402e-05/0.1475, allocations: 0 / 497.3 MB, free: 2.113 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.89e-05/0.1476, allocations: 8 kB / 497.3 MB, free: 2.105 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.194e-05/0.1476, allocations: 11.89 kB / 497.3 MB, free: 2.094 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005199/0.1481, allocations: 115.8 kB / 497.4 MB, free: 1.98 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001751/0.1499, allocations: 0.8757 MB / 498.3 MB, free: 1.043 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001149/0.1511, allocations: 294.9 kB / 498.5 MB, free: 0.7188 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.835e-05/0.1512, allocations: 8.094 kB / 498.6 MB, free: 0.7109 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007415/0.1519, allocations: 218.7 kB / 498.8 MB, free: 484 kB / 330.7 MB Notification: Performance of pre-optimization done (n=24): time 3.286e-06/0.1519, allocations: 0 / 498.8 MB, free: 484 kB / 330.7 MB Notification: Performance of matching and sorting (n=24): time 0.001694/0.1536, allocations: 400.7 kB / 499.2 MB, free: 76 kB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002345/0.1539, allocations: 346.1 kB / 499.5 MB, free: 15.66 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001263/0.1552, allocations: 0.6277 MB / 0.4884 GB, free: 15.02 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 8.935e-05/0.1553, allocations: 37.7 kB / 0.4884 GB, free: 14.98 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002824/0.1556, allocations: 247 kB / 0.4887 GB, free: 14.73 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001166/0.1557, allocations: 67.11 kB / 0.4887 GB, free: 14.67 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.589e-05/0.1558, allocations: 4 kB / 0.4887 GB, free: 14.66 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.000173/0.1559, allocations: 322.8 kB / 0.4891 GB, free: 14.34 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004003/0.1564, allocations: 79.94 kB / 0.4891 GB, free: 14.26 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005629/0.1569, allocations: 249 kB / 0.4894 GB, free: 13.96 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000438/0.1574, allocations: 104.9 kB / 0.4895 GB, free: 13.86 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.1e-06/0.1574, allocations: 0 / 0.4895 GB, free: 13.86 MB / 346.7 MB Notification: Performance of matching and sorting (n=32) (initialization): time 0.001069/0.1585, allocations: 277.5 kB / 0.4897 GB, free: 13.58 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.764e-05/0.1585, allocations: 4 kB / 0.4897 GB, free: 13.57 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.143e-05/0.1586, allocations: 4 kB / 0.4897 GB, free: 13.57 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.523e-05/0.1586, allocations: 4 kB / 0.4897 GB, free: 13.57 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004756/0.1591, allocations: 51.91 kB / 0.4898 GB, free: 13.52 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.543e-05/0.1591, allocations: 4 kB / 0.4898 GB, free: 13.51 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000469/0.1596, allocations: 31.77 kB / 0.4898 GB, free: 13.48 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.209e-05/0.1596, allocations: 16 kB / 0.4898 GB, free: 13.46 MB / 346.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 ($whenCondition4,$PRE.integerTable.combiTimeTable.nextTimeEvent,integerTable.y,integerTable.combiTimeTable.nextTimeEvent,$PRE.integerTable.combiTimeTable.nextTimeEventScaled,integerTable.combiTimeTable.nextTimeEventScaled,$whenCondition3,$PRE.integerTable2.combiTimeTable.nextTimeEvent,integerTable2.y,integerTable2.combiTimeTable.nextTimeEvent,$PRE.integerTable2.combiTimeTable.nextTimeEventScaled,integerTable2.combiTimeTable.nextTimeEventScaled,$whenCondition2,$PRE.integerTable3.combiTimeTable.nextTimeEvent,integerTable3.y,integerTable3.combiTimeTable.nextTimeEvent,$PRE.integerTable3.combiTimeTable.nextTimeEventScaled,integerTable3.combiTimeTable.nextTimeEventScaled,$whenCondition1,$PRE.integerTable4.combiTimeTable.nextTimeEvent,integerTable4.y,integerTable4.combiTimeTable.nextTimeEvent,$PRE.integerTable4.combiTimeTable.nextTimeEventScaled,integerTable4.combiTimeTable.nextTimeEventScaled) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004313/0.1601, allocations: 221.8 kB / 0.4901 GB, free: 13.24 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001303/0.1602, allocations: 55.33 kB / 0.4901 GB, free: 13.18 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001513/0.1604, allocations: 55.91 kB / 0.4902 GB, free: 13.12 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.809e-06/0.1604, allocations: 4 kB / 0.4902 GB, free: 13.12 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.456e-06/0.1604, allocations: 0 / 0.4902 GB, free: 13.12 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.103e-05/0.1605, allocations: 7.984 kB / 0.4902 GB, free: 13.11 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006333/0.1611, allocations: 413.1 kB / 0.4906 GB, free: 12.66 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.629e-06/0.1611, allocations: 0 / 0.4906 GB, free: 12.66 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002518/0.1614, allocations: 27.92 kB / 0.4906 GB, free: 12.63 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.624e-06/0.1614, allocations: 4 kB / 0.4906 GB, free: 12.63 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.905e-05/0.1615, allocations: 11.98 kB / 0.4906 GB, free: 12.62 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.944e-06/0.1615, allocations: 4.125 kB / 0.4906 GB, free: 12.61 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.809e-06/0.1615, allocations: 4 kB / 0.4906 GB, free: 12.61 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001209/0.1627, allocations: 391.8 kB / 0.491 GB, free: 12.18 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002162/0.1629, allocations: 140.4 kB / 0.4911 GB, free: 12.02 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000119/0.1631, allocations: 23.92 kB / 0.4911 GB, free: 12 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003172/0.1634, allocations: 11.98 kB / 0.4912 GB, free: 11.99 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001725/0.1636, allocations: 43.91 kB / 0.4912 GB, free: 11.95 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.383e-05/0.1637, allocations: 15.98 kB / 0.4912 GB, free: 11.93 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0008991/0.1646, allocations: 462.8 kB / 0.4917 GB, free: 11.48 MB / 346.7 MB Notification: Performance of sort global known variables: time 4.11e-07/0.1646, allocations: 0 / 0.4917 GB, free: 11.48 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0007017/0.1653, allocations: 99.94 kB / 0.4917 GB, free: 11.38 MB / 346.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001474/0.1668, allocations: 460.4 kB / 0.4922 GB, free: 10.98 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.001078/0.1679, allocations: 227.7 kB / 0.4924 GB, free: 10.76 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 5.851e-06/0.1679, allocations: 0 / 0.4924 GB, free: 10.76 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004969/0.1685, allocations: 123.9 kB / 0.4925 GB, free: 10.64 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001052/0.1695, allocations: 127.1 kB / 0.4926 GB, free: 10.52 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002114/0.1717, allocations: 0.8799 MB / 0.4935 GB, free: 9.594 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005904/0.1723, allocations: 0.847 MB / 0.4943 GB, free: 8.723 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002685/0.1726, allocations: 51.42 kB / 0.4944 GB, free: 8.672 MB / 346.7 MB Notification: Performance of SimCode: time 1.402e-06/0.1726, allocations: 7.938 kB / 0.4944 GB, free: 8.664 MB / 346.7 MB Notification: Performance of Templates: time 0.01812/0.1907, allocations: 6.938 MB / 0.5012 GB, free: 1.727 MB / 346.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Blocks.IntegerTable.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Blocks.IntegerTable.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Blocks.IntegerTable.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Blocks.IntegerTable.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Blocks.IntegerTable.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Blocks.IntegerTable --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Blocks.IntegerTable.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_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","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Blocks.IntegerTable.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches