Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.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.001823/0.001823, allocations: 103.6 kB / 21.18 MB, free: 0.6641 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.001533/0.001533, allocations: 223.9 kB / 24.48 MB, free: 3.961 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.441/1.441, allocations: 230.6 MB / 258.2 MB, free: 7.812 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2597/0.2597, allocations: 44.94 MB / 359.6 MB, free: 6.07 MB / 286.1 MB " [Timeout remaining time 179] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.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.0.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.0.0_ModelicaTest.Blocks.IntegerTable") [Timeout 660] "Notification: ModelicaTest requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002349/0.002349, allocations: 71.89 kB / 0.4942 GB, free: 10.07 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4546/0.457, allocations: 65.49 MB / 0.5582 GB, free: 7.516 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.IntegerTable): time 0.00637/0.4633, allocations: 2.204 MB / 0.5603 GB, free: 5.305 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.004724/0.4681, allocations: 1.619 MB / 0.5619 GB, free: 3.68 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003677/0.4684, allocations: 0 / 0.5619 GB, free: 3.68 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00065/0.4691, allocations: 151.2 kB / 0.5621 GB, free: 3.531 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00113/0.4702, allocations: 286.8 kB / 0.5623 GB, free: 3.25 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002168/0.4724, allocations: 0.5481 MB / 0.5629 GB, free: 2.711 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.001143/0.4735, allocations: 0.5726 MB / 0.5634 GB, free: 2.137 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002295/0.4738, allocations: 49.23 kB / 0.5635 GB, free: 2.082 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004704/0.4742, allocations: 235 kB / 0.5637 GB, free: 1.852 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004565/0.4747, allocations: 231 kB / 0.5639 GB, free: 1.625 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 8.714e-05/0.4748, allocations: 28 kB / 0.5639 GB, free: 1.598 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006419/0.4754, allocations: 199.8 kB / 0.5641 GB, free: 1.402 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002484/0.4757, allocations: 135.5 kB / 0.5643 GB, free: 1.27 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002671/0.4759, allocations: 158.9 kB / 0.5644 GB, free: 1.113 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00116/0.4771, allocations: 0.6015 MB / 0.565 GB, free: 0.5156 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.143e-06/0.4771, allocations: 0 / 0.565 GB, free: 0.5156 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.364e-06/0.4771, allocations: 0 / 0.565 GB, free: 0.5156 MB / 398.1 MB Notification: Performance of Transformations before backend: time 9.437e-06/0.4771, allocations: 0 / 0.565 GB, free: 0.5156 MB / 398.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.001965/0.4791, allocations: 0.8574 MB / 0.5658 GB, free: 15.6 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.949e-05/0.4791, allocations: 8.031 kB / 0.5659 GB, free: 15.59 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002133/0.4793, allocations: 68.56 kB / 0.5659 GB, free: 15.52 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001159/0.4805, allocations: 413.1 kB / 0.5663 GB, free: 15.1 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.441e-05/0.4806, allocations: 16.59 kB / 0.5663 GB, free: 15.08 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.82e-05/0.4806, allocations: 16.12 kB / 0.5663 GB, free: 15.07 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007883/0.4814, allocations: 339.6 kB / 0.5667 GB, free: 14.68 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.381e-05/0.4814, allocations: 0 / 0.5667 GB, free: 14.68 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.774e-05/0.4814, allocations: 7.984 kB / 0.5667 GB, free: 14.67 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.021e-05/0.4815, allocations: 4 kB / 0.5667 GB, free: 14.67 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005531/0.482, allocations: 123.9 kB / 0.5668 GB, free: 14.55 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00174/0.4837, allocations: 0.7896 MB / 0.5676 GB, free: 13.71 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001137/0.4849, allocations: 298.5 kB / 0.5679 GB, free: 13.39 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003854/0.4853, allocations: 111.3 kB / 0.568 GB, free: 13.27 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.732e-05/0.4853, allocations: 4 kB / 0.568 GB, free: 13.26 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006428/0.4859, allocations: 224.2 kB / 0.5682 GB, free: 13.02 MB / 414.1 MB Notification: Performance of pre-optimization done (n=24): time 2.635e-06/0.4859, allocations: 0 / 0.5682 GB, free: 13.02 MB / 414.1 MB Notification: Performance of matching and sorting (n=24): time 0.001545/0.4875, allocations: 421.9 kB / 0.5686 GB, free: 12.6 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002196/0.4877, allocations: 247.2 kB / 0.5688 GB, free: 12.3 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001389/0.4891, allocations: 0.6747 MB / 0.5695 GB, free: 11.62 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 5.568e-05/0.4891, allocations: 37.7 kB / 0.5695 GB, free: 11.57 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000313/0.4895, allocations: 236.5 kB / 0.5697 GB, free: 11.34 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000113/0.4896, allocations: 71.62 kB / 0.5698 GB, free: 11.27 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001568/0.4897, allocations: 57.69 kB / 0.5699 GB, free: 11.21 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002849/0.49, allocations: 370.8 kB / 0.5702 GB, free: 10.84 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000352/0.4904, allocations: 87.95 kB / 0.5703 GB, free: 10.75 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007055/0.4911, allocations: 432.3 kB / 0.5707 GB, free: 10.23 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008066/0.4919, allocations: 242.8 kB / 0.5709 GB, free: 9.969 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.328e-06/0.4919, allocations: 0 / 0.5709 GB, free: 9.969 MB / 414.1 MB Notification: Performance of matching and sorting (n=32) (initialization): time 0.001109/0.493, allocations: 325.1 kB / 0.5712 GB, free: 9.645 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.561e-05/0.493, allocations: 8 kB / 0.5713 GB, free: 9.637 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.046e-06/0.493, allocations: 256 / 0.5713 GB, free: 9.637 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.411e-05/0.4931, allocations: 4.125 kB / 0.5713 GB, free: 9.633 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00041/0.4935, allocations: 67.89 kB / 0.5713 GB, free: 9.566 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.561e-05/0.4935, allocations: 11.88 kB / 0.5713 GB, free: 9.555 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003452/0.4938, allocations: 27.88 kB / 0.5714 GB, free: 9.527 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.31e-05/0.4939, allocations: 8 kB / 0.5714 GB, free: 9.52 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.0004156/0.4943, allocations: 217.8 kB / 0.5716 GB, free: 9.297 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001449/0.4944, allocations: 59.56 kB / 0.5716 GB, free: 9.238 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001274/0.4957, allocations: 385.7 kB / 0.572 GB, free: 8.848 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.495e-05/0.4957, allocations: 4 kB / 0.572 GB, free: 8.844 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.093e-05/0.4957, allocations: 11.88 kB / 0.572 GB, free: 8.832 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.162e-06/0.4957, allocations: 0 / 0.572 GB, free: 8.832 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000616/0.4963, allocations: 325 kB / 0.5723 GB, free: 8.484 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.156e-06/0.4964, allocations: 0 / 0.5723 GB, free: 8.484 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002222/0.4966, allocations: 27.98 kB / 0.5724 GB, free: 8.457 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.222e-05/0.4966, allocations: 4 kB / 0.5724 GB, free: 8.453 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.698e-05/0.4966, allocations: 11.98 kB / 0.5724 GB, free: 8.441 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.557e-06/0.4966, allocations: 0 / 0.5724 GB, free: 8.441 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.939e-06/0.4966, allocations: 8 kB / 0.5724 GB, free: 8.434 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001136/0.4978, allocations: 395.4 kB / 0.5728 GB, free: 8.02 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001614/0.4979, allocations: 59.59 kB / 0.5728 GB, free: 7.961 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001055/0.498, allocations: 8 kB / 0.5728 GB, free: 7.953 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002872/0.4983, allocations: 19.97 kB / 0.5728 GB, free: 7.934 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000156/0.4985, allocations: 39.89 kB / 0.5729 GB, free: 7.895 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.765e-05/0.4985, allocations: 27.92 kB / 0.5729 GB, free: 7.867 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.000987/0.4995, allocations: 498.8 kB / 0.5734 GB, free: 7.383 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.81e-07/0.4995, allocations: 0 / 0.5734 GB, free: 7.383 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0007416/0.5003, allocations: 103.8 kB / 0.5735 GB, free: 7.281 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.002462/0.5027, allocations: 493 kB / 0.5739 GB, free: 6.973 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.001047/0.5038, allocations: 228.7 kB / 0.5742 GB, free: 6.75 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 5.361e-06/0.5038, allocations: 0 / 0.5742 GB, free: 6.75 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004933/0.5043, allocations: 136 kB / 0.5743 GB, free: 6.617 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001126/0.5054, allocations: 144.2 kB / 0.5744 GB, free: 6.484 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002162/0.5076, allocations: 0.8787 MB / 0.5753 GB, free: 5.562 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004041/0.508, allocations: 242.1 kB / 0.5755 GB, free: 5.293 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002043/0.5082, allocations: 55.41 kB / 0.5756 GB, free: 5.238 MB / 414.1 MB Notification: Performance of SimCode: time 5.41e-07/0.5082, allocations: 0 / 0.5756 GB, free: 5.238 MB / 414.1 MB Notification: Performance of Templates: time 0.01753/0.5257, allocations: 7.476 MB / 0.5829 GB, free: 13.79 MB / 430.1 MB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Blocks.IntegerTable.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Blocks.IntegerTable.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Blocks.IntegerTable.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Blocks.IntegerTable.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Blocks.IntegerTable.sim & ./ModelicaTest_4.0.0_ModelicaTest.Blocks.IntegerTable -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Blocks.IntegerTable.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Blocks.IntegerTable_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Blocks/IntegerTable/IntegerTable.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.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: 9.078305477276444]