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.00124/0.00124, allocations: 88.86 kB / 21.5 MB, free: 2.984 MB / 18.57 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.001206/0.001206, allocations: 162 kB / 24.91 MB, free: 8.766 MB / 18.57 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.112/1.112, allocations: 177 MB / 205.2 MB, free: 5.438 MB / 186.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.2679/0.2679, allocations: 34.87 MB / 296.6 MB, free: 0.5234 MB / 266.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 6.352e-06/6.352e-06, allocations: 7.984 kB / 325.9 MB, free: 7.137 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.355e-05/2.991e-05, allocations: 3.016 kB / 325.9 MB, free: 7.133 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.IntegerTable): time 0.004126/0.004156, allocations: 2.319 MB / 328.3 MB, free: 4.801 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.003196/0.007352, allocations: 1.693 MB / 330 MB, free: 3.102 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002289/0.007581, allocations: 8 kB / 330 MB, free: 3.094 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004377/0.008019, allocations: 135.2 kB / 330.1 MB, free: 2.961 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0007188/0.008738, allocations: 302.5 kB / 330.4 MB, free: 2.664 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001371/0.01011, allocations: 0.5222 MB / 330.9 MB, free: 2.141 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007581/0.01087, allocations: 0.5849 MB / 331.5 MB, free: 1.555 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000165/0.01103, allocations: 53.22 kB / 331.6 MB, free: 1.496 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005021/0.01153, allocations: 315.2 kB / 331.9 MB, free: 1.184 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003161/0.01185, allocations: 195.4 kB / 332.1 MB, free: 0.9922 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 6.88e-05/0.01192, allocations: 24 kB / 332.1 MB, free: 0.9688 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004573/0.01238, allocations: 207.6 kB / 332.3 MB, free: 0.7656 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001564/0.01253, allocations: 135.5 kB / 332.4 MB, free: 0.6328 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001687/0.0127, allocations: 111.6 kB / 332.5 MB, free: 0.5234 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0008236/0.01353, allocations: 462.3 kB / 333 MB, free: 72 kB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.953e-06/0.01353, allocations: 0 / 333 MB, free: 72 kB / 298.7 MB Notification: Performance of FrontEnd: time 1.573e-06/0.01353, allocations: 0 / 333 MB, free: 72 kB / 298.7 MB Notification: Performance of Transformations before backend: time 1.919e-05/0.01355, allocations: 0 / 333 MB, free: 72 kB / 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.001243/0.0148, allocations: 0.8067 MB / 333.8 MB, free: 15.21 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.316e-05/0.01484, allocations: 8.031 kB / 333.8 MB, free: 15.2 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001104/0.01495, allocations: 44.89 kB / 333.8 MB, free: 15.16 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005657/0.01552, allocations: 353.7 kB / 334.2 MB, free: 14.79 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.098e-05/0.01555, allocations: 12.61 kB / 334.2 MB, free: 14.77 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.556e-05/0.01557, allocations: 8.375 kB / 334.2 MB, free: 14.77 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003432/0.01591, allocations: 178.4 kB / 334.4 MB, free: 14.57 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.18e-05/0.01593, allocations: 4.188 kB / 334.4 MB, free: 14.57 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.012e-05/0.01595, allocations: 8.359 kB / 334.4 MB, free: 14.56 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.227e-06/0.01596, allocations: 7.938 kB / 334.4 MB, free: 14.55 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001541/0.01611, allocations: 59.2 kB / 334.5 MB, free: 14.49 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008369/0.01695, allocations: 0.5612 MB / 335 MB, free: 13.89 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003944/0.01734, allocations: 372.4 kB / 335.4 MB, free: 13.48 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.074e-05/0.01743, allocations: 55.42 kB / 335.4 MB, free: 13.42 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.941e-05/0.01745, allocations: 4 kB / 335.4 MB, free: 13.41 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002668/0.01772, allocations: 169.4 kB / 335.6 MB, free: 13.22 MB / 314.7 MB Notification: Performance of pre-optimization done (n=24): time 2.525e-06/0.01772, allocations: 0 / 335.6 MB, free: 13.22 MB / 314.7 MB Notification: Performance of matching and sorting (n=24): time 0.0004331/0.01815, allocations: 197.1 kB / 335.8 MB, free: 13.02 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.472e-05/0.01823, allocations: 136.5 kB / 335.9 MB, free: 12.86 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005591/0.01879, allocations: 496.8 kB / 336.4 MB, free: 12.36 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 3.727e-05/0.01882, allocations: 33.7 kB / 336.4 MB, free: 12.32 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001274/0.01895, allocations: 157.7 kB / 336.6 MB, free: 12.16 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000146/0.0191, allocations: 67.45 kB / 336.7 MB, free: 12.09 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001248/0.01922, allocations: 61.61 kB / 336.7 MB, free: 12.03 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001858/0.01941, allocations: 374.6 kB / 337.1 MB, free: 11.65 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001015/0.01951, allocations: 26.81 kB / 337.1 MB, free: 11.62 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002005/0.01971, allocations: 209.1 kB / 337.3 MB, free: 11.36 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002678/0.01998, allocations: 153.4 kB / 337.5 MB, free: 11.18 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.56e-06/0.01998, allocations: 3.938 kB / 337.5 MB, free: 11.18 MB / 314.7 MB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0002238/0.02021, allocations: 184.7 kB / 337.7 MB, free: 10.98 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.666e-05/0.02022, allocations: 8 kB / 337.7 MB, free: 10.98 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.36e-06/0.02023, allocations: 4.125 kB / 337.7 MB, free: 10.97 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.358e-05/0.02024, allocations: 4 kB / 337.7 MB, free: 10.97 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001579/0.0204, allocations: 55.89 kB / 337.7 MB, free: 10.91 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.468e-06/0.02041, allocations: 4 kB / 337.7 MB, free: 10.91 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.509e-05/0.0205, allocations: 27.88 kB / 337.8 MB, free: 10.88 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.32e-05/0.02051, allocations: 8 kB / 337.8 MB, free: 10.88 MB / 314.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.0001147/0.02063, allocations: 156.4 kB / 337.9 MB, free: 10.71 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.918e-05/0.02068, allocations: 39.97 kB / 338 MB, free: 10.67 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002505/0.02093, allocations: 197.8 kB / 338.1 MB, free: 10.47 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.488e-06/0.02093, allocations: 4 kB / 338.2 MB, free: 10.47 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.764e-06/0.02093, allocations: 0 / 338.2 MB, free: 10.47 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.338e-06/0.02094, allocations: 0 / 338.2 MB, free: 10.47 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002316/0.02117, allocations: 209.8 kB / 338.4 MB, free: 10.25 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.356e-06/0.02117, allocations: 4 kB / 338.4 MB, free: 10.24 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.482e-05/0.02126, allocations: 27.98 kB / 338.4 MB, free: 10.21 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.702e-06/0.02127, allocations: 7.938 kB / 338.4 MB, free: 10.21 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.64e-05/0.02128, allocations: 11.98 kB / 338.4 MB, free: 10.2 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.314e-06/0.02128, allocations: 4 kB / 338.4 MB, free: 10.19 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.554e-06/0.02129, allocations: 4.25 kB / 338.4 MB, free: 10.19 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002164/0.0215, allocations: 217.7 kB / 338.6 MB, free: 9.941 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.575e-05/0.02156, allocations: 63.48 kB / 338.7 MB, free: 9.879 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.833e-05/0.0216, allocations: 11.98 kB / 338.7 MB, free: 9.867 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.022e-05/0.02167, allocations: 11.98 kB / 338.7 MB, free: 9.855 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.655e-05/0.02174, allocations: 35.95 kB / 338.7 MB, free: 9.82 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.307e-05/0.02177, allocations: 19.92 kB / 338.8 MB, free: 9.801 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0002038/0.02197, allocations: 243.1 kB / 339 MB, free: 9.562 MB / 314.7 MB Notification: Performance of sort global known variables: time 7e-08/0.02197, allocations: 4 kB / 339 MB, free: 9.559 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0003006/0.02227, allocations: 87.94 kB / 339.1 MB, free: 9.473 MB / 314.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.001283/0.02355, allocations: 0.5424 MB / 339.6 MB, free: 9.172 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0002071/0.02376, allocations: 128.6 kB / 339.8 MB, free: 9.043 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.036e-05/0.02377, allocations: 4 kB / 339.8 MB, free: 9.039 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001046/0.02388, allocations: 84.98 kB / 339.8 MB, free: 8.953 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003638/0.02424, allocations: 170.5 kB / 340 MB, free: 8.801 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007783/0.02502, allocations: 0.6953 MB / 340.7 MB, free: 8.059 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.234e-05/0.0251, allocations: 133.6 kB / 340.8 MB, free: 7.906 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0001475/0.02525, allocations: 71.3 kB / 340.9 MB, free: 7.836 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002062/0.02545, allocations: 147.3 kB / 341.1 MB, free: 7.691 MB / 314.7 MB Notification: Performance of SimCode: time 1.042e-06/0.02546, allocations: 0 / 341.1 MB, free: 7.691 MB / 314.7 MB Notification: Performance of Templates: time 0.01043/0.03589, allocations: 8.332 MB / 349.4 MB, free: 15.46 MB / 330.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 -s gbode -gbm=radauIIA3 -emit_protected -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,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.3204222009517252]