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.000903/0.0009032, allocations: 172.8 kB / 8 MB, free: 1.074 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.481/1.481, allocations: 205.3 MB / 213.7 MB, free: 1.668 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007869/0.0007868, allocations: 82.17 kB / 261.7 MB, free: 1.617 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.204/0.204, allocations: 43.5 MB / 353.2 MB, free: 272 kB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 1.452e-05/1.447e-05, allocations: 0 / 418.3 MB, free: 28.55 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1047/0.1048, allocations: 58.86 MB / 477.1 MB, free: 1.652 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3554/0.4602, allocations: 87.71 MB / 0.5516 GB, free: 7.391 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001949/0.4605, allocations: 66.84 kB / 0.5516 GB, free: 7.359 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03198/0.4925, allocations: 12.84 MB / 0.5642 GB, free: 13.01 MB / 378.7 MB Notification: Performance of FrontEnd: time 9.32e-07/0.4925, allocations: 0 / 0.5642 GB, free: 13.01 MB / 378.7 MB Notification: Performance of Transformations before backend: time 3.446e-05/0.4925, allocations: 11.94 kB / 0.5642 GB, free: 13 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.0009845/0.4935, allocations: 0.7445 MB / 0.5649 GB, free: 12.21 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.786e-05/0.4936, allocations: 12.03 kB / 0.5649 GB, free: 12.2 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001064/0.4937, allocations: 59.3 kB / 0.565 GB, free: 12.14 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007419/0.4944, allocations: 484.2 kB / 0.5655 GB, free: 11.69 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.405e-05/0.4945, allocations: 4 kB / 0.5655 GB, free: 11.69 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.662e-05/0.4945, allocations: 15.92 kB / 0.5655 GB, free: 11.67 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001913/0.4947, allocations: 106.8 kB / 0.5656 GB, free: 11.6 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002888/0.495, allocations: 242.4 kB / 0.5658 GB, free: 11.36 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.576e-06/0.495, allocations: 0 / 0.5658 GB, free: 11.36 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.356e-05/0.4951, allocations: 4 kB / 0.5658 GB, free: 11.36 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.662e-06/0.4951, allocations: 4 kB / 0.5658 GB, free: 11.36 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009752/0.496, allocations: 0.8886 MB / 0.5667 GB, free: 10.56 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003169/0.4964, allocations: 265.7 kB / 0.5669 GB, free: 10.33 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001253/0.4965, allocations: 103.4 kB / 0.567 GB, free: 10.24 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.102e-05/0.4965, allocations: 7.188 kB / 0.567 GB, free: 10.24 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002781/0.4968, allocations: 216.5 kB / 0.5672 GB, free: 10.04 MB / 378.7 MB Notification: Performance of pre-optimization done (n=24): time 2.786e-06/0.4968, allocations: 4 kB / 0.5672 GB, free: 10.04 MB / 378.7 MB Notification: Performance of matching and sorting (n=24): time 0.0004866/0.4973, allocations: 291.2 kB / 0.5675 GB, free: 9.809 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001223/0.4975, allocations: 345.2 kB / 0.5679 GB, free: 9.395 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006035/0.4981, allocations: 0.5522 MB / 0.5684 GB, free: 8.965 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.307e-05/0.4981, allocations: 29.7 kB / 0.5684 GB, free: 8.93 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001421/0.4983, allocations: 222.1 kB / 0.5686 GB, free: 8.801 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.365e-05/0.4983, allocations: 58.31 kB / 0.5687 GB, free: 8.754 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.938e-05/0.4983, allocations: 0 / 0.5687 GB, free: 8.754 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001355/0.4985, allocations: 367.8 kB / 0.569 GB, free: 8.406 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001115/0.4986, allocations: 72.8 kB / 0.5691 GB, free: 8.363 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002141/0.4988, allocations: 241 kB / 0.5693 GB, free: 8.109 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001328/0.499, allocations: 89.14 kB / 0.5694 GB, free: 8.055 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.296e-06/0.499, allocations: 8 kB / 0.5694 GB, free: 8.047 MB / 378.7 MB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0003855/0.4994, allocations: 286.5 kB / 0.5697 GB, free: 7.82 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.502e-05/0.4994, allocations: 7.953 kB / 0.5697 GB, free: 7.812 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.693e-06/0.4994, allocations: 4 kB / 0.5697 GB, free: 7.809 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.516e-05/0.4994, allocations: 4 kB / 0.5697 GB, free: 7.805 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002538/0.4997, allocations: 55.89 kB / 0.5698 GB, free: 7.75 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.584e-06/0.4997, allocations: 4 kB / 0.5698 GB, free: 7.746 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001962/0.4999, allocations: 31.89 kB / 0.5698 GB, free: 7.715 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.272e-05/0.4999, allocations: 11.69 kB / 0.5698 GB, free: 7.707 MB / 378.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.0001042/0.5, allocations: 129.6 kB / 0.5699 GB, free: 7.578 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.441e-05/0.5001, allocations: 59.33 kB / 0.57 GB, free: 7.52 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004991/0.5006, allocations: 340.3 kB / 0.5703 GB, free: 7.258 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.92e-06/0.5006, allocations: 4 kB / 0.5703 GB, free: 7.254 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.549e-06/0.5007, allocations: 4 kB / 0.5703 GB, free: 7.25 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.392e-06/0.5007, allocations: 3.984 kB / 0.5703 GB, free: 7.246 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003453/0.501, allocations: 397.3 kB / 0.5707 GB, free: 6.898 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.825e-06/0.501, allocations: 8 kB / 0.5707 GB, free: 6.891 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001396/0.5012, allocations: 34.48 kB / 0.5708 GB, free: 6.859 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.307e-06/0.5012, allocations: 0 / 0.5708 GB, free: 6.859 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.179e-05/0.5012, allocations: 11.92 kB / 0.5708 GB, free: 6.848 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.597e-06/0.5012, allocations: 4 kB / 0.5708 GB, free: 6.844 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.306e-06/0.5012, allocations: 3.953 kB / 0.5708 GB, free: 6.84 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004568/0.5017, allocations: 406.1 kB / 0.5712 GB, free: 6.465 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001349/0.5018, allocations: 158.7 kB / 0.5713 GB, free: 6.301 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.832e-05/0.5019, allocations: 7 kB / 0.5713 GB, free: 6.297 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001784/0.5021, allocations: 15.98 kB / 0.5713 GB, free: 6.281 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.83e-05/0.5022, allocations: 42 kB / 0.5714 GB, free: 6.25 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.369e-05/0.5022, allocations: 11.25 kB / 0.5714 GB, free: 6.242 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0004404/0.5027, allocations: 439.6 kB / 0.5718 GB, free: 5.922 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.5027, allocations: 0 / 0.5718 GB, free: 5.922 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0004516/0.5031, allocations: 117.4 kB / 0.5719 GB, free: 5.812 MB / 378.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.0008688/0.504, allocations: 398.5 kB / 0.5723 GB, free: 5.469 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0003688/0.5044, allocations: 241 kB / 0.5725 GB, free: 5.297 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.414e-06/0.5044, allocations: 0 / 0.5725 GB, free: 5.297 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002303/0.5046, allocations: 170.7 kB / 0.5727 GB, free: 5.176 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000586/0.5052, allocations: 121.4 kB / 0.5728 GB, free: 5.078 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008753/0.5061, allocations: 0.6117 MB / 0.5734 GB, free: 4.523 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003803/0.5065, allocations: 0.8566 MB / 0.5742 GB, free: 3.648 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0002256/0.5067, allocations: 91.22 kB / 0.5743 GB, free: 3.562 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001237/0.5069, allocations: 51.03 kB / 0.5744 GB, free: 3.516 MB / 378.7 MB Notification: Performance of SimCode: time 2.5e-07/0.5069, allocations: 0 / 0.5744 GB, free: 3.516 MB / 378.7 MB Notification: Performance of Templates: time 0.01109/0.518, allocations: 6.908 MB / 0.5811 GB, free: 12.63 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/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