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.001245/0.001245, allocations: 107.6 kB / 21.19 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.001342/0.001342, allocations: 211.4 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.493/1.493, allocations: 230.6 MB / 258.3 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.2332/0.2332, allocations: 46.97 MB / 361.6 MB, free: 4.016 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.002028/0.002028, allocations: 71.88 kB / 0.4973 GB, free: 7.207 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3653/0.3674, allocations: 66.04 MB / 0.5618 GB, free: 4.16 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.IntegerTable): time 0.003919/0.3713, allocations: 2.195 MB / 0.564 GB, free: 1.949 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002986/0.3743, allocations: 1.622 MB / 0.5655 GB, free: 332 kB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001587/0.3744, allocations: 7.938 kB / 0.5655 GB, free: 324 kB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004443/0.3749, allocations: 143.2 kB / 0.5657 GB, free: 180 kB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006462/0.3755, allocations: 294.7 kB / 0.566 GB, free: 15.89 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001348/0.3769, allocations: 0.5482 MB / 0.5665 GB, free: 15.35 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007209/0.3776, allocations: 0.5765 MB / 0.5671 GB, free: 14.77 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001802/0.3778, allocations: 53.23 kB / 0.5671 GB, free: 14.71 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000315/0.3781, allocations: 235 kB / 0.5673 GB, free: 14.48 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003223/0.3784, allocations: 247 kB / 0.5676 GB, free: 14.24 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 5.203e-05/0.3785, allocations: 28 kB / 0.5676 GB, free: 14.21 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003786/0.3788, allocations: 195.8 kB / 0.5678 GB, free: 14.02 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001718/0.379, allocations: 135.5 kB / 0.5679 GB, free: 13.89 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001825/0.3792, allocations: 158.9 kB / 0.5681 GB, free: 13.73 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007288/0.3799, allocations: 0.6053 MB / 0.5687 GB, free: 13.13 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.661e-06/0.3799, allocations: 0 / 0.5687 GB, free: 13.13 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.323e-06/0.3799, allocations: 0 / 0.5687 GB, free: 13.13 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.015e-05/0.3799, allocations: 4 kB / 0.5687 GB, free: 13.12 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.001403/0.3813, allocations: 0.8574 MB / 0.5695 GB, free: 12.21 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.25e-05/0.3814, allocations: 12.03 kB / 0.5695 GB, free: 12.2 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001204/0.3815, allocations: 56.56 kB / 0.5696 GB, free: 12.14 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007292/0.3822, allocations: 413.1 kB / 0.57 GB, free: 11.71 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.901e-05/0.3823, allocations: 16.59 kB / 0.57 GB, free: 11.7 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.97e-05/0.3823, allocations: 20.12 kB / 0.57 GB, free: 11.68 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005444/0.3828, allocations: 340.5 kB / 0.5703 GB, free: 11.29 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.179e-05/0.3829, allocations: 4 kB / 0.5703 GB, free: 11.29 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.971e-05/0.3829, allocations: 11.98 kB / 0.5703 GB, free: 11.28 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.17e-06/0.3829, allocations: 0 / 0.5703 GB, free: 11.28 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003297/0.3832, allocations: 119.9 kB / 0.5704 GB, free: 11.16 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00113/0.3844, allocations: 0.7857 MB / 0.5712 GB, free: 10.33 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007308/0.3851, allocations: 290.5 kB / 0.5715 GB, free: 10.01 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002503/0.3853, allocations: 111.4 kB / 0.5716 GB, free: 9.891 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.276e-05/0.3854, allocations: 8 kB / 0.5716 GB, free: 9.883 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004592/0.3858, allocations: 220.2 kB / 0.5718 GB, free: 9.645 MB / 414.1 MB Notification: Performance of pre-optimization done (n=24): time 1.393e-06/0.3858, allocations: 0 / 0.5718 GB, free: 9.645 MB / 414.1 MB Notification: Performance of matching and sorting (n=24): time 0.001068/0.3869, allocations: 433.8 kB / 0.5722 GB, free: 9.215 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001622/0.387, allocations: 243.2 kB / 0.5725 GB, free: 8.922 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009123/0.388, allocations: 0.6747 MB / 0.5731 GB, free: 8.234 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 4.57e-05/0.388, allocations: 37.7 kB / 0.5732 GB, free: 8.191 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002328/0.3882, allocations: 236.4 kB / 0.5734 GB, free: 7.957 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.882e-05/0.3883, allocations: 71.62 kB / 0.5734 GB, free: 7.887 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001162/0.3884, allocations: 61.69 kB / 0.5735 GB, free: 7.82 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002141/0.3887, allocations: 370.8 kB / 0.5739 GB, free: 7.449 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002469/0.3889, allocations: 83.95 kB / 0.5739 GB, free: 7.367 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004998/0.3894, allocations: 432.3 kB / 0.5744 GB, free: 6.848 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005383/0.3899, allocations: 234.8 kB / 0.5746 GB, free: 6.594 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.106e-06/0.3899, allocations: 0 / 0.5746 GB, free: 6.594 MB / 414.1 MB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0007379/0.3907, allocations: 341.4 kB / 0.5749 GB, free: 6.254 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.663e-05/0.3907, allocations: 8 kB / 0.5749 GB, free: 6.246 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.254e-05/0.3907, allocations: 4 kB / 0.5749 GB, free: 6.242 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.784e-05/0.3908, allocations: 0 / 0.5749 GB, free: 6.242 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003285/0.3911, allocations: 59.89 kB / 0.575 GB, free: 6.184 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.395e-05/0.3911, allocations: 7.938 kB / 0.575 GB, free: 6.176 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002426/0.3913, allocations: 23.88 kB / 0.575 GB, free: 6.152 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.613e-05/0.3914, allocations: 16 kB / 0.575 GB, free: 6.137 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.0003187/0.3917, allocations: 217.8 kB / 0.5752 GB, free: 5.914 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001089/0.3918, allocations: 67.56 kB / 0.5753 GB, free: 5.848 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009525/0.3928, allocations: 377.8 kB / 0.5757 GB, free: 5.465 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.638e-06/0.3928, allocations: 0 / 0.5757 GB, free: 5.465 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.157e-06/0.3928, allocations: 7.938 kB / 0.5757 GB, free: 5.457 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.041e-06/0.3928, allocations: 0 / 0.5757 GB, free: 5.457 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004631/0.3932, allocations: 321 kB / 0.576 GB, free: 5.113 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.735e-06/0.3932, allocations: 256 / 0.576 GB, free: 5.113 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001742/0.3934, allocations: 35.92 kB / 0.576 GB, free: 5.078 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.374e-06/0.3934, allocations: 8 kB / 0.576 GB, free: 5.07 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.02e-05/0.3935, allocations: 11.98 kB / 0.576 GB, free: 5.059 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.25e-06/0.3935, allocations: 4 kB / 0.576 GB, free: 5.055 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.164e-06/0.3935, allocations: 0 / 0.576 GB, free: 5.055 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008201/0.3943, allocations: 407 kB / 0.5764 GB, free: 4.629 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001257/0.3944, allocations: 59.59 kB / 0.5765 GB, free: 4.57 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.29e-05/0.3945, allocations: 15.98 kB / 0.5765 GB, free: 4.555 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001921/0.3947, allocations: 15.98 kB / 0.5765 GB, free: 4.539 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001243/0.3948, allocations: 39.89 kB / 0.5765 GB, free: 4.5 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.124e-05/0.3948, allocations: 19.98 kB / 0.5766 GB, free: 4.48 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0006228/0.3955, allocations: 498.8 kB / 0.577 GB, free: 3.996 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3955, allocations: 0 / 0.577 GB, free: 3.996 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0004776/0.3959, allocations: 99.83 kB / 0.5771 GB, free: 3.898 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.001847/0.3978, allocations: 489.2 kB / 0.5776 GB, free: 3.598 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.000657/0.3984, allocations: 232.9 kB / 0.5778 GB, free: 3.371 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 4.759e-06/0.3985, allocations: 8.062 kB / 0.5778 GB, free: 3.363 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003187/0.3988, allocations: 131.8 kB / 0.5779 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.0007325/0.3995, allocations: 156.2 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.001456/0.401, allocations: 0.8781 MB / 0.579 GB, free: 2.176 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002739/0.4012, allocations: 246.1 kB / 0.5792 GB, free: 1.902 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001473/0.4014, allocations: 51.41 kB / 0.5792 GB, free: 1.852 MB / 414.1 MB Notification: Performance of SimCode: time 4.21e-07/0.4014, allocations: 3.938 kB / 0.5792 GB, free: 1.848 MB / 414.1 MB Notification: Performance of Templates: time 0.01264/0.414, allocations: 7.477 MB / 0.5865 GB, free: 10.39 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.637627168005565]