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.001929/0.001929, allocations: 85.34 kB / 20.68 MB, free: 1.035 MB / 14.72 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.002371/0.002371, allocations: 158.6 kB / 23.95 MB, free: 4.168 MB / 14.72 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.529/1.529, allocations: 177 MB / 204.1 MB, free: 9.172 MB / 190.1 MB " [Timeout remaining time 178] 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.276/0.276, allocations: 34.25 MB / 294.8 MB, free: 14.55 MB / 286.1 MB " [Timeout remaining time 179] 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 2.495e-06/2.495e-06, allocations: 0 / 442.6 MB, free: 5.336 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.125e-05/3.374e-05, allocations: 2.281 kB / 442.6 MB, free: 5.332 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.IntegerTable): time 0.004075/0.004109, allocations: 2.223 MB / 444.9 MB, free: 3.094 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.003049/0.007158, allocations: 1.621 MB / 446.5 MB, free: 1.465 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001827/0.007341, allocations: 7.938 kB / 446.5 MB, free: 1.457 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000611/0.007952, allocations: 139.2 kB / 446.6 MB, free: 1.32 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007964/0.008748, allocations: 306.6 kB / 446.9 MB, free: 1.02 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001621/0.01037, allocations: 0.5409 MB / 447.5 MB, free: 496 kB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.2658/0.2762, allocations: 0.5816 MB / 448 MB, free: 15.46 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002978/0.2765, allocations: 44.73 kB / 448.1 MB, free: 15.45 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006097/0.2771, allocations: 310.5 kB / 448.4 MB, free: 15.45 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003429/0.2774, allocations: 205.4 kB / 448.6 MB, free: 15.45 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 6.46e-05/0.2775, allocations: 27.78 kB / 448.6 MB, free: 15.45 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005303/0.278, allocations: 192 kB / 448.8 MB, free: 15.45 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001758/0.2782, allocations: 139.5 kB / 448.9 MB, free: 15.43 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001464/0.2784, allocations: 111 kB / 449 MB, free: 15.41 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008753/0.2792, allocations: 0.6172 MB / 449.7 MB, free: 15.37 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.961e-06/0.2792, allocations: 6.203 kB / 449.7 MB, free: 15.36 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.743e-06/0.2792, allocations: 0 / 449.7 MB, free: 15.36 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.539e-05/0.2793, allocations: 0 / 449.7 MB, free: 15.36 MB / 366.1 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.001257/0.2805, allocations: 0.8569 MB / 450.5 MB, free: 14.73 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.902e-05/0.2806, allocations: 9.531 kB / 450.5 MB, free: 14.73 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001126/0.2807, allocations: 55.92 kB / 450.6 MB, free: 14.71 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000682/0.2814, allocations: 415.6 kB / 451 MB, free: 14.5 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.592e-05/0.2814, allocations: 12.17 kB / 451 MB, free: 14.5 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.963e-05/0.2814, allocations: 13.81 kB / 451 MB, free: 14.5 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004715/0.2819, allocations: 340.8 kB / 451.4 MB, free: 14.28 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.205e-05/0.2819, allocations: 3.641 kB / 451.4 MB, free: 14.28 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.788e-05/0.2819, allocations: 7.359 kB / 451.4 MB, free: 14.28 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.206e-06/0.2819, allocations: 7.531 kB / 451.4 MB, free: 14.27 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003214/0.2823, allocations: 121 kB / 451.5 MB, free: 14.27 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001024/0.2833, allocations: 0.7871 MB / 452.3 MB, free: 13.82 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007311/0.284, allocations: 301.6 kB / 452.6 MB, free: 13.72 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002302/0.2843, allocations: 103.3 kB / 452.7 MB, free: 13.69 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.841e-05/0.2843, allocations: 5.875 kB / 452.7 MB, free: 13.69 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004339/0.2847, allocations: 221.4 kB / 452.9 MB, free: 13.61 MB / 366.1 MB Notification: Performance of pre-optimization done (n=24): time 1.693e-06/0.2847, allocations: 0 / 452.9 MB, free: 13.61 MB / 366.1 MB Notification: Performance of matching and sorting (n=24): time 0.001102/0.2858, allocations: 426.6 kB / 453.3 MB, free: 13.55 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.573e-05/0.2859, allocations: 240.5 kB / 453.5 MB, free: 13.27 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000978/0.2869, allocations: 0.674 MB / 454.2 MB, free: 13.04 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.559e-05/0.2869, allocations: 34.75 kB / 454.3 MB, free: 13 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002143/0.2871, allocations: 239.9 kB / 454.5 MB, free: 12.8 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.113e-05/0.2872, allocations: 68.28 kB / 454.6 MB, free: 12.76 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001076/0.2873, allocations: 57.97 kB / 454.6 MB, free: 12.73 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001404/0.2874, allocations: 373.1 kB / 455 MB, free: 12.39 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002393/0.2877, allocations: 92.42 kB / 455.1 MB, free: 12.36 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004245/0.2881, allocations: 435 kB / 455.5 MB, free: 11.94 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005202/0.2886, allocations: 245.5 kB / 455.7 MB, free: 11.8 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.481e-06/0.2886, allocations: 1.406 kB / 455.7 MB, free: 11.8 MB / 366.1 MB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0007367/0.2894, allocations: 331.4 kB / 456.1 MB, free: 11.66 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.398e-05/0.2894, allocations: 7.984 kB / 456.1 MB, free: 11.66 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.963e-06/0.2894, allocations: 1.188 kB / 456.1 MB, free: 11.66 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.426e-05/0.2894, allocations: 3.5 kB / 456.1 MB, free: 11.66 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002931/0.2897, allocations: 56.89 kB / 456.1 MB, free: 11.66 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.094e-05/0.2897, allocations: 6.766 kB / 456.1 MB, free: 11.66 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002186/0.2899, allocations: 31.34 kB / 456.2 MB, free: 11.64 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.254e-05/0.29, allocations: 15.17 kB / 456.2 MB, free: 11.64 MB / 366.1 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.0002565/0.2902, allocations: 224.8 kB / 456.4 MB, free: 11.48 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.414e-05/0.2903, allocations: 55.69 kB / 456.5 MB, free: 11.45 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009275/0.2913, allocations: 384.2 kB / 456.8 MB, free: 11.3 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.786e-06/0.2913, allocations: 4.734 kB / 456.8 MB, free: 11.3 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.173e-06/0.2913, allocations: 1.531 kB / 456.8 MB, free: 11.3 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.999e-06/0.2913, allocations: 2.797 kB / 456.8 MB, free: 11.3 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004609/0.2917, allocations: 324.9 kB / 457.2 MB, free: 11.11 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.854e-06/0.2917, allocations: 1.344 kB / 457.2 MB, free: 11.11 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001525/0.2919, allocations: 33.56 kB / 457.2 MB, free: 11.1 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.713e-06/0.2919, allocations: 3.391 kB / 457.2 MB, free: 11.1 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.826e-05/0.2919, allocations: 14.44 kB / 457.2 MB, free: 11.09 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.831e-06/0.2919, allocations: 5.688 kB / 457.2 MB, free: 11.09 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.397e-06/0.2919, allocations: 1.938 kB / 457.2 MB, free: 11.09 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007493/0.2927, allocations: 394.5 kB / 457.6 MB, free: 10.89 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.178e-05/0.2928, allocations: 62.12 kB / 457.7 MB, free: 10.86 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.845e-05/0.2929, allocations: 18.3 kB / 457.7 MB, free: 10.84 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001739/0.293, allocations: 15.27 kB / 457.7 MB, free: 10.84 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000127/0.2932, allocations: 45.39 kB / 457.7 MB, free: 10.83 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.189e-05/0.2932, allocations: 19.03 kB / 457.8 MB, free: 10.82 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0005989/0.2938, allocations: 496.8 kB / 458.2 MB, free: 10.62 MB / 366.1 MB Notification: Performance of sort global known variables: time 7.1e-08/0.2938, allocations: 0 / 458.2 MB, free: 10.62 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0005213/0.2943, allocations: 97.95 kB / 458.3 MB, free: 10.61 MB / 366.1 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.001833/0.2962, allocations: 491.3 kB / 458.8 MB, free: 10.4 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0006788/0.2968, allocations: 245.7 kB / 459.1 MB, free: 10.32 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.276e-06/0.2968, allocations: 1.125 kB / 459.1 MB, free: 10.32 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004227/0.2973, allocations: 175.7 kB / 459.2 MB, free: 10.28 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000823/0.2981, allocations: 147.7 kB / 459.4 MB, free: 10.23 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001552/0.2996, allocations: 0.8289 MB / 460.2 MB, free: 9.77 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003688/0.3, allocations: 251.2 kB / 460.4 MB, free: 9.66 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0002818/0.3003, allocations: 90.98 kB / 460.5 MB, free: 9.637 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001608/0.3004, allocations: 54.31 kB / 460.6 MB, free: 9.625 MB / 366.1 MB Notification: Performance of SimCode: time 4.11e-07/0.3005, allocations: 1.031 kB / 460.6 MB, free: 9.625 MB / 366.1 MB Notification: Performance of Templates: time 0.01888/0.3193, allocations: 7.948 MB / 468.5 MB, free: 7.633 MB / 366.1 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=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Blocks.IntegerTable.pipe 2>&1) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Blocks.IntegerTable.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 5.373269870877266]