Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Blocks.IntegerTable.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.002173/0.002173, allocations: 113.1 kB / 21.85 MB, free: 80 kB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002253/0.002253, allocations: 212.5 kB / 25.13 MB, free: 3.605 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.389/1.389, allocations: 230.4 MB / 258.7 MB, free: 8.039 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.214/0.214, allocations: 46.94 MB / 362 MB, free: 4.234 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-beta.om/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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-beta.om_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-beta.om_ModelicaTest.Blocks.IntegerTable") [Timeout 660] "Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002322/0.002322, allocations: 83.84 kB / 0.4978 GB, free: 7.395 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2677/0.27, allocations: 66.07 MB / 0.5623 GB, free: 4.281 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.IntegerTable): time 0.003661/0.2736, allocations: 2.327 MB / 0.5646 GB, free: 1.941 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002959/0.2766, allocations: 1.719 MB / 0.5663 GB, free: 224 kB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001315/0.2767, allocations: 15.88 kB / 0.5663 GB, free: 208 kB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003998/0.2771, allocations: 143.2 kB / 0.5664 GB, free: 64 kB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006007/0.2777, allocations: 294.8 kB / 0.5667 GB, free: 15.77 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001212/0.2789, allocations: 0.5442 MB / 0.5672 GB, free: 15.23 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006585/0.2796, allocations: 0.5803 MB / 0.5678 GB, free: 14.66 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001429/0.2797, allocations: 52.05 kB / 0.5679 GB, free: 14.6 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000296/0.28, allocations: 243 kB / 0.5681 GB, free: 14.36 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002811/0.2803, allocations: 238.9 kB / 0.5683 GB, free: 14.13 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 5.174e-05/0.2804, allocations: 32 kB / 0.5683 GB, free: 14.1 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000349/0.2807, allocations: 195.8 kB / 0.5685 GB, free: 13.91 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001634/0.2809, allocations: 131.5 kB / 0.5687 GB, free: 13.78 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002081/0.2811, allocations: 210.6 kB / 0.5689 GB, free: 13.57 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006991/0.2818, allocations: 0.5989 MB / 0.5694 GB, free: 12.97 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.346e-06/0.2818, allocations: 4 kB / 0.5694 GB, free: 12.97 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.182e-06/0.2818, allocations: 0 / 0.5694 GB, free: 12.97 MB / 414.1 MB Notification: Performance of Transformations before backend: time 6.542e-06/0.2818, allocations: 0 / 0.5694 GB, free: 12.97 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.001271/0.2831, allocations: 0.8613 MB / 0.5703 GB, free: 12.05 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.571e-05/0.2831, allocations: 8.031 kB / 0.5703 GB, free: 12.04 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001113/0.2832, allocations: 60.56 kB / 0.5704 GB, free: 11.98 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007091/0.2839, allocations: 421.4 kB / 0.5708 GB, free: 11.55 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.547e-05/0.284, allocations: 16.59 kB / 0.5708 GB, free: 11.53 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.95e-05/0.284, allocations: 8.375 kB / 0.5708 GB, free: 11.52 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005732/0.2846, allocations: 470.9 kB / 0.5712 GB, free: 10.97 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.999e-06/0.2846, allocations: 0 / 0.5712 GB, free: 10.97 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.512e-05/0.2846, allocations: 8 kB / 0.5712 GB, free: 10.96 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.304e-06/0.2846, allocations: 4 kB / 0.5712 GB, free: 10.96 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002996/0.2849, allocations: 115.8 kB / 0.5713 GB, free: 10.85 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001176/0.2861, allocations: 0.8631 MB / 0.5722 GB, free: 9.93 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000697/0.2868, allocations: 282.5 kB / 0.5725 GB, free: 9.617 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002311/0.287, allocations: 99.39 kB / 0.5726 GB, free: 9.508 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.977e-05/0.287, allocations: 4.156 kB / 0.5726 GB, free: 9.504 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000426/0.2875, allocations: 222.5 kB / 0.5728 GB, free: 9.262 MB / 414.1 MB Notification: Performance of pre-optimization done (n=24): time 1.924e-06/0.2875, allocations: 0 / 0.5728 GB, free: 9.262 MB / 414.1 MB Notification: Performance of matching and sorting (n=24): time 0.001006/0.2885, allocations: 409 kB / 0.5732 GB, free: 8.855 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001973/0.2887, allocations: 346.1 kB / 0.5735 GB, free: 8.438 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008335/0.2895, allocations: 0.6747 MB / 0.5741 GB, free: 7.75 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.773e-05/0.2895, allocations: 37.7 kB / 0.5742 GB, free: 7.707 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000204/0.2897, allocations: 240.4 kB / 0.5744 GB, free: 7.469 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.887e-05/0.2898, allocations: 63.55 kB / 0.5745 GB, free: 7.406 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001017/0.2899, allocations: 61.69 kB / 0.5745 GB, free: 7.34 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001783/0.2901, allocations: 362.8 kB / 0.5749 GB, free: 6.977 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002174/0.2903, allocations: 87.94 kB / 0.575 GB, free: 6.891 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005002/0.2908, allocations: 0.5411 MB / 0.5755 GB, free: 6.215 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004898/0.2913, allocations: 231.7 kB / 0.5757 GB, free: 5.965 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.585e-06/0.2913, allocations: 7.938 kB / 0.5757 GB, free: 5.957 MB / 414.1 MB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0006655/0.292, allocations: 321 kB / 0.576 GB, free: 5.637 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.29e-05/0.292, allocations: 8 kB / 0.576 GB, free: 5.629 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.4e-06/0.292, allocations: 0 / 0.576 GB, free: 5.629 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.952e-05/0.292, allocations: 4 kB / 0.576 GB, free: 5.625 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000259/0.2923, allocations: 55.84 kB / 0.5761 GB, free: 5.57 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.354e-05/0.2923, allocations: 11.92 kB / 0.5761 GB, free: 5.559 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001991/0.2925, allocations: 31.95 kB / 0.5761 GB, free: 5.527 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.465e-05/0.2925, allocations: 15.98 kB / 0.5761 GB, free: 5.512 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.0002508/0.2928, allocations: 218 kB / 0.5764 GB, free: 5.289 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.792e-05/0.2929, allocations: 63.61 kB / 0.5764 GB, free: 5.227 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007866/0.2936, allocations: 353.6 kB / 0.5768 GB, free: 4.867 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.66e-06/0.2937, allocations: 4 kB / 0.5768 GB, free: 4.863 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.085e-06/0.2937, allocations: 7.938 kB / 0.5768 GB, free: 4.855 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.626e-06/0.2937, allocations: 3.984 kB / 0.5768 GB, free: 4.852 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004393/0.2941, allocations: 388.3 kB / 0.5771 GB, free: 4.43 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.184e-06/0.2941, allocations: 0 / 0.5771 GB, free: 4.43 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001229/0.2942, allocations: 27.92 kB / 0.5772 GB, free: 4.402 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.776e-06/0.2942, allocations: 4 kB / 0.5772 GB, free: 4.398 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.513e-05/0.2943, allocations: 11.98 kB / 0.5772 GB, free: 4.387 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.414e-06/0.2943, allocations: 256 / 0.5772 GB, free: 4.387 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.698e-06/0.2943, allocations: 7.938 kB / 0.5772 GB, free: 4.379 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006818/0.295, allocations: 371.1 kB / 0.5775 GB, free: 3.988 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001134/0.2951, allocations: 47.67 kB / 0.5776 GB, free: 3.941 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.056e-05/0.2951, allocations: 19.97 kB / 0.5776 GB, free: 3.922 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001676/0.2953, allocations: 19.98 kB / 0.5776 GB, free: 3.902 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001129/0.2954, allocations: 43.83 kB / 0.5777 GB, free: 3.859 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.141e-05/0.2955, allocations: 11.98 kB / 0.5777 GB, free: 3.848 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0005872/0.296, allocations: 494.8 kB / 0.5782 GB, free: 3.367 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.296, allocations: 0 / 0.5782 GB, free: 3.367 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0004075/0.2964, allocations: 99.86 kB / 0.5782 GB, free: 3.27 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.001592/0.298, allocations: 452.8 kB / 0.5787 GB, free: 2.957 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0005844/0.2986, allocations: 219.9 kB / 0.5789 GB, free: 2.742 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 4.568e-06/0.2986, allocations: 4 kB / 0.5789 GB, free: 2.738 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003684/0.299, allocations: 159.8 kB / 0.579 GB, free: 2.582 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006473/0.2996, allocations: 157.2 kB / 0.5792 GB, free: 2.441 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001296/0.3009, allocations: 0.8238 MB / 0.58 GB, free: 1.582 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004788/0.3014, allocations: 0.8467 MB / 0.5808 GB, free: 0.7031 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0002182/0.3016, allocations: 87.22 kB / 0.5809 GB, free: 0.6133 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001222/0.3018, allocations: 55.42 kB / 0.581 GB, free: 0.5586 MB / 414.1 MB Notification: Performance of SimCode: time 4.71e-07/0.3018, allocations: 0 / 0.581 GB, free: 0.5586 MB / 414.1 MB Notification: Performance of Templates: time 0.01413/0.3159, allocations: 7.812 MB / 0.5886 GB, free: 8.777 MB / 430.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Blocks.IntegerTable.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Blocks.IntegerTable.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Blocks.IntegerTable.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Blocks.IntegerTable.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Blocks.IntegerTable.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.Blocks.IntegerTable -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.Blocks.IntegerTable.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0-beta.om_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-beta.om_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: 4.795469557167962]