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.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/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 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001354/0.001354, allocations: 104.4 kB / 16.41 MB, free: 6.422 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001421/0.001421, allocations: 192.1 kB / 17.34 MB, free: 5.734 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.43/1.43, allocations: 205.1 MB / 223.2 MB, free: 12.25 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2018/0.2018, allocations: 43.52 MB / 314.1 MB, free: 480 kB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.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.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001329/0.001329, allocations: 73.41 kB / 441.8 MB, free: 5.684 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.143/0.1443, allocations: 57.79 MB / 499.6 MB, free: 11.81 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.IntegerTable): time 0.003774/0.1482, allocations: 2.26 MB / 0.4901 GB, free: 9.543 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002648/0.1508, allocations: 1.462 MB / 0.4915 GB, free: 8.07 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001534/0.151, allocations: 7.938 kB / 0.4915 GB, free: 8.062 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005131/0.1515, allocations: 143.2 kB / 0.4917 GB, free: 7.922 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004604/0.152, allocations: 235 kB / 0.4919 GB, free: 7.691 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001431/0.1535, allocations: 0.6121 MB / 0.4925 GB, free: 7.078 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005656/0.154, allocations: 0.5259 MB / 0.493 GB, free: 6.551 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001955/0.1542, allocations: 84.97 kB / 0.4931 GB, free: 6.461 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002703/0.1545, allocations: 227.1 kB / 0.4933 GB, free: 6.238 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002434/0.1548, allocations: 215 kB / 0.4935 GB, free: 6.027 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 6.837e-05/0.1548, allocations: 28 kB / 0.4935 GB, free: 6 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002997/0.1552, allocations: 175.8 kB / 0.4937 GB, free: 5.828 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001643/0.1553, allocations: 123.6 kB / 0.4938 GB, free: 5.707 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000198/0.1555, allocations: 198.7 kB / 0.494 GB, free: 5.512 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006746/0.1562, allocations: 0.5685 MB / 0.4945 GB, free: 4.941 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.875e-06/0.1562, allocations: 3.984 kB / 0.4946 GB, free: 4.938 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.114e-06/0.1562, allocations: 0 / 0.4946 GB, free: 4.938 MB / 382.1 MB Notification: Performance of Transformations before backend: time 8.576e-06/0.1563, allocations: 0 / 0.4946 GB, free: 4.938 MB / 382.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.001248/0.1575, allocations: 0.8942 MB / 0.4954 GB, free: 3.969 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.454e-05/0.1576, allocations: 15.89 kB / 0.4954 GB, free: 3.953 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001168/0.1577, allocations: 52.38 kB / 0.4955 GB, free: 3.902 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007275/0.1584, allocations: 468 kB / 0.4959 GB, free: 3.402 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.113e-05/0.1585, allocations: 12.61 kB / 0.4959 GB, free: 3.391 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.323e-05/0.1585, allocations: 16.12 kB / 0.496 GB, free: 3.375 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000479/0.159, allocations: 257.4 kB / 0.4962 GB, free: 3.082 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.081e-05/0.159, allocations: 0 / 0.4962 GB, free: 3.082 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.118e-05/0.159, allocations: 15.97 kB / 0.4962 GB, free: 3.066 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.454e-06/0.1591, allocations: 4 kB / 0.4962 GB, free: 3.062 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003159/0.1594, allocations: 111.9 kB / 0.4963 GB, free: 2.953 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001193/0.1606, allocations: 0.8679 MB / 0.4972 GB, free: 2.023 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006748/0.1613, allocations: 294.5 kB / 0.4975 GB, free: 1.699 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002395/0.1615, allocations: 107.4 kB / 0.4976 GB, free: 1.582 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.775e-05/0.1616, allocations: 24 kB / 0.4976 GB, free: 1.559 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004227/0.162, allocations: 218.4 kB / 0.4978 GB, free: 1.32 MB / 382.1 MB Notification: Performance of pre-optimization done (n=24): time 4.498e-06/0.162, allocations: 0 / 0.4978 GB, free: 1.32 MB / 382.1 MB Notification: Performance of matching and sorting (n=24): time 0.0009823/0.163, allocations: 401.6 kB / 0.4982 GB, free: 0.9219 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002106/0.1632, allocations: 346.1 kB / 0.4985 GB, free: 0.5039 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007702/0.164, allocations: 0.6316 MB / 0.4991 GB, free: 15.86 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.806e-05/0.1641, allocations: 37.7 kB / 0.4992 GB, free: 15.82 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001944/0.1643, allocations: 224.5 kB / 0.4994 GB, free: 15.59 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.03e-05/0.1643, allocations: 63.19 kB / 0.4994 GB, free: 15.53 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001017/0.1645, allocations: 65.69 kB / 0.4995 GB, free: 15.46 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.000182/0.1646, allocations: 362.8 kB / 0.4998 GB, free: 15.1 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002239/0.1649, allocations: 87.94 kB / 0.4999 GB, free: 15.01 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003194/0.1652, allocations: 236.5 kB / 0.5002 GB, free: 14.72 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004474/0.1657, allocations: 238.8 kB / 0.5004 GB, free: 14.46 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.765e-06/0.1657, allocations: 0 / 0.5004 GB, free: 14.46 MB / 398.1 MB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0005852/0.1663, allocations: 316.8 kB / 0.5007 GB, free: 14.15 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.627e-05/0.1663, allocations: 4 kB / 0.5007 GB, free: 14.14 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.336e-06/0.1663, allocations: 4.25 kB / 0.5007 GB, free: 14.14 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.041e-05/0.1663, allocations: 7.938 kB / 0.5007 GB, free: 14.13 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002619/0.1666, allocations: 55.91 kB / 0.5008 GB, free: 14.08 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.16e-05/0.1666, allocations: 4 kB / 0.5008 GB, free: 14.07 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001933/0.1668, allocations: 35.95 kB / 0.5008 GB, free: 14.04 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.098e-05/0.1668, allocations: 11.98 kB / 0.5008 GB, free: 14.03 MB / 398.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.0002291/0.1671, allocations: 221.6 kB / 0.501 GB, free: 13.8 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.558e-05/0.1672, allocations: 59.27 kB / 0.5011 GB, free: 13.74 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.904e-05/0.1673, allocations: 47.92 kB / 0.5011 GB, free: 13.69 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.514e-06/0.1673, allocations: 11.92 kB / 0.5011 GB, free: 13.68 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.137e-06/0.1673, allocations: 4 kB / 0.5011 GB, free: 13.67 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.28e-06/0.1673, allocations: 0 / 0.5011 GB, free: 13.67 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004875/0.1678, allocations: 401.3 kB / 0.5015 GB, free: 13.23 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.124e-06/0.1678, allocations: 4 kB / 0.5015 GB, free: 13.23 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001124/0.1679, allocations: 27.92 kB / 0.5015 GB, free: 13.2 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.378e-06/0.1679, allocations: 4 kB / 0.5015 GB, free: 13.2 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.568e-05/0.168, allocations: 11.98 kB / 0.5016 GB, free: 13.18 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.938e-06/0.168, allocations: 3.938 kB / 0.5016 GB, free: 13.18 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.587e-06/0.168, allocations: 3.984 kB / 0.5016 GB, free: 13.18 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006681/0.1687, allocations: 366.7 kB / 0.5019 GB, free: 12.79 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001135/0.1688, allocations: 124.5 kB / 0.502 GB, free: 12.65 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.624e-05/0.1689, allocations: 19.98 kB / 0.5021 GB, free: 12.63 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001632/0.169, allocations: 19.92 kB / 0.5021 GB, free: 12.61 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001097/0.1692, allocations: 31.95 kB / 0.5021 GB, free: 12.58 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.972e-05/0.1692, allocations: 16 kB / 0.5021 GB, free: 12.56 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0005118/0.1697, allocations: 474.7 kB / 0.5026 GB, free: 12.1 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1697, allocations: 0 / 0.5026 GB, free: 12.1 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.000416/0.1702, allocations: 92 kB / 0.5027 GB, free: 12.01 MB / 398.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.001169/0.1713, allocations: 467.5 kB / 0.5031 GB, free: 11.59 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0005446/0.1719, allocations: 219.8 kB / 0.5033 GB, free: 11.38 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.755e-06/0.1719, allocations: 4.25 kB / 0.5033 GB, free: 11.38 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003262/0.1722, allocations: 167.8 kB / 0.5035 GB, free: 11.21 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006791/0.1729, allocations: 150.4 kB / 0.5036 GB, free: 11.07 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001175/0.1741, allocations: 0.7656 MB / 0.5044 GB, free: 10.27 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004886/0.1746, allocations: 0.8428 MB / 0.5052 GB, free: 9.402 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.000216/0.1748, allocations: 87.2 kB / 0.5053 GB, free: 9.312 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001106/0.175, allocations: 51.42 kB / 0.5053 GB, free: 9.262 MB / 398.1 MB Notification: Performance of SimCode: time 2.21e-07/0.175, allocations: 0 / 0.5053 GB, free: 9.262 MB / 398.1 MB Notification: Performance of Templates: time 0.01273/0.1877, allocations: 7.598 MB / 0.5127 GB, free: 1.664 MB / 398.1 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/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Blocks/IntegerTable/IntegerTable.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Blocks.IntegerTable.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches