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.001528/0.001528, allocations: 169 kB / 8.742 MB, free: 344 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.426/1.426, allocations: 221.5 MB / 230.7 MB, free: 7.555 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.0009053/0.0009052, allocations: 96.78 kB / 281.6 MB, free: 5.309 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1915/0.1915, allocations: 44.15 MB / 376.5 MB, free: 3.023 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 1.251e-05/1.254e-05, allocations: 4.219 kB / 444.6 MB, free: 15.23 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1305/0.1306, allocations: 61.92 MB / 0.4947 GB, free: 1.246 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.402/0.5326, allocations: 89.28 MB / 0.5819 GB, free: 7.234 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002035/0.5328, allocations: 67.97 kB / 0.5819 GB, free: 7.168 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03722/0.57, allocations: 13.18 MB / 0.5948 GB, free: 9.988 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.573e-06/0.5701, allocations: 3.938 kB / 0.5948 GB, free: 9.984 MB / 410.7 MB Notification: Performance of Transformations before backend: time 5.482e-05/0.5702, allocations: 15.94 kB / 0.5948 GB, free: 9.969 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.001469/0.5716, allocations: 0.7439 MB / 0.5955 GB, free: 9.148 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.24e-05/0.5717, allocations: 11.98 kB / 0.5955 GB, free: 9.137 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002504/0.572, allocations: 55.34 kB / 0.5956 GB, free: 9.082 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001044/0.573, allocations: 487.3 kB / 0.5961 GB, free: 8.562 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.557e-05/0.5731, allocations: 8 kB / 0.5961 GB, free: 8.555 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.336e-05/0.5731, allocations: 11.98 kB / 0.5961 GB, free: 8.543 MB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00023/0.5733, allocations: 100.4 kB / 0.5962 GB, free: 8.445 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003585/0.5737, allocations: 243.2 kB / 0.5964 GB, free: 8.168 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.175e-05/0.5737, allocations: 0 / 0.5964 GB, free: 8.168 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.71e-05/0.5738, allocations: 4 kB / 0.5964 GB, free: 8.164 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.871e-06/0.5738, allocations: 4 kB / 0.5964 GB, free: 8.16 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001181/0.575, allocations: 0.8957 MB / 0.5973 GB, free: 7.215 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003869/0.5754, allocations: 267 kB / 0.5975 GB, free: 6.918 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001438/0.5755, allocations: 103.5 kB / 0.5976 GB, free: 6.805 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.217e-05/0.5756, allocations: 0 / 0.5976 GB, free: 6.805 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003368/0.5759, allocations: 206.7 kB / 0.5978 GB, free: 6.578 MB / 410.7 MB Notification: Performance of pre-optimization done (n=24): time 3.145e-06/0.5759, allocations: 0 / 0.5978 GB, free: 6.578 MB / 410.7 MB Notification: Performance of matching and sorting (n=24): time 0.0006855/0.5766, allocations: 296.9 kB / 0.5981 GB, free: 6.281 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002151/0.5768, allocations: 346.1 kB / 0.5985 GB, free: 5.863 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008596/0.5777, allocations: 0.5604 MB / 0.599 GB, free: 5.297 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 4.207e-05/0.5778, allocations: 29.7 kB / 0.599 GB, free: 5.262 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001986/0.578, allocations: 212.6 kB / 0.5992 GB, free: 5.051 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.957e-05/0.5781, allocations: 71.33 kB / 0.5993 GB, free: 4.98 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.36e-05/0.5781, allocations: 0 / 0.5993 GB, free: 4.98 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001785/0.5783, allocations: 362.8 kB / 0.5996 GB, free: 4.617 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001314/0.5784, allocations: 76.95 kB / 0.5997 GB, free: 4.543 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002586/0.5787, allocations: 237.1 kB / 0.5999 GB, free: 4.25 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001747/0.5788, allocations: 96.14 kB / 0.6 GB, free: 4.156 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.975e-06/0.5789, allocations: 0 / 0.6 GB, free: 4.156 MB / 410.7 MB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0004753/0.5793, allocations: 292.9 kB / 0.6003 GB, free: 3.863 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.199e-05/0.5794, allocations: 8.031 kB / 0.6003 GB, free: 3.855 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.838e-06/0.5794, allocations: 4 kB / 0.6003 GB, free: 3.852 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.765e-05/0.5794, allocations: 0 / 0.6003 GB, free: 3.852 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002845/0.5797, allocations: 59.89 kB / 0.6004 GB, free: 3.793 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.107e-06/0.5797, allocations: 3.953 kB / 0.6004 GB, free: 3.789 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002485/0.58, allocations: 27.83 kB / 0.6004 GB, free: 3.762 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.589e-05/0.58, allocations: 15.94 kB / 0.6004 GB, free: 3.746 MB / 410.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.0001336/0.5801, allocations: 130.2 kB / 0.6006 GB, free: 3.617 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.147e-05/0.5802, allocations: 59.28 kB / 0.6006 GB, free: 3.559 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000605/0.5809, allocations: 329.5 kB / 0.6009 GB, free: 3.227 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.233e-06/0.5809, allocations: 4 kB / 0.6009 GB, free: 3.223 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.886e-06/0.5809, allocations: 7.938 kB / 0.6009 GB, free: 3.215 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.245e-06/0.5809, allocations: 7.891 kB / 0.6009 GB, free: 3.207 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004556/0.5814, allocations: 402 kB / 0.6013 GB, free: 2.777 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.571e-06/0.5814, allocations: 8 kB / 0.6013 GB, free: 2.77 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001423/0.5815, allocations: 35.92 kB / 0.6014 GB, free: 2.734 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.054e-06/0.5815, allocations: 4 kB / 0.6014 GB, free: 2.73 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.634e-05/0.5816, allocations: 7.984 kB / 0.6014 GB, free: 2.723 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.398e-06/0.5816, allocations: 4 kB / 0.6014 GB, free: 2.719 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.996e-06/0.5816, allocations: 0 / 0.6014 GB, free: 2.719 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005195/0.5821, allocations: 403 kB / 0.6018 GB, free: 2.277 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001645/0.5823, allocations: 152.4 kB / 0.6019 GB, free: 2.109 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.91e-05/0.5824, allocations: 11.95 kB / 0.6019 GB, free: 2.098 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001814/0.5826, allocations: 15.98 kB / 0.6019 GB, free: 2.082 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001006/0.5827, allocations: 39.94 kB / 0.602 GB, free: 2.043 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.74e-05/0.5827, allocations: 16 kB / 0.602 GB, free: 2.027 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0005552/0.5833, allocations: 438.9 kB / 0.6024 GB, free: 1.598 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.71e-07/0.5833, allocations: 0 / 0.6024 GB, free: 1.598 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0004944/0.5838, allocations: 111.9 kB / 0.6025 GB, free: 1.488 MB / 410.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.0009695/0.5848, allocations: 416 kB / 0.6029 GB, free: 1.148 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0004544/0.5852, allocations: 243.8 kB / 0.6032 GB, free: 0.9102 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.615e-06/0.5852, allocations: 4 kB / 0.6032 GB, free: 0.9062 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002556/0.5855, allocations: 163.8 kB / 0.6033 GB, free: 0.7461 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006559/0.5862, allocations: 122.5 kB / 0.6034 GB, free: 0.6289 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001122/0.5873, allocations: 0.6181 MB / 0.604 GB, free: 15.97 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004281/0.5877, allocations: 0.8546 MB / 0.6049 GB, free: 15.09 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0002716/0.588, allocations: 95.2 kB / 0.605 GB, free: 15 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001331/0.5882, allocations: 51.42 kB / 0.605 GB, free: 14.95 MB / 426.7 MB Notification: Performance of SimCode: time 2.6e-07/0.5882, allocations: 0 / 0.605 GB, free: 14.95 MB / 426.7 MB Notification: Performance of Templates: time 0.01297/0.6011, allocations: 6.886 MB / 0.6117 GB, free: 8.098 MB / 426.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