Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Blocks.IntegerTable.conf.json 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 4.0.0+maint.om/package.mo", uses=false) 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/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 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) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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) 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_4.0.0_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_4.0.0_ModelicaTest.Blocks.IntegerTable") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001381/0.001381, allocations: 180.4 kB / 14.15 MB, free: 1.172 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.439/1.439, allocations: 221.3 MB / 236 MB, free: 2.973 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008097/0.0008097, allocations: 91.78 kB / 287 MB, free: 240 kB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1866/0.1866, allocations: 44.15 MB / 382 MB, free: 14.68 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 2.17e-05/2.172e-05, allocations: 4 kB / 451.8 MB, free: 9.453 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1217/0.1217, allocations: 61.92 MB / 0.5017 GB, free: 11.48 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3773/0.499, allocations: 89.96 MB / 0.5895 GB, free: 15.39 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001877/0.4993, allocations: 63.97 kB / 0.5896 GB, free: 15.32 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03581/0.5351, allocations: 13.28 MB / 0.6026 GB, free: 2.043 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.403e-06/0.5351, allocations: 0 / 0.6026 GB, free: 2.043 MB / 410.7 MB Notification: Performance of Transformations before backend: time 3.83e-05/0.5352, allocations: 11.94 kB / 0.6026 GB, free: 2.031 MB / 410.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.0009899/0.5362, allocations: 0.7517 MB / 0.6033 GB, free: 1.199 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4e-05/0.5362, allocations: 12.02 kB / 0.6033 GB, free: 1.188 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001085/0.5363, allocations: 55.34 kB / 0.6034 GB, free: 1.133 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008164/0.5372, allocations: 479.4 kB / 0.6038 GB, free: 0.6211 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.663e-05/0.5372, allocations: 20.16 kB / 0.6039 GB, free: 0.6016 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.513e-05/0.5373, allocations: 12 kB / 0.6039 GB, free: 0.5898 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003548/0.5376, allocations: 254.6 kB / 0.6041 GB, free: 308 kB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.845e-06/0.5376, allocations: 4 kB / 0.6041 GB, free: 304 kB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.318e-05/0.5377, allocations: 0 / 0.6041 GB, free: 304 kB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.412e-06/0.5377, allocations: 8 kB / 0.6041 GB, free: 296 kB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002/0.5379, allocations: 111.9 kB / 0.6042 GB, free: 184 kB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001071/0.539, allocations: 0.9265 MB / 0.6051 GB, free: 15.19 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003897/0.5394, allocations: 279 kB / 0.6054 GB, free: 14.88 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001462/0.5395, allocations: 107.5 kB / 0.6055 GB, free: 14.77 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.861e-05/0.5396, allocations: 0 / 0.6055 GB, free: 14.77 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003129/0.5399, allocations: 221.9 kB / 0.6057 GB, free: 14.53 MB / 426.7 MB Notification: Performance of pre-optimization done (n=24): time 1.533e-06/0.5399, allocations: 0 / 0.6057 GB, free: 14.53 MB / 426.7 MB Notification: Performance of matching and sorting (n=24): time 0.000546/0.5404, allocations: 316.9 kB / 0.606 GB, free: 14.21 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001557/0.5406, allocations: 342.1 kB / 0.6063 GB, free: 13.8 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006768/0.5413, allocations: 0.5787 MB / 0.6069 GB, free: 13.21 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 3.63e-05/0.5413, allocations: 33.7 kB / 0.6069 GB, free: 13.17 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001575/0.5415, allocations: 232.5 kB / 0.6072 GB, free: 12.94 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.334e-05/0.5416, allocations: 59.33 kB / 0.6072 GB, free: 12.88 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.252e-05/0.5416, allocations: 4 kB / 0.6072 GB, free: 12.88 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001345/0.5417, allocations: 366.8 kB / 0.6076 GB, free: 12.51 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001424/0.5419, allocations: 79.97 kB / 0.6076 GB, free: 12.43 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002829/0.5422, allocations: 253 kB / 0.6079 GB, free: 12.12 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001695/0.5423, allocations: 102.7 kB / 0.608 GB, free: 12.03 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.155e-06/0.5424, allocations: 0 / 0.608 GB, free: 12.03 MB / 426.7 MB Notification: Performance of matching and sorting (n=32) (initialization): time 0.000469/0.5428, allocations: 308.8 kB / 0.6083 GB, free: 11.72 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.78e-05/0.5429, allocations: 4 kB / 0.6083 GB, free: 11.71 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.683e-06/0.5429, allocations: 8.109 kB / 0.6083 GB, free: 11.71 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.646e-05/0.5429, allocations: 11.95 kB / 0.6083 GB, free: 11.7 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002622/0.5432, allocations: 55.91 kB / 0.6084 GB, free: 11.64 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.038e-05/0.5432, allocations: 4 kB / 0.6084 GB, free: 11.64 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002005/0.5434, allocations: 31.83 kB / 0.6084 GB, free: 11.61 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.25e-05/0.5434, allocations: 12.23 kB / 0.6084 GB, free: 11.59 MB / 426.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 () * 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.0001199/0.5435, allocations: 144.9 kB / 0.6085 GB, free: 11.45 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.328e-05/0.5436, allocations: 51.34 kB / 0.6086 GB, free: 11.39 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005942/0.5442, allocations: 361.6 kB / 0.6089 GB, free: 11.04 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.761e-06/0.5443, allocations: 4 kB / 0.6089 GB, free: 11.03 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.706e-06/0.5443, allocations: 15.83 kB / 0.609 GB, free: 11.02 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.652e-06/0.5443, allocations: 3.984 kB / 0.609 GB, free: 11.01 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004349/0.5447, allocations: 433.2 kB / 0.6094 GB, free: 10.54 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.255e-06/0.5447, allocations: 0 / 0.6094 GB, free: 10.54 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001432/0.5449, allocations: 31.97 kB / 0.6094 GB, free: 10.51 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.962e-06/0.5449, allocations: 8 kB / 0.6094 GB, free: 10.5 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.742e-05/0.5449, allocations: 8 kB / 0.6094 GB, free: 10.49 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.833e-06/0.5449, allocations: 11.92 kB / 0.6094 GB, free: 10.48 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.563e-06/0.5449, allocations: 0 / 0.6094 GB, free: 10.48 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006399/0.5456, allocations: 417.8 kB / 0.6098 GB, free: 10.02 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001985/0.5458, allocations: 156.4 kB / 0.61 GB, free: 9.852 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.977e-05/0.5459, allocations: 8 kB / 0.61 GB, free: 9.844 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000188/0.5461, allocations: 19.98 kB / 0.61 GB, free: 9.824 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001262/0.5462, allocations: 43.89 kB / 0.61 GB, free: 9.781 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.756e-05/0.5462, allocations: 11.98 kB / 0.6101 GB, free: 9.77 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0005997/0.5469, allocations: 465.5 kB / 0.6105 GB, free: 9.316 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.7e-07/0.5469, allocations: 0 / 0.6105 GB, free: 9.316 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0005514/0.5474, allocations: 123.9 kB / 0.6106 GB, free: 9.195 MB / 426.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.nextTimeEvent,integerTable4.combiTimeTable.nextTimeEventScaled,integerTable3.combiTimeTable.nextTimeEvent,integerTable3.combiTimeTable.nextTimeEventScaled,integerTable2.combiTimeTable.nextTimeEvent,integerTable2.combiTimeTable.nextTimeEventScaled,integerTable.combiTimeTable.nextTimeEvent,integerTable.combiTimeTable.nextTimeEventScaled) * Top-level inputs: 0 Notification: Strong component statistics for simulation (28): * Single equations (assignments): 20 * 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.0009901/0.5484, allocations: 433.6 kB / 0.611 GB, free: 8.863 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0004669/0.5489, allocations: 259.8 kB / 0.6113 GB, free: 8.609 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 4.358e-06/0.5489, allocations: 3.984 kB / 0.6113 GB, free: 8.605 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002985/0.5492, allocations: 180 kB / 0.6115 GB, free: 8.43 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006323/0.5499, allocations: 128.2 kB / 0.6116 GB, free: 8.309 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009867/0.5509, allocations: 0.6272 MB / 0.6122 GB, free: 7.648 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004736/0.5513, allocations: 0.8509 MB / 0.613 GB, free: 6.766 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.000301/0.5517, allocations: 95.7 kB / 0.6131 GB, free: 6.672 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001291/0.5518, allocations: 47.42 kB / 0.6132 GB, free: 6.625 MB / 426.7 MB Notification: Performance of SimCode: time 8.71e-07/0.5518, allocations: 4 kB / 0.6132 GB, free: 6.621 MB / 426.7 MB Notification: Performance of Templates: time 0.01242/0.5642, allocations: 7.345 MB / 0.6203 GB, free: 15.31 MB / 442.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Blocks.IntegerTable.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Blocks.IntegerTable.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Blocks.IntegerTable.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Blocks.IntegerTable.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Blocks.IntegerTable.sim & ./ModelicaTest_4.0.0_ModelicaTest.Blocks.IntegerTable -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Blocks.IntegerTable.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Blocks.IntegerTable_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Blocks/IntegerTable/IntegerTable.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Blocks.IntegerTable.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches