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.001001/0.001001, allocations: 183 kB / 13.19 MB, free: 2.129 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.287/1.287, allocations: 205.2 MB / 218.9 MB, free: 9.145 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.0008107/0.0008107, allocations: 91.78 kB / 267 MB, free: 9.27 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.3323/0.3323, allocations: 43.46 MB / 358.6 MB, free: 52.28 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 2.313e-05/2.315e-05, allocations: 8 kB / 425.3 MB, free: 8.891 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1133/0.1133, allocations: 58.83 MB / 484.1 MB, free: 13.96 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3461/0.4595, allocations: 88.38 MB / 0.5591 GB, free: 0.6367 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000154/0.4597, allocations: 71.25 kB / 0.5592 GB, free: 0.5703 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03422/0.494, allocations: 12.93 MB / 0.5718 GB, free: 3.691 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.703e-06/0.494, allocations: 0 / 0.5718 GB, free: 3.691 MB / 394.7 MB Notification: Performance of Transformations before backend: time 3.712e-05/0.4941, allocations: 8 kB / 0.5718 GB, free: 3.684 MB / 394.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.001013/0.4951, allocations: 0.7535 MB / 0.5725 GB, free: 2.863 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.449e-05/0.4951, allocations: 12.03 kB / 0.5726 GB, free: 2.852 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001113/0.4953, allocations: 55.33 kB / 0.5726 GB, free: 2.797 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008487/0.4961, allocations: 483.3 kB / 0.5731 GB, free: 2.285 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.136e-05/0.4962, allocations: 16.22 kB / 0.5731 GB, free: 2.27 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.48e-05/0.4962, allocations: 12 kB / 0.5731 GB, free: 2.258 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003901/0.4966, allocations: 259.9 kB / 0.5733 GB, free: 1.965 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.182e-05/0.4966, allocations: 0 / 0.5733 GB, free: 1.965 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.792e-05/0.4966, allocations: 8 kB / 0.5733 GB, free: 1.957 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.941e-06/0.4967, allocations: 0 / 0.5733 GB, free: 1.957 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002089/0.4969, allocations: 115.9 kB / 0.5735 GB, free: 1.844 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001084/0.498, allocations: 0.9265 MB / 0.5744 GB, free: 0.8555 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003724/0.4984, allocations: 287 kB / 0.5746 GB, free: 0.5391 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001377/0.4985, allocations: 103.5 kB / 0.5747 GB, free: 436 kB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.261e-05/0.4985, allocations: 11.94 kB / 0.5747 GB, free: 424 kB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003048/0.4988, allocations: 211.7 kB / 0.5749 GB, free: 188 kB / 394.7 MB Notification: Performance of pre-optimization done (n=24): time 1.774e-06/0.4989, allocations: 0 / 0.5749 GB, free: 188 kB / 394.7 MB Notification: Performance of matching and sorting (n=24): time 0.0005537/0.4994, allocations: 316.9 kB / 0.5752 GB, free: 15.87 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001498/0.4996, allocations: 338.1 kB / 0.5756 GB, free: 15.46 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006601/0.5003, allocations: 0.5787 MB / 0.5761 GB, free: 14.87 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 3.623e-05/0.5003, allocations: 41.7 kB / 0.5762 GB, free: 14.82 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001499/0.5005, allocations: 220.5 kB / 0.5764 GB, free: 14.6 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.401e-05/0.5005, allocations: 71.27 kB / 0.5765 GB, free: 14.53 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.209e-05/0.5005, allocations: 4 kB / 0.5765 GB, free: 14.53 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.000149/0.5007, allocations: 362.8 kB / 0.5768 GB, free: 14.16 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001353/0.5008, allocations: 79.98 kB / 0.5769 GB, free: 14.09 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002676/0.5011, allocations: 247.5 kB / 0.5771 GB, free: 13.79 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001697/0.5013, allocations: 99.89 kB / 0.5772 GB, free: 13.69 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.175e-06/0.5013, allocations: 0 / 0.5772 GB, free: 13.69 MB / 410.7 MB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0004498/0.5018, allocations: 317.2 kB / 0.5775 GB, free: 13.37 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.874e-05/0.5018, allocations: 11.98 kB / 0.5775 GB, free: 13.36 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.48e-06/0.5018, allocations: 0 / 0.5775 GB, free: 13.36 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.642e-05/0.5018, allocations: 4 kB / 0.5775 GB, free: 13.36 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002628/0.5021, allocations: 60.03 kB / 0.5776 GB, free: 13.3 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.427e-06/0.5021, allocations: 0 / 0.5776 GB, free: 13.3 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002081/0.5023, allocations: 31.83 kB / 0.5776 GB, free: 13.27 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.629e-05/0.5024, allocations: 12 kB / 0.5776 GB, free: 13.25 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.0001162/0.5025, allocations: 140.8 kB / 0.5778 GB, free: 13.11 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.459e-05/0.5026, allocations: 59.3 kB / 0.5778 GB, free: 13.05 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005792/0.5031, allocations: 365.3 kB / 0.5782 GB, free: 12.69 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.25e-06/0.5032, allocations: 4 kB / 0.5782 GB, free: 12.68 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.248e-06/0.5032, allocations: 0 / 0.5782 GB, free: 12.68 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.546e-06/0.5032, allocations: 7.969 kB / 0.5782 GB, free: 12.68 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004313/0.5036, allocations: 433.2 kB / 0.5786 GB, free: 12.2 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.325e-06/0.5036, allocations: 3.938 kB / 0.5786 GB, free: 12.2 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001426/0.5038, allocations: 39.91 kB / 0.5786 GB, free: 12.16 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.22e-06/0.5038, allocations: 3.953 kB / 0.5786 GB, free: 12.16 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.169e-05/0.5038, allocations: 4 kB / 0.5786 GB, free: 12.15 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.126e-06/0.5038, allocations: 8 kB / 0.5787 GB, free: 12.14 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.5038, allocations: 0 / 0.5787 GB, free: 12.14 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005234/0.5044, allocations: 421.8 kB / 0.5791 GB, free: 11.68 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001713/0.5046, allocations: 156.4 kB / 0.5792 GB, free: 11.51 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.735e-05/0.5046, allocations: 20 kB / 0.5792 GB, free: 11.49 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001712/0.5048, allocations: 11.98 kB / 0.5792 GB, free: 11.48 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.601e-05/0.5049, allocations: 39.95 kB / 0.5793 GB, free: 11.44 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.942e-05/0.5049, allocations: 11.98 kB / 0.5793 GB, free: 11.43 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0005057/0.5055, allocations: 469.5 kB / 0.5797 GB, free: 10.98 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.8e-07/0.5055, allocations: 4 kB / 0.5797 GB, free: 10.97 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0004394/0.5059, allocations: 119.9 kB / 0.5798 GB, free: 10.86 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.0009425/0.5069, allocations: 446.6 kB / 0.5803 GB, free: 10.48 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0004378/0.5073, allocations: 247.8 kB / 0.5805 GB, free: 10.24 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.787e-06/0.5073, allocations: 3.984 kB / 0.5805 GB, free: 10.24 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002765/0.5076, allocations: 179.8 kB / 0.5807 GB, free: 10.06 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000571/0.5082, allocations: 125.9 kB / 0.5808 GB, free: 9.945 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009698/0.5092, allocations: 0.6245 MB / 0.5814 GB, free: 9.293 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003658/0.5095, allocations: 0.8548 MB / 0.5822 GB, free: 8.406 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0002391/0.5098, allocations: 95.83 kB / 0.5823 GB, free: 8.312 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001232/0.5099, allocations: 51.42 kB / 0.5824 GB, free: 8.262 MB / 410.7 MB Notification: Performance of SimCode: time 3.6e-07/0.5099, allocations: 0 / 0.5824 GB, free: 8.262 MB / 410.7 MB Notification: Performance of Templates: time 0.01163/0.5216, allocations: 7.363 MB / 0.5896 GB, free: 0.9141 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