Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Blocks.IntegerTable.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007872/0.0007872, allocations: 76.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001625/0.002412, allocations: 457.8 kB / 10.45 MB, free: 244 kB / 10.45 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001009/0.001009, allocations: 162 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001114/0.002123, allocations: 475.6 kB / 11.82 MB, free: 2.348 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.008/1.008, allocations: 177.5 MB / 190 MB, free: 4.801 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0911/1.099, allocations: 53.87 MB / 243.9 MB, free: 14.86 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2623/0.2623, allocations: 34.89 MB / 279.6 MB, free: 14.9 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02704/0.2893, allocations: 13.23 MB / 292.8 MB, free: 6.391 MB / 282.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(ModelicaTest.Blocks.IntegerTable,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5007,variableFilter="time|integerTable.y|integerTable2.y|integerTable3.y|integerTable4.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Blocks.IntegerTable") translateModel(ModelicaTest.Blocks.IntegerTable,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5007,variableFilter="time|integerTable.y|integerTable2.y|integerTable3.y|integerTable4.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Blocks.IntegerTable") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.233e-06/1.233e-06, allocations: 0 / 294.1 MB, free: 5.098 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.182e-05/2.305e-05, allocations: 5.906 kB / 294.1 MB, free: 5.094 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.IntegerTable): time 0.003048/0.003071, allocations: 2.341 MB / 296.4 MB, free: 2.738 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.002647/0.005718, allocations: 1.702 MB / 298.1 MB, free: 1.027 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001852/0.005903, allocations: 4 kB / 298.1 MB, free: 1.023 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003126/0.006215, allocations: 147.1 kB / 298.3 MB, free: 0.8789 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004549/0.00667, allocations: 310.4 kB / 298.6 MB, free: 0.5742 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001005/0.007675, allocations: 0.5432 MB / 299.1 MB, free: 36 kB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006002/0.008275, allocations: 0.5687 MB / 299.7 MB, free: 15.46 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001429/0.008418, allocations: 49.23 kB / 299.8 MB, free: 15.41 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005003/0.008918, allocations: 444 kB / 300.2 MB, free: 14.98 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002532/0.009172, allocations: 187.4 kB / 300.4 MB, free: 14.79 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 4.323e-05/0.009215, allocations: 28 kB / 300.4 MB, free: 14.77 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003781/0.009593, allocations: 187.7 kB / 300.6 MB, free: 14.58 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001348/0.009728, allocations: 119.6 kB / 300.7 MB, free: 14.46 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 9.059e-05/0.009818, allocations: 87.69 kB / 300.8 MB, free: 14.38 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000513/0.01033, allocations: 414.5 kB / 301.2 MB, free: 13.97 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.51e-05/0.01035, allocations: 0 / 301.2 MB, free: 13.97 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.733e-06/0.01035, allocations: 3.938 kB / 301.2 MB, free: 13.97 MB / 298.7 MB Notification: Performance of Transformations before backend: time 1.763e-05/0.01037, allocations: 0 / 301.2 MB, free: 13.97 MB / 298.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.0009896/0.01136, allocations: 0.8882 MB / 302.1 MB, free: 13.03 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.428e-05/0.01139, allocations: 12.92 kB / 302.1 MB, free: 13.02 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.187e-05/0.01146, allocations: 36.89 kB / 302.1 MB, free: 12.98 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003667/0.01183, allocations: 349.7 kB / 302.5 MB, free: 12.62 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.286e-05/0.01185, allocations: 16.61 kB / 302.5 MB, free: 12.6 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.244e-05/0.01187, allocations: 12.38 kB / 302.5 MB, free: 12.59 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002164/0.01209, allocations: 182.4 kB / 302.7 MB, free: 12.39 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.235e-06/0.0121, allocations: 192 / 302.7 MB, free: 12.39 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.33e-05/0.01211, allocations: 4.359 kB / 302.7 MB, free: 12.39 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.424e-06/0.01212, allocations: 7.938 kB / 302.7 MB, free: 12.38 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.834e-05/0.0122, allocations: 55.22 kB / 302.7 MB, free: 12.32 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005523/0.01275, allocations: 0.5612 MB / 303.3 MB, free: 11.73 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003037/0.01305, allocations: 372.5 kB / 303.7 MB, free: 11.32 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.578e-05/0.01312, allocations: 55.36 kB / 303.7 MB, free: 11.25 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.576e-05/0.01313, allocations: 4 kB / 303.7 MB, free: 11.25 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001773/0.01331, allocations: 185.4 kB / 303.9 MB, free: 11.04 MB / 298.7 MB Notification: Performance of pre-optimization done (n=24): time 9.12e-07/0.01331, allocations: 0 / 303.9 MB, free: 11.04 MB / 298.7 MB Notification: Performance of matching and sorting (n=24): time 0.0002476/0.01356, allocations: 197.7 kB / 304.1 MB, free: 10.84 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.446e-05/0.01361, allocations: 136.5 kB / 304.2 MB, free: 10.67 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003329/0.01394, allocations: 496.8 kB / 304.7 MB, free: 10.17 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 3.133e-05/0.01397, allocations: 33.7 kB / 304.7 MB, free: 10.13 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.891e-05/0.01406, allocations: 153.8 kB / 304.9 MB, free: 9.98 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.279e-05/0.01411, allocations: 71.45 kB / 305 MB, free: 9.91 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.199e-05/0.01417, allocations: 57.66 kB / 305 MB, free: 9.848 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001154/0.01429, allocations: 370.7 kB / 305.4 MB, free: 9.477 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.285e-05/0.01433, allocations: 34.8 kB / 305.4 MB, free: 9.441 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001227/0.01445, allocations: 213.1 kB / 305.6 MB, free: 9.172 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001365/0.01459, allocations: 156.8 kB / 305.8 MB, free: 8.988 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.486e-06/0.01459, allocations: 3.938 kB / 305.8 MB, free: 8.984 MB / 298.7 MB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0001958/0.01479, allocations: 180.8 kB / 306 MB, free: 8.797 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.363e-05/0.0148, allocations: 8 kB / 306 MB, free: 8.789 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.47e-06/0.01481, allocations: 0 / 306 MB, free: 8.789 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.022e-05/0.01482, allocations: 4 kB / 306 MB, free: 8.785 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001521/0.01497, allocations: 67.89 kB / 306 MB, free: 8.719 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.062e-06/0.01498, allocations: 8.125 kB / 306 MB, free: 8.711 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.825e-05/0.01507, allocations: 23.88 kB / 306.1 MB, free: 8.688 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.184e-05/0.01508, allocations: 8 kB / 306.1 MB, free: 8.68 MB / 298.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 ($PRE.integerTable.combiTimeTable.nextTimeEvent,$whenCondition4,integerTable.combiTimeTable.nextTimeEventScaled,$PRE.integerTable.combiTimeTable.nextTimeEventScaled,integerTable.combiTimeTable.nextTimeEvent,integerTable.y,$PRE.integerTable2.combiTimeTable.nextTimeEvent,$whenCondition3,integerTable2.combiTimeTable.nextTimeEventScaled,$PRE.integerTable2.combiTimeTable.nextTimeEventScaled,integerTable2.combiTimeTable.nextTimeEvent,integerTable2.y,$PRE.integerTable3.combiTimeTable.nextTimeEvent,$whenCondition2,integerTable3.combiTimeTable.nextTimeEventScaled,$PRE.integerTable3.combiTimeTable.nextTimeEventScaled,integerTable3.combiTimeTable.nextTimeEvent,integerTable3.y,$PRE.integerTable4.combiTimeTable.nextTimeEvent,$whenCondition1,integerTable4.combiTimeTable.nextTimeEventScaled,$PRE.integerTable4.combiTimeTable.nextTimeEventScaled,integerTable4.combiTimeTable.nextTimeEvent,integerTable4.y) * 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001138/0.01519, allocations: 148.6 kB / 306.2 MB, free: 8.523 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.479e-05/0.01524, allocations: 39.95 kB / 306.3 MB, free: 8.484 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002269/0.01546, allocations: 193.8 kB / 306.5 MB, free: 8.285 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.507e-06/0.01547, allocations: 4 kB / 306.5 MB, free: 8.281 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.924e-06/0.01547, allocations: 4 kB / 306.5 MB, free: 8.277 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.611e-06/0.01547, allocations: 4 kB / 306.5 MB, free: 8.273 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001923/0.01567, allocations: 209.5 kB / 306.7 MB, free: 8.051 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.555e-06/0.01567, allocations: 4 kB / 306.7 MB, free: 8.047 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.872e-05/0.01575, allocations: 43.91 kB / 306.7 MB, free: 8.004 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.853e-05/0.0158, allocations: 55.53 kB / 306.8 MB, free: 7.949 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.717e-06/0.0158, allocations: 0 / 306.8 MB, free: 7.949 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.625e-05/0.01582, allocations: 12.17 kB / 306.8 MB, free: 7.938 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.889e-06/0.01582, allocations: 4 kB / 306.8 MB, free: 7.934 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.905e-06/0.01582, allocations: 4 kB / 306.8 MB, free: 7.93 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002335/0.01606, allocations: 221.6 kB / 307 MB, free: 7.68 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.844e-05/0.0161, allocations: 12 kB / 307 MB, free: 7.668 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.375e-05/0.01616, allocations: 11.98 kB / 307 MB, free: 7.656 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.794e-05/0.01623, allocations: 43.94 kB / 307.1 MB, free: 7.613 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.127e-05/0.01625, allocations: 11.98 kB / 307.1 MB, free: 7.602 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001976/0.01645, allocations: 231.2 kB / 307.3 MB, free: 7.375 MB / 298.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01645, allocations: 0 / 307.3 MB, free: 7.375 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002687/0.01671, allocations: 99.81 kB / 307.4 MB, free: 7.277 MB / 298.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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001264/0.01798, allocations: 0.6066 MB / 308 MB, free: 6.969 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0002077/0.01819, allocations: 128.6 kB / 308.1 MB, free: 6.84 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.56e-05/0.0182, allocations: 8 kB / 308.1 MB, free: 6.832 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001075/0.01831, allocations: 92.67 kB / 308.2 MB, free: 6.738 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000687/0.019, allocations: 0.8695 MB / 309.1 MB, free: 5.73 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009178/0.01991, allocations: 0.703 MB / 309.8 MB, free: 4.98 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.176e-05/0.02, allocations: 129.6 kB / 309.9 MB, free: 4.828 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0001503/0.02015, allocations: 75.28 kB / 310 MB, free: 4.754 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002089/0.02036, allocations: 155.2 kB / 310.2 MB, free: 4.602 MB / 298.7 MB Notification: Performance of SimCode: time 1.213e-06/0.02036, allocations: 0 / 310.2 MB, free: 4.602 MB / 298.7 MB Notification: Performance of Templates: time 0.01131/0.03167, allocations: 8.596 MB / 318.8 MB, free: 12.1 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Blocks.IntegerTable.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Blocks.IntegerTable.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Blocks.IntegerTable.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Blocks.IntegerTable.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Blocks.IntegerTable.sim & ./ModelicaTest_trunk_ModelicaTest.Blocks.IntegerTable -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Blocks.IntegerTable.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Blocks.IntegerTable_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Blocks/IntegerTable/IntegerTable.csv","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.1742548923939466]