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.00176/0.00176, allocations: 111.1 kB / 20.44 MB, free: 1.176 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.002255/0.002255, allocations: 207.7 kB / 23.73 MB, free: 4.387 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.63/1.63, allocations: 230.6 MB / 257.5 MB, free: 7.785 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.2694/0.2694, allocations: 46.95 MB / 360.9 MB, free: 4 MB / 286.1 MB " [Timeout remaining time 179] 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.002066/0.002066, allocations: 67.89 kB / 0.4966 GB, free: 7.188 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3768/0.3788, allocations: 66.04 MB / 0.5611 GB, free: 4.121 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.IntegerTable): time 0.004248/0.3831, allocations: 2.209 MB / 0.5632 GB, free: 1.898 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.003232/0.3863, allocations: 1.611 MB / 0.5648 GB, free: 288 kB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002347/0.3866, allocations: 7.938 kB / 0.5648 GB, free: 280 kB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005233/0.3871, allocations: 139.3 kB / 0.5649 GB, free: 140 kB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007741/0.3879, allocations: 298.8 kB / 0.5652 GB, free: 15.84 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001563/0.3894, allocations: 0.5452 MB / 0.5658 GB, free: 15.3 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007923/0.3902, allocations: 0.5842 MB / 0.5663 GB, free: 14.72 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001718/0.3904, allocations: 45.25 kB / 0.5664 GB, free: 14.67 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003141/0.3907, allocations: 239 kB / 0.5666 GB, free: 14.43 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003335/0.391, allocations: 247 kB / 0.5668 GB, free: 14.19 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 4.997e-05/0.3911, allocations: 28 kB / 0.5669 GB, free: 14.16 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003782/0.3915, allocations: 187.8 kB / 0.567 GB, free: 13.98 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001745/0.3916, allocations: 139.5 kB / 0.5672 GB, free: 13.84 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000182/0.3918, allocations: 158.9 kB / 0.5673 GB, free: 13.69 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007961/0.3926, allocations: 0.6093 MB / 0.5679 GB, free: 13.08 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.859e-06/0.3926, allocations: 0 / 0.5679 GB, free: 13.08 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.292e-06/0.3926, allocations: 0 / 0.5679 GB, free: 13.08 MB / 414.1 MB Notification: Performance of Transformations before backend: time 7.815e-06/0.3926, allocations: 0 / 0.5679 GB, free: 13.08 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.001413/0.394, allocations: 0.8574 MB / 0.5688 GB, free: 12.16 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.407e-05/0.3941, allocations: 8.031 kB / 0.5688 GB, free: 12.16 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001235/0.3942, allocations: 60.56 kB / 0.5688 GB, free: 12.1 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007793/0.395, allocations: 417.1 kB / 0.5692 GB, free: 11.67 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.011e-05/0.395, allocations: 16.61 kB / 0.5692 GB, free: 11.65 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.697e-05/0.3951, allocations: 12.12 kB / 0.5692 GB, free: 11.64 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005699/0.3956, allocations: 348.5 kB / 0.5696 GB, free: 11.25 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.229e-05/0.3956, allocations: 0 / 0.5696 GB, free: 11.25 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.878e-05/0.3957, allocations: 8 kB / 0.5696 GB, free: 11.24 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.604e-06/0.3957, allocations: 4 kB / 0.5696 GB, free: 11.23 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003392/0.396, allocations: 123.8 kB / 0.5697 GB, free: 11.11 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001256/0.3973, allocations: 0.7818 MB / 0.5705 GB, free: 10.29 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007449/0.398, allocations: 302.5 kB / 0.5708 GB, free: 9.957 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00026/0.3983, allocations: 103.4 kB / 0.5709 GB, free: 9.844 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.559e-05/0.3983, allocations: 4 kB / 0.5709 GB, free: 9.84 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004831/0.3988, allocations: 224.4 kB / 0.5711 GB, free: 9.598 MB / 414.1 MB Notification: Performance of pre-optimization done (n=24): time 1.744e-06/0.3988, allocations: 4 kB / 0.5711 GB, free: 9.594 MB / 414.1 MB Notification: Performance of matching and sorting (n=24): time 0.001136/0.3999, allocations: 425 kB / 0.5715 GB, free: 9.172 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001684/0.4001, allocations: 243.3 kB / 0.5717 GB, free: 8.879 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009415/0.401, allocations: 0.6747 MB / 0.5724 GB, free: 8.191 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 4.01e-05/0.4011, allocations: 33.7 kB / 0.5724 GB, free: 8.152 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002355/0.4013, allocations: 244.4 kB / 0.5726 GB, free: 7.91 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.6e-05/0.4014, allocations: 63.47 kB / 0.5727 GB, free: 7.848 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001187/0.4015, allocations: 65.69 kB / 0.5728 GB, free: 7.777 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002055/0.4017, allocations: 366.8 kB / 0.5731 GB, free: 7.41 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002308/0.4019, allocations: 91.94 kB / 0.5732 GB, free: 7.32 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004841/0.4024, allocations: 428.3 kB / 0.5736 GB, free: 6.805 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000518/0.4029, allocations: 243.7 kB / 0.5738 GB, free: 6.543 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.986e-06/0.4029, allocations: 0 / 0.5738 GB, free: 6.543 MB / 414.1 MB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0006951/0.4036, allocations: 337 kB / 0.5742 GB, free: 6.207 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.703e-05/0.4037, allocations: 8 kB / 0.5742 GB, free: 6.199 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.222e-06/0.4037, allocations: 0 / 0.5742 GB, free: 6.199 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.922e-05/0.4037, allocations: 4 kB / 0.5742 GB, free: 6.195 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002924/0.404, allocations: 51.91 kB / 0.5742 GB, free: 6.145 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.598e-05/0.404, allocations: 12 kB / 0.5742 GB, free: 6.133 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002331/0.4042, allocations: 32 kB / 0.5743 GB, free: 6.102 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.713e-05/0.4043, allocations: 12 kB / 0.5743 GB, free: 6.09 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.0003391/0.4046, allocations: 222 kB / 0.5745 GB, free: 5.863 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.464e-05/0.4047, allocations: 55.62 kB / 0.5745 GB, free: 5.809 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008808/0.4056, allocations: 381.8 kB / 0.5749 GB, free: 5.422 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.783e-06/0.4056, allocations: 4 kB / 0.5749 GB, free: 5.418 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.033e-06/0.4056, allocations: 3.938 kB / 0.5749 GB, free: 5.414 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.257e-06/0.4056, allocations: 11.98 kB / 0.5749 GB, free: 5.402 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004376/0.406, allocations: 321 kB / 0.5752 GB, free: 5.059 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.354e-06/0.406, allocations: 4 kB / 0.5752 GB, free: 5.055 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001631/0.4062, allocations: 35.92 kB / 0.5753 GB, free: 5.02 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.226e-06/0.4062, allocations: 0 / 0.5753 GB, free: 5.02 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.65e-05/0.4062, allocations: 7.984 kB / 0.5753 GB, free: 5.012 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.821e-06/0.4062, allocations: 4 kB / 0.5753 GB, free: 5.008 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.913e-06/0.4062, allocations: 0 / 0.5753 GB, free: 5.008 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007706/0.407, allocations: 407 kB / 0.5757 GB, free: 4.582 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001205/0.4071, allocations: 67.53 kB / 0.5757 GB, free: 4.516 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.262e-05/0.4072, allocations: 8 kB / 0.5757 GB, free: 4.508 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001844/0.4074, allocations: 15.98 kB / 0.5758 GB, free: 4.492 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001133/0.4075, allocations: 43.88 kB / 0.5758 GB, free: 4.449 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.589e-05/0.4075, allocations: 12 kB / 0.5758 GB, free: 4.438 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0005963/0.4081, allocations: 498.8 kB / 0.5763 GB, free: 3.953 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4081, allocations: 0 / 0.5763 GB, free: 3.953 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0004727/0.4086, allocations: 103.8 kB / 0.5764 GB, free: 3.852 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.001831/0.4104, allocations: 494.8 kB / 0.5769 GB, free: 3.547 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0006794/0.4111, allocations: 232.7 kB / 0.5771 GB, free: 3.32 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.997e-06/0.4111, allocations: 0 / 0.5771 GB, free: 3.32 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004088/0.4115, allocations: 175.8 kB / 0.5772 GB, free: 3.148 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007885/0.4123, allocations: 144.6 kB / 0.5774 GB, free: 3.02 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001515/0.4138, allocations: 0.8373 MB / 0.5782 GB, free: 2.145 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002781/0.4141, allocations: 250.4 kB / 0.5784 GB, free: 1.867 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0002481/0.4144, allocations: 91.22 kB / 0.5785 GB, free: 1.777 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001458/0.4145, allocations: 59.41 kB / 0.5786 GB, free: 1.719 MB / 414.1 MB Notification: Performance of SimCode: time 5.21e-07/0.4145, allocations: 0 / 0.5786 GB, free: 1.719 MB / 414.1 MB Notification: Performance of Templates: time 0.0163/0.4308, allocations: 8.413 MB / 0.5868 GB, free: 9.406 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Blocks/IntegerTable/IntegerTable.csv","/var/lib/jenkins/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.7241547061130404]