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.001032/0.001033, allocations: 182.8 kB / 15.76 MB, free: 6.367 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.442/1.442, allocations: 205.4 MB / 221.9 MB, free: 13.84 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.0008933/0.0008933, allocations: 106.8 kB / 270.2 MB, free: 13.36 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.2005/0.2005, allocations: 43.56 MB / 362 MB, free: 11.3 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002989/0.000299, allocations: 8 kB / 431.4 MB, free: 19.61 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1302/0.1305, allocations: 58.86 MB / 490.2 MB, free: 8.672 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4769/0.6075, allocations: 88.47 MB / 0.5651 GB, free: 11.32 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003085/0.6079, allocations: 66.91 kB / 0.5652 GB, free: 11.29 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0499/0.6578, allocations: 12.96 MB / 0.5779 GB, free: 340 kB / 378.7 MB Notification: Performance of FrontEnd: time 2.355e-06/0.6579, allocations: 0 / 0.5779 GB, free: 340 kB / 378.7 MB Notification: Performance of Transformations before backend: time 5.034e-05/0.6579, allocations: 11.94 kB / 0.5779 GB, free: 328 kB / 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.00169/0.6596, allocations: 0.8547 MB / 0.5787 GB, free: 15.42 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.978e-05/0.6597, allocations: 8.562 kB / 0.5787 GB, free: 15.41 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001499/0.6598, allocations: 55.3 kB / 0.5788 GB, free: 15.36 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001083/0.6609, allocations: 488.1 kB / 0.5792 GB, free: 14.91 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.745e-05/0.661, allocations: 16.09 kB / 0.5792 GB, free: 14.89 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.273e-05/0.661, allocations: 15.81 kB / 0.5793 GB, free: 14.88 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006034/0.6617, allocations: 271.5 kB / 0.5795 GB, free: 14.62 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.177e-05/0.6617, allocations: 0 / 0.5795 GB, free: 14.62 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.602e-05/0.6617, allocations: 7.688 kB / 0.5795 GB, free: 14.62 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.038e-05/0.6617, allocations: 4 kB / 0.5795 GB, free: 14.61 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004031/0.6622, allocations: 115.5 kB / 0.5796 GB, free: 14.54 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001666/0.6638, allocations: 0.9289 MB / 0.5806 GB, free: 13.69 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009267/0.6648, allocations: 307.2 kB / 0.5808 GB, free: 13.43 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.271e-05/0.6648, allocations: 11.44 kB / 0.5809 GB, free: 13.42 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005959/0.6654, allocations: 227.5 kB / 0.5811 GB, free: 13.21 MB / 394.7 MB Notification: Performance of pre-optimization done (n=24): time 1.974e-06/0.6655, allocations: 0 / 0.5811 GB, free: 13.21 MB / 394.7 MB Notification: Performance of matching and sorting (n=24): time 0.001377/0.6668, allocations: 425.5 kB / 0.5815 GB, free: 12.89 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001892/0.667, allocations: 342 kB / 0.5818 GB, free: 12.48 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001097/0.6682, allocations: 0.5819 MB / 0.5824 GB, free: 12.01 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 5.28e-05/0.6682, allocations: 36.89 kB / 0.5824 GB, free: 11.98 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002209/0.6685, allocations: 216.9 kB / 0.5826 GB, free: 11.85 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.163e-05/0.6686, allocations: 64.98 kB / 0.5827 GB, free: 11.8 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.23e-05/0.6686, allocations: 7.25 kB / 0.5827 GB, free: 11.8 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001966/0.6688, allocations: 364.1 kB / 0.583 GB, free: 11.45 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003013/0.6691, allocations: 89.56 kB / 0.5831 GB, free: 11.39 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004974/0.6696, allocations: 260.2 kB / 0.5834 GB, free: 11.12 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003746/0.67, allocations: 110.5 kB / 0.5835 GB, free: 11.05 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.787e-06/0.67, allocations: 0 / 0.5835 GB, free: 11.05 MB / 394.7 MB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0009817/0.671, allocations: 329.7 kB / 0.5838 GB, free: 10.8 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.427e-05/0.6711, allocations: 7.438 kB / 0.5838 GB, free: 10.8 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.788e-06/0.6711, allocations: 7.938 kB / 0.5838 GB, free: 10.79 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.081e-05/0.6711, allocations: 4 kB / 0.5838 GB, free: 10.79 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004044/0.6715, allocations: 60.02 kB / 0.5839 GB, free: 10.73 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.242e-05/0.6716, allocations: 4 kB / 0.5839 GB, free: 10.72 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003321/0.6719, allocations: 30.2 kB / 0.5839 GB, free: 10.7 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.504e-05/0.6719, allocations: 12 kB / 0.5839 GB, free: 10.69 MB / 394.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.0003634/0.6723, allocations: 227.5 kB / 0.5841 GB, free: 10.5 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000131/0.6725, allocations: 59.3 kB / 0.5842 GB, free: 10.44 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001129/0.6736, allocations: 379.4 kB / 0.5845 GB, free: 10.15 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.436e-06/0.6736, allocations: 4 kB / 0.5845 GB, free: 10.15 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.6e-06/0.6736, allocations: 0 / 0.5845 GB, free: 10.15 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.402e-06/0.6737, allocations: 0 / 0.5845 GB, free: 10.15 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006621/0.6743, allocations: 442.9 kB / 0.585 GB, free: 9.754 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.773e-06/0.6743, allocations: 4 kB / 0.585 GB, free: 9.75 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002099/0.6746, allocations: 27.98 kB / 0.585 GB, free: 9.723 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.252e-06/0.6746, allocations: 4 kB / 0.585 GB, free: 9.719 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.484e-05/0.6746, allocations: 15.12 kB / 0.585 GB, free: 9.707 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.524e-06/0.6747, allocations: 7.938 kB / 0.585 GB, free: 9.699 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.244e-06/0.6747, allocations: 0 / 0.585 GB, free: 9.699 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001078/0.6758, allocations: 429.6 kB / 0.5854 GB, free: 9.312 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002614/0.676, allocations: 157.6 kB / 0.5856 GB, free: 9.152 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000103/0.6762, allocations: 9.375 kB / 0.5856 GB, free: 9.148 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002821/0.6764, allocations: 23.11 kB / 0.5856 GB, free: 9.129 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001294/0.6766, allocations: 37.77 kB / 0.5856 GB, free: 9.102 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.545e-05/0.6766, allocations: 19.98 kB / 0.5857 GB, free: 9.082 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0008358/0.6775, allocations: 474.8 kB / 0.5861 GB, free: 8.734 MB / 394.7 MB Notification: Performance of sort global known variables: time 2.5e-07/0.6775, allocations: 0 / 0.5861 GB, free: 8.734 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0008216/0.6783, allocations: 122.3 kB / 0.5862 GB, free: 8.625 MB / 394.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) * Number of clocked states: 0 () * 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.001646/0.68, allocations: 467.4 kB / 0.5867 GB, free: 8.223 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0009769/0.681, allocations: 279.4 kB / 0.5869 GB, free: 8.016 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 6.342e-06/0.681, allocations: 4 kB / 0.587 GB, free: 8.012 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005322/0.6816, allocations: 178.7 kB / 0.5871 GB, free: 7.883 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008939/0.6825, allocations: 127.3 kB / 0.5872 GB, free: 7.781 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00215/0.6846, allocations: 0.8747 MB / 0.5881 GB, free: 6.965 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005715/0.6852, allocations: 0.8558 MB / 0.5889 GB, free: 6.09 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0004073/0.6856, allocations: 91.2 kB / 0.589 GB, free: 6 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001925/0.6858, allocations: 59.22 kB / 0.5891 GB, free: 5.945 MB / 394.7 MB Notification: Performance of SimCode: time 1.072e-06/0.6859, allocations: 0 / 0.5891 GB, free: 5.945 MB / 394.7 MB Notification: Performance of Templates: time 0.01929/0.7052, allocations: 7.343 MB / 0.5962 GB, free: 14.61 MB / 410.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