Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Blocks.IntegerTable.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001292/0.001292, allocations: 107 kB / 21.18 MB, free: 0.6484 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001469/0.001469, allocations: 211.4 kB / 24.48 MB, free: 3.941 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.455/1.455, allocations: 230.6 MB / 258.2 MB, free: 7.793 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2281/0.2281, allocations: 46.96 MB / 361.6 MB, free: 4.059 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/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_4.1.0_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_4.1.0_ModelicaTest.Blocks.IntegerTable") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002061/0.002061, allocations: 71.89 kB / 0.4973 GB, free: 7.238 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3001/0.3021, allocations: 66.03 MB / 0.5618 GB, free: 4.195 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.IntegerTable): time 0.003858/0.306, allocations: 2.202 MB / 0.564 GB, free: 1.98 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.003016/0.309, allocations: 1.615 MB / 0.5655 GB, free: 368 kB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000156/0.3091, allocations: 7.938 kB / 0.5655 GB, free: 360 kB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004106/0.3096, allocations: 143.2 kB / 0.5657 GB, free: 216 kB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006432/0.3102, allocations: 298.8 kB / 0.566 GB, free: 15.91 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001317/0.3115, allocations: 0.5486 MB / 0.5665 GB, free: 15.38 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006457/0.3122, allocations: 0.5726 MB / 0.5671 GB, free: 14.8 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001519/0.3123, allocations: 49.25 kB / 0.5671 GB, free: 14.75 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002897/0.3126, allocations: 239 kB / 0.5673 GB, free: 14.51 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003002/0.3129, allocations: 247 kB / 0.5676 GB, free: 14.27 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 5.185e-05/0.313, allocations: 28 kB / 0.5676 GB, free: 14.24 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003601/0.3133, allocations: 195.7 kB / 0.5678 GB, free: 14.05 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001562/0.3135, allocations: 135.5 kB / 0.5679 GB, free: 13.92 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001698/0.3136, allocations: 162.9 kB / 0.5681 GB, free: 13.76 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007007/0.3143, allocations: 0.5976 MB / 0.5687 GB, free: 13.16 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.304e-06/0.3143, allocations: 11.94 kB / 0.5687 GB, free: 13.15 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.082e-06/0.3143, allocations: 4 kB / 0.5687 GB, free: 13.15 MB / 414.1 MB Notification: Performance of Transformations before backend: time 7.254e-06/0.3144, allocations: 0 / 0.5687 GB, free: 13.15 MB / 414.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.001357/0.3157, allocations: 0.8574 MB / 0.5695 GB, free: 12.23 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.622e-05/0.3157, allocations: 8.031 kB / 0.5695 GB, free: 12.22 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001112/0.3159, allocations: 56.56 kB / 0.5696 GB, free: 12.17 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007305/0.3166, allocations: 417.1 kB / 0.57 GB, free: 11.74 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.84e-05/0.3166, allocations: 12.59 kB / 0.57 GB, free: 11.73 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.047e-05/0.3167, allocations: 16.12 kB / 0.57 GB, free: 11.71 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005409/0.3172, allocations: 344.5 kB / 0.5703 GB, free: 11.32 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.032e-05/0.3172, allocations: 0 / 0.5703 GB, free: 11.32 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.024e-05/0.3172, allocations: 11.98 kB / 0.5703 GB, free: 11.31 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.034e-06/0.3172, allocations: 4 kB / 0.5703 GB, free: 11.3 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003302/0.3176, allocations: 115.9 kB / 0.5704 GB, free: 11.19 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001267/0.3188, allocations: 0.7857 MB / 0.5712 GB, free: 10.36 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007936/0.3196, allocations: 298.5 kB / 0.5715 GB, free: 10.04 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002601/0.3199, allocations: 111.4 kB / 0.5716 GB, free: 9.914 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.148e-05/0.3199, allocations: 4 kB / 0.5716 GB, free: 9.91 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004531/0.3204, allocations: 220.2 kB / 0.5718 GB, free: 9.672 MB / 414.1 MB Notification: Performance of pre-optimization done (n=24): time 1.453e-06/0.3204, allocations: 0 / 0.5718 GB, free: 9.672 MB / 414.1 MB Notification: Performance of matching and sorting (n=24): time 0.001051/0.3214, allocations: 429 kB / 0.5722 GB, free: 9.246 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001564/0.3216, allocations: 247.2 kB / 0.5725 GB, free: 8.949 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000851/0.3224, allocations: 0.6708 MB / 0.5731 GB, free: 8.266 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.771e-05/0.3225, allocations: 33.7 kB / 0.5732 GB, free: 8.227 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002269/0.3227, allocations: 240.4 kB / 0.5734 GB, free: 7.988 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.339e-05/0.3228, allocations: 67.55 kB / 0.5734 GB, free: 7.922 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001063/0.3229, allocations: 61.69 kB / 0.5735 GB, free: 7.855 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002133/0.3231, allocations: 370.8 kB / 0.5739 GB, free: 7.484 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002683/0.3234, allocations: 87.95 kB / 0.5739 GB, free: 7.398 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004713/0.3238, allocations: 432.3 kB / 0.5744 GB, free: 6.879 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005169/0.3243, allocations: 239.8 kB / 0.5746 GB, free: 6.621 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.208e-06/0.3244, allocations: 4 kB / 0.5746 GB, free: 6.617 MB / 414.1 MB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0006922/0.325, allocations: 333 kB / 0.5749 GB, free: 6.285 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.54e-05/0.3251, allocations: 4 kB / 0.5749 GB, free: 6.281 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.684e-06/0.3251, allocations: 4 kB / 0.5749 GB, free: 6.277 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.481e-05/0.3251, allocations: 4 kB / 0.5749 GB, free: 6.273 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002767/0.3254, allocations: 55.89 kB / 0.575 GB, free: 6.219 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.107e-06/0.3254, allocations: 7.938 kB / 0.575 GB, free: 6.211 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002146/0.3256, allocations: 31.88 kB / 0.575 GB, free: 6.18 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.199e-05/0.3256, allocations: 8 kB / 0.575 GB, free: 6.172 MB / 414.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.0002487/0.3259, allocations: 226.1 kB / 0.5752 GB, free: 5.941 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.34e-05/0.3259, allocations: 59.62 kB / 0.5753 GB, free: 5.883 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008908/0.3268, allocations: 381.6 kB / 0.5756 GB, free: 5.496 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.396e-06/0.3268, allocations: 4 kB / 0.5757 GB, free: 5.492 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.53e-06/0.3269, allocations: 3.938 kB / 0.5757 GB, free: 5.488 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.719e-06/0.3269, allocations: 0 / 0.5757 GB, free: 5.488 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003837/0.3272, allocations: 321 kB / 0.576 GB, free: 5.145 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.921e-05/0.3273, allocations: 11.98 kB / 0.576 GB, free: 5.133 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001558/0.3275, allocations: 31.92 kB / 0.576 GB, free: 5.102 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.815e-06/0.3275, allocations: 4 kB / 0.576 GB, free: 5.098 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.3e-05/0.3275, allocations: 7.984 kB / 0.576 GB, free: 5.09 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.248e-06/0.3275, allocations: 4 kB / 0.576 GB, free: 5.086 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.103e-06/0.3275, allocations: 0 / 0.576 GB, free: 5.086 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007477/0.3282, allocations: 399.1 kB / 0.5764 GB, free: 4.668 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001099/0.3283, allocations: 59.59 kB / 0.5765 GB, free: 4.609 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.892e-05/0.3284, allocations: 11.94 kB / 0.5765 GB, free: 4.598 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001868/0.3286, allocations: 23.97 kB / 0.5765 GB, free: 4.574 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.333e-05/0.3287, allocations: 43.89 kB / 0.5765 GB, free: 4.531 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.211e-05/0.3287, allocations: 11.98 kB / 0.5765 GB, free: 4.52 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0006015/0.3293, allocations: 498.8 kB / 0.577 GB, free: 4.035 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.3293, allocations: 4 kB / 0.577 GB, free: 4.031 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0004229/0.3297, allocations: 99.83 kB / 0.5771 GB, free: 3.934 MB / 414.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.001737/0.3315, allocations: 489.7 kB / 0.5776 GB, free: 3.633 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0005876/0.3321, allocations: 236.7 kB / 0.5778 GB, free: 3.402 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/0.3321, allocations: 0 / 0.5778 GB, free: 3.402 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004259/0.3325, allocations: 171.8 kB / 0.578 GB, free: 3.234 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006881/0.3332, allocations: 158.7 kB / 0.5781 GB, free: 3.098 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00138/0.3346, allocations: 0.8335 MB / 0.5789 GB, free: 2.227 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002747/0.3348, allocations: 258.2 kB / 0.5792 GB, free: 1.941 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0002188/0.3351, allocations: 87.3 kB / 0.5793 GB, free: 1.855 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001399/0.3352, allocations: 55.42 kB / 0.5793 GB, free: 1.801 MB / 414.1 MB Notification: Performance of SimCode: time 3.4e-07/0.3352, allocations: 0 / 0.5793 GB, free: 1.801 MB / 414.1 MB Notification: Performance of Templates: time 0.01546/0.3507, allocations: 8.404 MB / 0.5875 GB, free: 9.496 MB / 430.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Blocks.IntegerTable.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Blocks.IntegerTable.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Blocks.IntegerTable.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Blocks.IntegerTable.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Blocks.IntegerTable.sim & ./ModelicaTest_4.1.0_ModelicaTest.Blocks.IntegerTable -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Blocks.IntegerTable.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Blocks.IntegerTable_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Blocks/IntegerTable/IntegerTable.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_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.099672732001636]