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.0008887/0.0008887, allocations: 79.69 kB / 21.7 MB, free: 2.852 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.0008837/0.0008837, allocations: 168.4 kB / 24.99 MB, free: 8.801 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 0.9004/0.9004, allocations: 177 MB / 205.2 MB, free: 5.574 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.2364/0.2364, allocations: 34.86 MB / 296.6 MB, free: 0.5586 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 1.042e-06/1.042e-06, allocations: 0 / 378.7 MB, free: 2.426 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.732e-05/1.837e-05, allocations: 2.312 kB / 378.7 MB, free: 2.422 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.IntegerTable): time 0.002527/0.002545, allocations: 2.302 MB / 381 MB, free: 100 kB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001817/0.004363, allocations: 1.661 MB / 382.7 MB, free: 14.43 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001174/0.00448, allocations: 7.938 kB / 382.7 MB, free: 14.42 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003318/0.004812, allocations: 147.2 kB / 382.9 MB, free: 14.28 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000411/0.005223, allocations: 298.6 kB / 383.1 MB, free: 13.98 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006786/0.005902, allocations: 0.5299 MB / 383.7 MB, free: 13.45 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004064/0.006308, allocations: 0.5919 MB / 384.3 MB, free: 12.86 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001162/0.006424, allocations: 41.27 kB / 384.3 MB, free: 12.82 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002648/0.006689, allocations: 315.1 kB / 384.6 MB, free: 12.51 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001811/0.00687, allocations: 203.4 kB / 384.8 MB, free: 12.31 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 3.61e-05/0.006906, allocations: 28 kB / 384.8 MB, free: 12.28 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002154/0.007122, allocations: 191.7 kB / 385 MB, free: 12.09 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001069/0.007228, allocations: 131.5 kB / 385.2 MB, free: 11.96 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 9.375e-05/0.007322, allocations: 123.5 kB / 385.3 MB, free: 11.84 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000419/0.007741, allocations: 466.3 kB / 385.7 MB, free: 11.39 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.894e-06/0.007743, allocations: 4 kB / 385.7 MB, free: 11.38 MB / 362.7 MB Notification: Performance of FrontEnd: time 7.91e-07/0.007744, allocations: 0 / 385.7 MB, free: 11.38 MB / 362.7 MB Notification: Performance of Transformations before backend: time 4.839e-06/0.007749, allocations: 0 / 385.7 MB, free: 11.38 MB / 362.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.0007692/0.008518, allocations: 0.9535 MB / 386.7 MB, free: 10.37 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.154e-05/0.008549, allocations: 12.03 kB / 386.7 MB, free: 10.36 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.229e-05/0.008642, allocations: 72.55 kB / 386.8 MB, free: 10.29 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003827/0.009024, allocations: 395.2 kB / 387.2 MB, free: 9.867 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.296e-05/0.009047, allocations: 12.61 kB / 387.2 MB, free: 9.855 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.086e-05/0.009068, allocations: 20.38 kB / 387.2 MB, free: 9.836 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002959/0.009364, allocations: 340.4 kB / 387.5 MB, free: 9.438 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.065e-06/0.009372, allocations: 192 / 387.5 MB, free: 9.438 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.748e-05/0.00939, allocations: 8.375 kB / 387.5 MB, free: 9.43 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.486e-06/0.009398, allocations: 3.938 kB / 387.5 MB, free: 9.426 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001225/0.009521, allocations: 67.88 kB / 387.6 MB, free: 9.359 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006583/0.01018, allocations: 0.9376 MB / 388.5 MB, free: 8.371 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000273/0.01045, allocations: 232.5 kB / 388.8 MB, free: 8.094 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001262/0.01058, allocations: 74.72 kB / 388.8 MB, free: 8.004 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.349e-05/0.0106, allocations: 15.92 kB / 388.9 MB, free: 7.988 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002506/0.01085, allocations: 205.2 kB / 389.1 MB, free: 7.758 MB / 362.7 MB Notification: Performance of pre-optimization done (n=24): time 1.212e-06/0.01085, allocations: 0 / 389.1 MB, free: 7.758 MB / 362.7 MB Notification: Performance of matching and sorting (n=24): time 0.0004265/0.01128, allocations: 294.1 kB / 389.3 MB, free: 7.465 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.633e-05/0.01136, allocations: 243.2 kB / 389.6 MB, free: 7.172 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004339/0.01179, allocations: 0.5728 MB / 390.1 MB, free: 6.582 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.394e-05/0.01181, allocations: 33.7 kB / 390.2 MB, free: 6.543 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001457/0.01196, allocations: 283.3 kB / 390.5 MB, free: 6.262 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.027e-05/0.01201, allocations: 75.53 kB / 390.5 MB, free: 6.188 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.653e-05/0.01208, allocations: 75.33 kB / 390.6 MB, free: 6.105 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001473/0.01222, allocations: 0.5469 MB / 391.2 MB, free: 5.547 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.957e-05/0.01229, allocations: 35.97 kB / 391.2 MB, free: 5.512 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001879/0.01248, allocations: 396.6 kB / 391.6 MB, free: 5.008 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000185/0.01267, allocations: 177.5 kB / 391.7 MB, free: 4.801 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.934e-06/0.01267, allocations: 7.938 kB / 391.8 MB, free: 4.793 MB / 362.7 MB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0002777/0.01295, allocations: 253.3 kB / 392 MB, free: 4.539 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.121e-05/0.01296, allocations: 4 kB / 392 MB, free: 4.535 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.471e-06/0.01296, allocations: 4 kB / 392 MB, free: 4.531 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.251e-05/0.01298, allocations: 4 kB / 392 MB, free: 4.527 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001425/0.01312, allocations: 55.91 kB / 392.1 MB, free: 4.473 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.181e-06/0.01312, allocations: 4 kB / 392.1 MB, free: 4.469 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.892e-05/0.01322, allocations: 31.95 kB / 392.1 MB, free: 4.438 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.458e-05/0.01324, allocations: 16 kB / 392.1 MB, free: 4.422 MB / 362.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.0001118/0.01335, allocations: 188.4 kB / 392.3 MB, free: 4.227 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.873e-05/0.01341, allocations: 63.67 kB / 392.4 MB, free: 4.164 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003466/0.01375, allocations: 293.8 kB / 392.7 MB, free: 3.871 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.306e-06/0.01376, allocations: 4 kB / 392.7 MB, free: 3.867 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.046e-06/0.01376, allocations: 0 / 392.7 MB, free: 3.867 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.108e-06/0.01377, allocations: 4 kB / 392.7 MB, free: 3.863 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002426/0.01401, allocations: 336.2 kB / 393 MB, free: 3.5 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.583e-06/0.01401, allocations: 0 / 393 MB, free: 3.5 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.001e-05/0.01408, allocations: 31.92 kB / 393 MB, free: 3.469 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.887e-06/0.01408, allocations: 4 kB / 393 MB, free: 3.465 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.579e-05/0.0141, allocations: 11.98 kB / 393 MB, free: 3.453 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.393e-06/0.0141, allocations: 0 / 393 MB, free: 3.453 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.784e-06/0.0141, allocations: 4 kB / 393 MB, free: 3.449 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003171/0.01442, allocations: 342.9 kB / 393.4 MB, free: 3.078 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.481e-05/0.01448, allocations: 67.59 kB / 393.4 MB, free: 3.012 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.932e-05/0.01452, allocations: 8 kB / 393.4 MB, free: 3.004 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.493e-05/0.0146, allocations: 15.98 kB / 393.5 MB, free: 2.988 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.381e-05/0.01467, allocations: 43.94 kB / 393.5 MB, free: 2.945 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.19e-05/0.01469, allocations: 16 kB / 393.5 MB, free: 2.93 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0002674/0.01496, allocations: 378.8 kB / 393.9 MB, free: 2.562 MB / 362.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01496, allocations: 0 / 393.9 MB, free: 2.562 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002535/0.01522, allocations: 99.86 kB / 394 MB, free: 2.465 MB / 362.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.0008354/0.01605, allocations: 453.5 kB / 394.4 MB, free: 2.129 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0002413/0.01629, allocations: 147.5 kB / 394.6 MB, free: 1.98 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.805e-06/0.01629, allocations: 8.25 kB / 394.6 MB, free: 1.973 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001212/0.01642, allocations: 103.5 kB / 394.7 MB, free: 1.867 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003864/0.0168, allocations: 163.2 kB / 394.8 MB, free: 1.719 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007137/0.01752, allocations: 0.7073 MB / 395.6 MB, free: 0.9648 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.086e-05/0.0176, allocations: 129.6 kB / 395.7 MB, free: 0.8164 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001346/0.01773, allocations: 79.27 kB / 395.8 MB, free: 0.7383 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.819e-05/0.01782, allocations: 56.48 kB / 395.8 MB, free: 0.6836 MB / 362.7 MB Notification: Performance of SimCode: time 4.61e-07/0.01782, allocations: 4 kB / 395.8 MB, free: 0.6797 MB / 362.7 MB Notification: Performance of Templates: time 0.009422/0.02724, allocations: 7.995 MB / 403.8 MB, free: 8.773 MB / 378.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 -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.054723053937778]