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.001347/0.001347, allocations: 103.6 kB / 21.18 MB, free: 0.6445 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.001478/0.001478, allocations: 209.9 kB / 24.48 MB, free: 3.934 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.484/1.484, allocations: 230.5 MB / 258.1 MB, free: 7.785 MB / 206.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.2522/0.2522, allocations: 46.95 MB / 361.5 MB, free: 3.918 MB / 286.1 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 0.002506/0.002506, allocations: 79.88 kB / 0.4974 GB, free: 7.055 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3226/0.3251, allocations: 66.08 MB / 0.5619 GB, free: 3.945 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.IntegerTable): time 0.003945/0.3291, allocations: 2.199 MB / 0.564 GB, free: 1.734 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002892/0.332, allocations: 1.624 MB / 0.5656 GB, free: 108 kB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001523/0.3321, allocations: 7.938 kB / 0.5656 GB, free: 100 kB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004478/0.3326, allocations: 151.4 kB / 0.5658 GB, free: 15.95 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00061/0.3332, allocations: 290.7 kB / 0.5661 GB, free: 15.66 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001279/0.3344, allocations: 0.5426 MB / 0.5666 GB, free: 15.12 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006484/0.3351, allocations: 0.5725 MB / 0.5672 GB, free: 14.55 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001545/0.3353, allocations: 49.23 kB / 0.5672 GB, free: 14.5 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002921/0.3355, allocations: 235 kB / 0.5674 GB, free: 14.27 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003068/0.3359, allocations: 234.9 kB / 0.5676 GB, free: 14.04 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 5.467e-05/0.3359, allocations: 28 kB / 0.5677 GB, free: 14.01 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003838/0.3363, allocations: 191.8 kB / 0.5679 GB, free: 13.82 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001622/0.3365, allocations: 139.5 kB / 0.568 GB, free: 13.69 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001734/0.3366, allocations: 155 kB / 0.5681 GB, free: 13.54 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007129/0.3373, allocations: 0.6093 MB / 0.5687 GB, free: 12.93 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.697e-06/0.3373, allocations: 0 / 0.5687 GB, free: 12.93 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.492e-06/0.3373, allocations: 0 / 0.5687 GB, free: 12.93 MB / 414.1 MB Notification: Performance of Transformations before backend: time 7.494e-06/0.3374, allocations: 0 / 0.5687 GB, free: 12.93 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.001376/0.3387, allocations: 0.8496 MB / 0.5696 GB, free: 12.02 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.696e-05/0.3388, allocations: 8.031 kB / 0.5696 GB, free: 12.01 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001309/0.3389, allocations: 64.55 kB / 0.5696 GB, free: 11.95 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007608/0.3397, allocations: 421.1 kB / 0.57 GB, free: 11.52 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.809e-05/0.3397, allocations: 12.61 kB / 0.57 GB, free: 11.5 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.431e-05/0.3397, allocations: 16.36 kB / 0.5701 GB, free: 11.49 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005469/0.3403, allocations: 348.8 kB / 0.5704 GB, free: 11.09 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.066e-05/0.3403, allocations: 4 kB / 0.5704 GB, free: 11.09 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.493e-05/0.3403, allocations: 4 kB / 0.5704 GB, free: 11.09 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.923e-06/0.3403, allocations: 4 kB / 0.5704 GB, free: 11.08 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003219/0.3406, allocations: 123.8 kB / 0.5705 GB, free: 10.96 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001128/0.3418, allocations: 0.7858 MB / 0.5713 GB, free: 10.13 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006941/0.3425, allocations: 302.6 kB / 0.5716 GB, free: 9.801 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002479/0.3427, allocations: 107.4 kB / 0.5717 GB, free: 9.684 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.088e-05/0.3427, allocations: 7.922 kB / 0.5717 GB, free: 9.676 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004272/0.3432, allocations: 222.5 kB / 0.5719 GB, free: 9.434 MB / 414.1 MB Notification: Performance of pre-optimization done (n=24): time 1.422e-06/0.3432, allocations: 7.938 kB / 0.5719 GB, free: 9.426 MB / 414.1 MB Notification: Performance of matching and sorting (n=24): time 0.001015/0.3442, allocations: 417.1 kB / 0.5723 GB, free: 9.012 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001448/0.3443, allocations: 243.3 kB / 0.5725 GB, free: 8.719 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008422/0.3452, allocations: 0.6747 MB / 0.5732 GB, free: 8.031 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 4.016e-05/0.3452, allocations: 37.69 kB / 0.5732 GB, free: 7.988 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002079/0.3454, allocations: 232.5 kB / 0.5735 GB, free: 7.758 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.283e-05/0.3455, allocations: 71.47 kB / 0.5735 GB, free: 7.688 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001041/0.3456, allocations: 61.69 kB / 0.5736 GB, free: 7.621 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001977/0.3458, allocations: 370.7 kB / 0.5739 GB, free: 7.25 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002297/0.346, allocations: 87.94 kB / 0.574 GB, free: 7.164 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004472/0.3465, allocations: 427.8 kB / 0.5744 GB, free: 6.648 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005044/0.347, allocations: 255.6 kB / 0.5747 GB, free: 6.375 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.066e-06/0.347, allocations: 3.938 kB / 0.5747 GB, free: 6.371 MB / 414.1 MB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0006902/0.3477, allocations: 329 kB / 0.575 GB, free: 6.043 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.825e-05/0.3477, allocations: 10.03 kB / 0.575 GB, free: 6.035 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.791e-06/0.3477, allocations: 0 / 0.575 GB, free: 6.035 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.668e-05/0.3477, allocations: 4 kB / 0.575 GB, free: 6.031 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002723/0.348, allocations: 56.03 kB / 0.5751 GB, free: 5.977 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.148e-06/0.348, allocations: 8 kB / 0.5751 GB, free: 5.969 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002011/0.3482, allocations: 31.81 kB / 0.5751 GB, free: 5.938 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.407e-05/0.3482, allocations: 11.98 kB / 0.5751 GB, free: 5.926 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.0002654/0.3485, allocations: 218 kB / 0.5753 GB, free: 5.703 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.117e-05/0.3486, allocations: 59.61 kB / 0.5754 GB, free: 5.645 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008298/0.3494, allocations: 377.7 kB / 0.5757 GB, free: 5.262 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.231e-06/0.3494, allocations: 8 kB / 0.5757 GB, free: 5.254 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.708e-06/0.3494, allocations: 0 / 0.5757 GB, free: 5.254 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.038e-05/0.3494, allocations: 11.92 kB / 0.5758 GB, free: 5.242 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003902/0.3498, allocations: 317 kB / 0.5761 GB, free: 4.902 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.925e-06/0.3498, allocations: 0 / 0.5761 GB, free: 4.902 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000153/0.35, allocations: 39.91 kB / 0.5761 GB, free: 4.863 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.567e-06/0.35, allocations: 0 / 0.5761 GB, free: 4.863 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.628e-05/0.35, allocations: 12 kB / 0.5761 GB, free: 4.852 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.238e-06/0.35, allocations: 3.984 kB / 0.5761 GB, free: 4.848 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.693e-06/0.35, allocations: 0 / 0.5761 GB, free: 4.848 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007486/0.3507, allocations: 399.1 kB / 0.5765 GB, free: 4.43 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001139/0.3509, allocations: 59.59 kB / 0.5765 GB, free: 4.371 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.951e-05/0.3509, allocations: 8 kB / 0.5766 GB, free: 4.363 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000177/0.3511, allocations: 19.92 kB / 0.5766 GB, free: 4.344 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001043/0.3512, allocations: 43.88 kB / 0.5766 GB, free: 4.301 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.759e-05/0.3512, allocations: 15.98 kB / 0.5766 GB, free: 4.285 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0006281/0.3519, allocations: 494.8 kB / 0.5771 GB, free: 3.805 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3519, allocations: 0 / 0.5771 GB, free: 3.805 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0004412/0.3523, allocations: 107.8 kB / 0.5772 GB, free: 3.699 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.001814/0.3541, allocations: 484.1 kB / 0.5777 GB, free: 3.367 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0006272/0.3548, allocations: 231.7 kB / 0.5779 GB, free: 3.141 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.477e-06/0.3548, allocations: 0 / 0.5779 GB, free: 3.141 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000314/0.3551, allocations: 123.9 kB / 0.578 GB, free: 3.02 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007141/0.3558, allocations: 168.1 kB / 0.5782 GB, free: 2.867 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001467/0.3573, allocations: 0.8742 MB / 0.579 GB, free: 1.949 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002919/0.3575, allocations: 250.1 kB / 0.5793 GB, free: 1.672 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001368/0.3577, allocations: 55.41 kB / 0.5793 GB, free: 1.617 MB / 414.1 MB Notification: Performance of SimCode: time 3.91e-07/0.3577, allocations: 0 / 0.5793 GB, free: 1.617 MB / 414.1 MB Notification: Performance of Templates: time 0.01267/0.3704, allocations: 7.47 MB / 0.5866 GB, free: 10.16 MB / 430.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/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_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: 9.068684691097587]