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.001771/0.001771, allocations: 108.4 kB / 21.17 MB, free: 0.7852 MB / 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.001441/0.001441, allocations: 217.3 kB / 24.47 MB, free: 4.359 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.431/1.431, allocations: 230.2 MB / 257.8 MB, free: 8.496 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.2528/0.2528, allocations: 46.89 MB / 361.1 MB, free: 4.629 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.002413/0.002413, allocations: 75.88 kB / 0.4967 GB, free: 7.836 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2834/0.2858, allocations: 65.99 MB / 0.5612 GB, free: 5.027 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.IntegerTable): time 0.003798/0.2896, allocations: 2.351 MB / 0.5635 GB, free: 2.66 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.003013/0.2926, allocations: 1.722 MB / 0.5652 GB, free: 0.9336 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001264/0.2927, allocations: 7.938 kB / 0.5652 GB, free: 0.9258 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004044/0.2931, allocations: 143.2 kB / 0.5653 GB, free: 0.7852 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005873/0.2937, allocations: 290.7 kB / 0.5656 GB, free: 0.5 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001217/0.2949, allocations: 0.5253 MB / 0.5661 GB, free: 15.98 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006248/0.2956, allocations: 0.5687 MB / 0.5666 GB, free: 15.41 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001446/0.2957, allocations: 49.05 kB / 0.5667 GB, free: 15.36 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002945/0.296, allocations: 235 kB / 0.5669 GB, free: 15.13 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003085/0.2963, allocations: 243 kB / 0.5671 GB, free: 14.89 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 5.018e-05/0.2964, allocations: 28 kB / 0.5672 GB, free: 14.86 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003256/0.2967, allocations: 179.8 kB / 0.5673 GB, free: 14.69 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001622/0.2968, allocations: 131.5 kB / 0.5675 GB, free: 14.56 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002052/0.297, allocations: 210.6 kB / 0.5677 GB, free: 14.35 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006913/0.2977, allocations: 0.5979 MB / 0.5683 GB, free: 13.75 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.885e-06/0.2977, allocations: 0 / 0.5683 GB, free: 13.75 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.032e-06/0.2977, allocations: 0 / 0.5683 GB, free: 13.75 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.151e-05/0.2978, allocations: 0 / 0.5683 GB, free: 13.75 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.001379/0.2991, allocations: 0.9405 MB / 0.5692 GB, free: 12.73 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.101e-05/0.2992, allocations: 8.031 kB / 0.5692 GB, free: 12.73 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001119/0.2993, allocations: 60.56 kB / 0.5692 GB, free: 12.67 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007191/0.3, allocations: 480.5 kB / 0.5697 GB, free: 12.16 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.286e-05/0.3, allocations: 16.61 kB / 0.5697 GB, free: 12.14 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.738e-05/0.3001, allocations: 12.38 kB / 0.5697 GB, free: 12.13 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005172/0.3006, allocations: 281.2 kB / 0.57 GB, free: 11.81 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.03e-05/0.3006, allocations: 4 kB / 0.57 GB, free: 11.81 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.609e-05/0.3006, allocations: 4 kB / 0.57 GB, free: 11.8 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.113e-06/0.3006, allocations: 4 kB / 0.57 GB, free: 11.8 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003289/0.301, allocations: 111.9 kB / 0.5701 GB, free: 11.69 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001224/0.3022, allocations: 0.8875 MB / 0.571 GB, free: 10.74 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007085/0.3029, allocations: 278.5 kB / 0.5712 GB, free: 10.43 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002412/0.3031, allocations: 95.39 kB / 0.5713 GB, free: 10.33 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.24e-05/0.3032, allocations: 8 kB / 0.5713 GB, free: 10.32 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004336/0.3036, allocations: 222.5 kB / 0.5716 GB, free: 10.08 MB / 414.1 MB Notification: Performance of pre-optimization done (n=24): time 1.633e-06/0.3036, allocations: 0 / 0.5716 GB, free: 10.08 MB / 414.1 MB Notification: Performance of matching and sorting (n=24): time 0.001028/0.3046, allocations: 417.8 kB / 0.572 GB, free: 9.664 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002214/0.3048, allocations: 342.1 kB / 0.5723 GB, free: 9.25 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008592/0.3057, allocations: 0.6669 MB / 0.5729 GB, free: 8.57 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 4.267e-05/0.3057, allocations: 37.69 kB / 0.573 GB, free: 8.527 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002277/0.306, allocations: 244.4 kB / 0.5732 GB, free: 8.285 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.119e-05/0.306, allocations: 67.61 kB / 0.5733 GB, free: 8.219 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001091/0.3062, allocations: 61.69 kB / 0.5733 GB, free: 8.152 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001992/0.3064, allocations: 370.8 kB / 0.5737 GB, free: 7.781 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002304/0.3066, allocations: 79.95 kB / 0.5738 GB, free: 7.703 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003774/0.307, allocations: 245 kB / 0.574 GB, free: 7.402 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005148/0.3075, allocations: 234.7 kB / 0.5742 GB, free: 7.148 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.725e-06/0.3075, allocations: 0 / 0.5742 GB, free: 7.148 MB / 414.1 MB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0007066/0.3082, allocations: 317.3 kB / 0.5745 GB, free: 6.832 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.681e-05/0.3082, allocations: 8 kB / 0.5745 GB, free: 6.824 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.621e-06/0.3082, allocations: 0 / 0.5745 GB, free: 6.824 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.72e-05/0.3082, allocations: 4 kB / 0.5745 GB, free: 6.82 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000272/0.3085, allocations: 56.03 kB / 0.5746 GB, free: 6.766 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.381e-05/0.3085, allocations: 7.938 kB / 0.5746 GB, free: 6.758 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002197/0.3087, allocations: 35.81 kB / 0.5746 GB, free: 6.723 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.399e-05/0.3088, allocations: 8 kB / 0.5746 GB, free: 6.715 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.0002992/0.3091, allocations: 221.7 kB / 0.5748 GB, free: 6.488 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.768e-05/0.3092, allocations: 59.62 kB / 0.5749 GB, free: 6.43 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000853/0.31, allocations: 354 kB / 0.5752 GB, free: 6.078 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.051e-06/0.31, allocations: 4 kB / 0.5752 GB, free: 6.074 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.603e-06/0.31, allocations: 3.938 kB / 0.5752 GB, free: 6.07 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.799e-06/0.31, allocations: 0 / 0.5752 GB, free: 6.07 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000466/0.3105, allocations: 425.2 kB / 0.5756 GB, free: 5.605 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.733e-06/0.3105, allocations: 0 / 0.5756 GB, free: 5.605 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001285/0.3106, allocations: 27.92 kB / 0.5757 GB, free: 5.578 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.655e-06/0.3106, allocations: 0 / 0.5757 GB, free: 5.578 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.324e-05/0.3106, allocations: 11.98 kB / 0.5757 GB, free: 5.566 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.018e-06/0.3106, allocations: 8 kB / 0.5757 GB, free: 5.559 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.719e-06/0.3107, allocations: 7.875 kB / 0.5757 GB, free: 5.551 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007167/0.3114, allocations: 363 kB / 0.576 GB, free: 5.168 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001434/0.3115, allocations: 132.8 kB / 0.5762 GB, free: 5.02 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.14e-05/0.3116, allocations: 12 kB / 0.5762 GB, free: 5.008 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000187/0.3118, allocations: 15.98 kB / 0.5762 GB, free: 4.992 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001046/0.3119, allocations: 39.89 kB / 0.5762 GB, free: 4.953 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.92e-05/0.3119, allocations: 19.98 kB / 0.5763 GB, free: 4.934 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0006257/0.3125, allocations: 486.8 kB / 0.5767 GB, free: 4.461 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3125, allocations: 3.938 kB / 0.5767 GB, free: 4.457 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0004264/0.313, allocations: 103.9 kB / 0.5768 GB, free: 4.355 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.001684/0.3147, allocations: 449.9 kB / 0.5773 GB, free: 4.055 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0006128/0.3153, allocations: 224.2 kB / 0.5775 GB, free: 3.836 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 4.98e-06/0.3153, allocations: 7.938 kB / 0.5775 GB, free: 3.828 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003718/0.3156, allocations: 160.3 kB / 0.5776 GB, free: 3.672 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007238/0.3164, allocations: 154.4 kB / 0.5778 GB, free: 3.531 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001329/0.3177, allocations: 0.8196 MB / 0.5786 GB, free: 2.676 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005126/0.3182, allocations: 0.8506 MB / 0.5794 GB, free: 1.793 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0002221/0.3184, allocations: 91.22 kB / 0.5795 GB, free: 1.703 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000123/0.3186, allocations: 47.42 kB / 0.5795 GB, free: 1.656 MB / 414.1 MB Notification: Performance of SimCode: time 3.31e-07/0.3186, allocations: 8 kB / 0.5795 GB, free: 1.648 MB / 414.1 MB Notification: Performance of Templates: time 0.01484/0.3334, allocations: 7.787 MB / 0.5872 GB, free: 9.898 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_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Blocks/IntegerTable/IntegerTable.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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: 5.02784162806347]