Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_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.001367/0.001367, allocations: 109.1 kB / 21.19 MB, free: 0.7617 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.001525/0.001525, allocations: 217.7 kB / 24.5 MB, free: 4.133 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.459/1.459, allocations: 230.5 MB / 258.1 MB, free: 8.016 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2382/0.2382, allocations: 46.93 MB / 361.5 MB, free: 4.168 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/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_trunk_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_trunk_ModelicaTest.Blocks.IntegerTable") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00247/0.00247, allocations: 83.88 kB / 0.4974 GB, free: 7.25 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3631/0.3656, allocations: 66.07 MB / 0.5619 GB, free: 4.258 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.IntegerTable): time 0.004135/0.3697, allocations: 2.347 MB / 0.5642 GB, free: 1.898 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.003185/0.3729, allocations: 1.726 MB / 0.5659 GB, free: 172 kB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000168/0.3731, allocations: 11.88 kB / 0.5659 GB, free: 160 kB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004755/0.3736, allocations: 143.2 kB / 0.5661 GB, free: 16 kB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006424/0.3742, allocations: 286.8 kB / 0.5663 GB, free: 15.73 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001343/0.3755, allocations: 0.5376 MB / 0.5669 GB, free: 15.2 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006925/0.3762, allocations: 0.5726 MB / 0.5674 GB, free: 14.63 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001839/0.3764, allocations: 57.22 kB / 0.5675 GB, free: 14.57 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003165/0.3767, allocations: 239 kB / 0.5677 GB, free: 14.33 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003255/0.3771, allocations: 243 kB / 0.5679 GB, free: 14.09 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 6.193e-05/0.3771, allocations: 31.98 kB / 0.568 GB, free: 14.06 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003707/0.3775, allocations: 195.8 kB / 0.5682 GB, free: 13.87 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001854/0.3777, allocations: 135.5 kB / 0.5683 GB, free: 13.74 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002271/0.3779, allocations: 214.6 kB / 0.5685 GB, free: 13.53 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007655/0.3787, allocations: 0.5976 MB / 0.5691 GB, free: 12.93 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.698e-06/0.3787, allocations: 0 / 0.5691 GB, free: 12.93 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.753e-06/0.3787, allocations: 0 / 0.5691 GB, free: 12.93 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.185e-05/0.3787, allocations: 0 / 0.5691 GB, free: 12.93 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.001371/0.3801, allocations: 0.8691 MB / 0.5699 GB, free: 12 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.829e-05/0.3801, allocations: 8.031 kB / 0.5699 GB, free: 12 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001131/0.3802, allocations: 60.56 kB / 0.57 GB, free: 11.94 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007545/0.381, allocations: 421.4 kB / 0.5704 GB, free: 11.5 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.616e-05/0.381, allocations: 8.609 kB / 0.5704 GB, free: 11.5 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.489e-05/0.381, allocations: 16.38 kB / 0.5704 GB, free: 11.48 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004772/0.3815, allocations: 273.2 kB / 0.5707 GB, free: 11.17 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.002e-05/0.3815, allocations: 0 / 0.5707 GB, free: 11.17 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.429e-05/0.3815, allocations: 8 kB / 0.5707 GB, free: 11.16 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.02e-06/0.3816, allocations: 0 / 0.5707 GB, free: 11.16 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002945/0.3818, allocations: 111.9 kB / 0.5708 GB, free: 11.05 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001181/0.383, allocations: 0.8591 MB / 0.5716 GB, free: 10.14 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006648/0.3837, allocations: 274.6 kB / 0.5719 GB, free: 9.836 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002205/0.3839, allocations: 107.3 kB / 0.572 GB, free: 9.719 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.593e-05/0.384, allocations: 4 kB / 0.572 GB, free: 9.715 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004142/0.3844, allocations: 214.6 kB / 0.5722 GB, free: 9.48 MB / 414.1 MB Notification: Performance of pre-optimization done (n=24): time 1.734e-06/0.3844, allocations: 0 / 0.5722 GB, free: 9.48 MB / 414.1 MB Notification: Performance of matching and sorting (n=24): time 0.0009507/0.3853, allocations: 413.5 kB / 0.5726 GB, free: 9.07 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002134/0.3855, allocations: 342.2 kB / 0.5729 GB, free: 8.656 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008292/0.3864, allocations: 0.6708 MB / 0.5736 GB, free: 7.973 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.965e-05/0.3864, allocations: 33.7 kB / 0.5736 GB, free: 7.934 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002206/0.3866, allocations: 244.4 kB / 0.5738 GB, free: 7.691 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.499e-05/0.3867, allocations: 63.55 kB / 0.5739 GB, free: 7.629 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.798e-05/0.3868, allocations: 61.69 kB / 0.574 GB, free: 7.562 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002005/0.387, allocations: 374.8 kB / 0.5743 GB, free: 7.188 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002182/0.3872, allocations: 83.95 kB / 0.5744 GB, free: 7.105 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003588/0.3876, allocations: 241.6 kB / 0.5746 GB, free: 6.809 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004621/0.388, allocations: 231.4 kB / 0.5749 GB, free: 6.559 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.465e-06/0.3881, allocations: 0 / 0.5749 GB, free: 6.559 MB / 414.1 MB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0006455/0.3887, allocations: 321 kB / 0.5752 GB, free: 6.238 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.935e-05/0.3887, allocations: 4 kB / 0.5752 GB, free: 6.234 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.821e-06/0.3887, allocations: 4 kB / 0.5752 GB, free: 6.23 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.753e-05/0.3887, allocations: 8.125 kB / 0.5752 GB, free: 6.223 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002569/0.389, allocations: 55.89 kB / 0.5752 GB, free: 6.168 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.321e-05/0.389, allocations: 11.88 kB / 0.5752 GB, free: 6.156 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001932/0.3892, allocations: 35.81 kB / 0.5753 GB, free: 6.121 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.006e-05/0.3892, allocations: 8 kB / 0.5753 GB, free: 6.113 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.0002712/0.3895, allocations: 227 kB / 0.5755 GB, free: 5.883 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.776e-05/0.3896, allocations: 59.62 kB / 0.5756 GB, free: 5.824 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007665/0.3903, allocations: 353.9 kB / 0.5759 GB, free: 5.465 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.312e-06/0.3904, allocations: 4 kB / 0.5759 GB, free: 5.461 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.743e-06/0.3904, allocations: 3.938 kB / 0.5759 GB, free: 5.457 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.933e-06/0.3904, allocations: 3.984 kB / 0.5759 GB, free: 5.453 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004495/0.3908, allocations: 396.3 kB / 0.5763 GB, free: 5.023 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.783e-06/0.3908, allocations: 0 / 0.5763 GB, free: 5.023 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001147/0.3909, allocations: 27.92 kB / 0.5763 GB, free: 4.996 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.905e-06/0.3909, allocations: 0 / 0.5763 GB, free: 4.996 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.383e-05/0.391, allocations: 15.98 kB / 0.5763 GB, free: 4.98 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.539e-06/0.391, allocations: 4 kB / 0.5763 GB, free: 4.977 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.38e-06/0.391, allocations: 3.938 kB / 0.5763 GB, free: 4.973 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006905/0.3917, allocations: 367 kB / 0.5767 GB, free: 4.586 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.384e-05/0.3918, allocations: 51.67 kB / 0.5767 GB, free: 4.535 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.939e-05/0.3918, allocations: 15.98 kB / 0.5767 GB, free: 4.52 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001518/0.392, allocations: 11.98 kB / 0.5768 GB, free: 4.508 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001036/0.3921, allocations: 39.89 kB / 0.5768 GB, free: 4.469 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.461e-05/0.3921, allocations: 19.98 kB / 0.5768 GB, free: 4.449 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0005846/0.3927, allocations: 486.8 kB / 0.5773 GB, free: 3.977 MB / 414.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.3927, allocations: 0 / 0.5773 GB, free: 3.977 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0004499/0.3932, allocations: 103.9 kB / 0.5774 GB, free: 3.875 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.001645/0.3948, allocations: 463.5 kB / 0.5778 GB, free: 3.555 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0005952/0.3954, allocations: 216.2 kB / 0.578 GB, free: 3.344 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.327e-06/0.3954, allocations: 0 / 0.578 GB, free: 3.344 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002798/0.3957, allocations: 116.4 kB / 0.5781 GB, free: 3.23 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006551/0.3963, allocations: 161.5 kB / 0.5783 GB, free: 3.086 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001408/0.3977, allocations: 0.8642 MB / 0.5791 GB, free: 2.18 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005429/0.3983, allocations: 0.8467 MB / 0.58 GB, free: 1.301 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001232/0.3984, allocations: 55.41 kB / 0.58 GB, free: 1.246 MB / 414.1 MB Notification: Performance of SimCode: time 4.81e-07/0.3984, allocations: 0 / 0.58 GB, free: 1.246 MB / 414.1 MB Notification: Performance of Templates: time 0.01145/0.4099, allocations: 7.313 MB / 0.5872 GB, free: 9.953 MB / 430.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Blocks.IntegerTable.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Blocks.IntegerTable.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Blocks.IntegerTable.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Blocks.IntegerTable.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Blocks.IntegerTable.sim & ./ModelicaTest_trunk_ModelicaTest.Blocks.IntegerTable -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Blocks.IntegerTable.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_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_trunk_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.546022954164073]