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.001492/0.001492, allocations: 112.2 kB / 21.19 MB, free: 0.7578 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.001659/0.001659, allocations: 209.8 kB / 24.49 MB, free: 4.133 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.391/1.391, allocations: 230.6 MB / 258.3 MB, free: 8.035 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.2151/0.2151, allocations: 46.95 MB / 361.6 MB, free: 4.293 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.002218/0.002218, allocations: 67.91 kB / 0.4974 GB, free: 7.434 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3037/0.306, allocations: 66.03 MB / 0.5619 GB, free: 4.434 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.IntegerTable): time 0.003613/0.3096, allocations: 2.347 MB / 0.5642 GB, free: 2.07 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002801/0.3124, allocations: 1.727 MB / 0.5658 GB, free: 348 kB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001419/0.3125, allocations: 7.938 kB / 0.5658 GB, free: 340 kB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000417/0.3129, allocations: 143.3 kB / 0.566 GB, free: 196 kB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000574/0.3135, allocations: 286.7 kB / 0.5663 GB, free: 15.91 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001246/0.3148, allocations: 0.5449 MB / 0.5668 GB, free: 15.37 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006646/0.3154, allocations: 0.5727 MB / 0.5673 GB, free: 14.8 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001429/0.3156, allocations: 45.25 kB / 0.5674 GB, free: 14.75 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003116/0.3159, allocations: 247 kB / 0.5676 GB, free: 14.5 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003109/0.3162, allocations: 239 kB / 0.5679 GB, free: 14.27 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 5.217e-05/0.3162, allocations: 32 kB / 0.5679 GB, free: 14.24 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003514/0.3166, allocations: 195.8 kB / 0.5681 GB, free: 14.05 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001577/0.3167, allocations: 139.5 kB / 0.5682 GB, free: 13.91 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001907/0.3169, allocations: 210.6 kB / 0.5684 GB, free: 13.7 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006774/0.3176, allocations: 0.5976 MB / 0.569 GB, free: 13.11 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.236e-06/0.3176, allocations: 3.938 kB / 0.569 GB, free: 13.11 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.705e-06/0.3176, allocations: 4 kB / 0.569 GB, free: 13.1 MB / 414.1 MB Notification: Performance of Transformations before backend: time 7.113e-06/0.3176, allocations: 0 / 0.569 GB, free: 13.1 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.001227/0.3189, allocations: 0.8652 MB / 0.5698 GB, free: 12.18 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.514e-05/0.3189, allocations: 8.031 kB / 0.5699 GB, free: 12.17 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001098/0.319, allocations: 64.56 kB / 0.5699 GB, free: 12.11 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006845/0.3197, allocations: 413.4 kB / 0.5703 GB, free: 11.68 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.521e-05/0.3197, allocations: 12.61 kB / 0.5703 GB, free: 11.67 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.897e-05/0.3197, allocations: 20.06 kB / 0.5703 GB, free: 11.65 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004531/0.3202, allocations: 260.9 kB / 0.5706 GB, free: 11.35 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.548e-06/0.3202, allocations: 0 / 0.5706 GB, free: 11.35 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.62e-05/0.3202, allocations: 11.98 kB / 0.5706 GB, free: 11.34 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.494e-06/0.3202, allocations: 8 kB / 0.5706 GB, free: 11.33 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002909/0.3205, allocations: 107.9 kB / 0.5707 GB, free: 11.23 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001098/0.3216, allocations: 0.8514 MB / 0.5715 GB, free: 10.32 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006456/0.3223, allocations: 290.5 kB / 0.5718 GB, free: 10 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002152/0.3225, allocations: 99.39 kB / 0.5719 GB, free: 9.891 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.767e-05/0.3225, allocations: 12.12 kB / 0.5719 GB, free: 9.879 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004206/0.3229, allocations: 214.6 kB / 0.5721 GB, free: 9.645 MB / 414.1 MB Notification: Performance of pre-optimization done (n=24): time 1.433e-06/0.3229, allocations: 0 / 0.5721 GB, free: 9.645 MB / 414.1 MB Notification: Performance of matching and sorting (n=24): time 0.0009592/0.3239, allocations: 413.8 kB / 0.5725 GB, free: 9.234 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001942/0.3241, allocations: 350.1 kB / 0.5729 GB, free: 8.812 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007948/0.3249, allocations: 0.6592 MB / 0.5735 GB, free: 8.141 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.727e-05/0.3249, allocations: 33.7 kB / 0.5735 GB, free: 8.102 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002015/0.3251, allocations: 244.4 kB / 0.5738 GB, free: 7.859 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.233e-05/0.3252, allocations: 63.53 kB / 0.5738 GB, free: 7.797 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.867e-05/0.3253, allocations: 65.69 kB / 0.5739 GB, free: 7.727 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001807/0.3255, allocations: 370.8 kB / 0.5742 GB, free: 7.355 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002169/0.3257, allocations: 83.95 kB / 0.5743 GB, free: 7.273 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003417/0.326, allocations: 246.1 kB / 0.5746 GB, free: 6.973 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004603/0.3265, allocations: 234.6 kB / 0.5748 GB, free: 6.719 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.485e-06/0.3265, allocations: 0 / 0.5748 GB, free: 6.719 MB / 414.1 MB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0006462/0.3271, allocations: 317.3 kB / 0.5751 GB, free: 6.402 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.119e-05/0.3272, allocations: 8 kB / 0.5751 GB, free: 6.395 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.901e-06/0.3272, allocations: 0 / 0.5751 GB, free: 6.395 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.892e-05/0.3272, allocations: 7.938 kB / 0.5751 GB, free: 6.387 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002526/0.3274, allocations: 55.91 kB / 0.5752 GB, free: 6.332 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.117e-06/0.3275, allocations: 8.062 kB / 0.5752 GB, free: 6.324 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000198/0.3277, allocations: 35.81 kB / 0.5752 GB, free: 6.289 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.338e-05/0.3277, allocations: 15.98 kB / 0.5752 GB, free: 6.273 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.0002416/0.3279, allocations: 213.8 kB / 0.5754 GB, free: 6.055 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.582e-05/0.328, allocations: 63.61 kB / 0.5755 GB, free: 5.992 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007422/0.3287, allocations: 354 kB / 0.5758 GB, free: 5.633 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.795e-06/0.3288, allocations: 7.938 kB / 0.5758 GB, free: 5.625 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.731e-06/0.3288, allocations: 4 kB / 0.5758 GB, free: 5.621 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.907e-06/0.3288, allocations: 3.984 kB / 0.5758 GB, free: 5.617 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004258/0.3292, allocations: 388.3 kB / 0.5762 GB, free: 5.195 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.693e-06/0.3292, allocations: 0 / 0.5762 GB, free: 5.195 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000117/0.3293, allocations: 23.98 kB / 0.5762 GB, free: 5.172 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.246e-06/0.3293, allocations: 4 kB / 0.5762 GB, free: 5.168 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.248e-05/0.3293, allocations: 11.98 kB / 0.5762 GB, free: 5.156 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.138e-06/0.3294, allocations: 3.938 kB / 0.5762 GB, free: 5.152 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.302e-06/0.3294, allocations: 4 kB / 0.5762 GB, free: 5.148 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006506/0.33, allocations: 370.5 kB / 0.5766 GB, free: 4.762 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.46e-05/0.3301, allocations: 51.67 kB / 0.5766 GB, free: 4.711 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.559e-05/0.3302, allocations: 11.98 kB / 0.5767 GB, free: 4.699 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001651/0.3303, allocations: 27.92 kB / 0.5767 GB, free: 4.672 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.29e-05/0.3304, allocations: 35.95 kB / 0.5767 GB, free: 4.637 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.052e-05/0.3305, allocations: 11.98 kB / 0.5767 GB, free: 4.625 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0005774/0.331, allocations: 490.8 kB / 0.5772 GB, free: 4.148 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.331, allocations: 4 kB / 0.5772 GB, free: 4.145 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0004094/0.3314, allocations: 95.86 kB / 0.5773 GB, free: 4.051 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 (24): * Single equations (assignments): 16 * 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.001631/0.3331, allocations: 478.5 kB / 0.5777 GB, free: 3.738 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0005708/0.3336, allocations: 215.6 kB / 0.578 GB, free: 3.527 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.776e-06/0.3336, allocations: 4 kB / 0.578 GB, free: 3.523 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002767/0.3339, allocations: 116.4 kB / 0.5781 GB, free: 3.41 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006427/0.3346, allocations: 150.4 kB / 0.5782 GB, free: 3.27 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001336/0.3359, allocations: 0.8607 MB / 0.5791 GB, free: 2.367 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004725/0.3364, allocations: 0.8506 MB / 0.5799 GB, free: 1.484 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001156/0.3365, allocations: 47.42 kB / 0.5799 GB, free: 1.438 MB / 414.1 MB Notification: Performance of SimCode: time 3.11e-07/0.3365, allocations: 0 / 0.5799 GB, free: 1.438 MB / 414.1 MB Notification: Performance of Templates: time 0.01113/0.3476, allocations: 7.313 MB / 0.5871 GB, free: 10.15 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.101824620040134]