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.001725/0.001725, 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 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.002103/0.002103, allocations: 210 kB / 24.48 MB, free: 3.938 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.559/1.559, allocations: 230.6 MB / 258.2 MB, free: 7.809 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.2323/0.2323, allocations: 46.96 MB / 361.6 MB, free: 4.051 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.002375/0.002375, allocations: 71.89 kB / 0.4973 GB, free: 7.246 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3386/0.3409, allocations: 66.04 MB / 0.5618 GB, free: 4.203 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.IntegerTable): time 0.00433/0.3453, allocations: 2.199 MB / 0.564 GB, free: 1.988 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.003554/0.3488, allocations: 1.622 MB / 0.5655 GB, free: 372 kB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000383/0.3492, allocations: 11.94 kB / 0.5656 GB, free: 360 kB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005887/0.3498, allocations: 143.2 kB / 0.5657 GB, free: 216 kB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009743/0.3508, allocations: 294.7 kB / 0.566 GB, free: 15.92 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001621/0.3524, allocations: 0.5405 MB / 0.5665 GB, free: 15.39 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.000859/0.3532, allocations: 0.5765 MB / 0.5671 GB, free: 14.81 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001902/0.3534, allocations: 49.25 kB / 0.5671 GB, free: 14.75 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004306/0.3539, allocations: 239 kB / 0.5673 GB, free: 14.52 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004175/0.3543, allocations: 235 kB / 0.5676 GB, free: 14.29 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 8.737e-05/0.3544, allocations: 28 kB / 0.5676 GB, free: 14.26 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004369/0.3548, allocations: 191.8 kB / 0.5678 GB, free: 14.07 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001967/0.355, allocations: 135.5 kB / 0.5679 GB, free: 13.94 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002621/0.3553, allocations: 154.9 kB / 0.568 GB, free: 13.79 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009275/0.3562, allocations: 0.6015 MB / 0.5686 GB, free: 13.19 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.02e-05/0.3562, allocations: 3.984 kB / 0.5686 GB, free: 13.19 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.054e-06/0.3562, allocations: 3.938 kB / 0.5686 GB, free: 13.18 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.886e-05/0.3562, allocations: 0 / 0.5686 GB, free: 13.18 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.001642/0.3579, allocations: 0.8496 MB / 0.5695 GB, free: 12.27 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.31e-05/0.3579, allocations: 12.03 kB / 0.5695 GB, free: 12.26 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001563/0.3581, allocations: 60.56 kB / 0.5695 GB, free: 12.2 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008752/0.3589, allocations: 417.1 kB / 0.5699 GB, free: 11.77 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.039e-05/0.359, allocations: 12.61 kB / 0.5699 GB, free: 11.76 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.654e-05/0.359, allocations: 20.12 kB / 0.57 GB, free: 11.74 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006226/0.3596, allocations: 348.5 kB / 0.5703 GB, free: 11.35 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.151e-05/0.3596, allocations: 0 / 0.5703 GB, free: 11.35 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.555e-05/0.3597, allocations: 4 kB / 0.5703 GB, free: 11.34 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.2e-06/0.3597, allocations: 0 / 0.5703 GB, free: 11.34 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003314/0.36, allocations: 123.9 kB / 0.5704 GB, free: 11.22 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001251/0.3613, allocations: 0.7896 MB / 0.5712 GB, free: 10.39 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007153/0.362, allocations: 290.5 kB / 0.5715 GB, free: 10.07 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002595/0.3622, allocations: 107.4 kB / 0.5716 GB, free: 9.953 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.459e-05/0.3623, allocations: 8 kB / 0.5716 GB, free: 9.945 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004694/0.3627, allocations: 222.6 kB / 0.5718 GB, free: 9.703 MB / 414.1 MB Notification: Performance of pre-optimization done (n=24): time 1.803e-06/0.3627, allocations: 0 / 0.5718 GB, free: 9.703 MB / 414.1 MB Notification: Performance of matching and sorting (n=24): time 0.001102/0.3638, allocations: 429.9 kB / 0.5722 GB, free: 9.277 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001614/0.364, allocations: 243.2 kB / 0.5724 GB, free: 8.984 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009649/0.365, allocations: 0.6747 MB / 0.5731 GB, free: 8.297 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 4.178e-05/0.365, allocations: 33.7 kB / 0.5731 GB, free: 8.258 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002308/0.3652, allocations: 244.4 kB / 0.5734 GB, free: 8.016 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.086e-05/0.3653, allocations: 71.55 kB / 0.5734 GB, free: 7.945 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001234/0.3654, allocations: 65.67 kB / 0.5735 GB, free: 7.875 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.000219/0.3657, allocations: 362.8 kB / 0.5738 GB, free: 7.512 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002481/0.3659, allocations: 91.94 kB / 0.5739 GB, free: 7.422 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004934/0.3664, allocations: 428.3 kB / 0.5743 GB, free: 6.906 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005788/0.367, allocations: 238.7 kB / 0.5746 GB, free: 6.648 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.437e-06/0.367, allocations: 0 / 0.5746 GB, free: 6.648 MB / 414.1 MB Notification: Performance of matching and sorting (n=32) (initialization): time 0.000765/0.3678, allocations: 333.2 kB / 0.5749 GB, free: 6.316 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.332e-05/0.3678, allocations: 7.984 kB / 0.5749 GB, free: 6.309 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.397e-06/0.3678, allocations: 4 kB / 0.5749 GB, free: 6.305 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.826e-05/0.3678, allocations: 128 / 0.5749 GB, free: 6.305 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002769/0.3681, allocations: 63.91 kB / 0.575 GB, free: 6.242 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.536e-05/0.3681, allocations: 7.938 kB / 0.575 GB, free: 6.234 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002206/0.3683, allocations: 23.88 kB / 0.575 GB, free: 6.211 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.203e-05/0.3683, allocations: 16 kB / 0.575 GB, free: 6.195 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.000279/0.3686, allocations: 221.8 kB / 0.5752 GB, free: 5.969 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001053/0.3687, allocations: 59.62 kB / 0.5753 GB, free: 5.91 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008592/0.3696, allocations: 373.6 kB / 0.5756 GB, free: 5.531 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.162e-06/0.3696, allocations: 4 kB / 0.5756 GB, free: 5.527 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.061e-05/0.3696, allocations: 7.938 kB / 0.5756 GB, free: 5.52 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.54e-06/0.3696, allocations: 0 / 0.5756 GB, free: 5.52 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004408/0.3701, allocations: 325 kB / 0.5759 GB, free: 5.172 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.236e-06/0.3701, allocations: 0 / 0.5759 GB, free: 5.172 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001417/0.3702, allocations: 32.17 kB / 0.576 GB, free: 5.141 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.805e-06/0.3702, allocations: 4 kB / 0.576 GB, free: 5.137 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.784e-05/0.3702, allocations: 15.98 kB / 0.576 GB, free: 5.121 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.896e-06/0.3702, allocations: 320 / 0.576 GB, free: 5.121 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.523e-06/0.3702, allocations: 8 kB / 0.576 GB, free: 5.113 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007741/0.371, allocations: 403 kB / 0.5764 GB, free: 4.691 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001319/0.3712, allocations: 59.59 kB / 0.5764 GB, free: 4.633 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.94e-05/0.3712, allocations: 12 kB / 0.5765 GB, free: 4.621 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001712/0.3714, allocations: 11.98 kB / 0.5765 GB, free: 4.609 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000112/0.3715, allocations: 47.81 kB / 0.5765 GB, free: 4.562 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.484e-05/0.3716, allocations: 16 kB / 0.5765 GB, free: 4.547 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0006546/0.3722, allocations: 498.8 kB / 0.577 GB, free: 4.062 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3722, allocations: 0 / 0.577 GB, free: 4.062 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0004779/0.3727, allocations: 107.8 kB / 0.5771 GB, free: 3.957 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.001832/0.3745, allocations: 484.6 kB / 0.5776 GB, free: 3.664 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.000688/0.3752, allocations: 236.7 kB / 0.5778 GB, free: 3.434 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 6.953e-06/0.3752, allocations: 4 kB / 0.5778 GB, free: 3.43 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003189/0.3755, allocations: 124 kB / 0.5779 GB, free: 3.309 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007374/0.3763, allocations: 155.9 kB / 0.5781 GB, free: 3.172 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001658/0.3779, allocations: 0.8898 MB / 0.5789 GB, free: 2.238 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000317/0.3783, allocations: 254.1 kB / 0.5792 GB, free: 1.957 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001504/0.3784, allocations: 47.42 kB / 0.5792 GB, free: 1.91 MB / 414.1 MB Notification: Performance of SimCode: time 4.21e-07/0.3784, allocations: 3.938 kB / 0.5792 GB, free: 1.906 MB / 414.1 MB Notification: Performance of Templates: time 0.01386/0.3923, allocations: 7.468 MB / 0.5865 GB, free: 10.45 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 -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: 8.852970183826983]