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.00199/0.00199, allocations: 99.53 kB / 20.97 MB, free: 3.457 MB / 18.57 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.002053/0.002053, allocations: 164.8 kB / 24.27 MB, free: 156 kB / 18.57 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.598/1.598, allocations: 177 MB / 204.5 MB, free: 5.621 MB / 186.7 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.3704/0.3704, allocations: 34.26 MB / 295.2 MB, free: 0.6523 MB / 266.7 MB " [Timeout remaining time 179] 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 1.323e-06/1.323e-06, allocations: 0 / 377.2 MB, free: 2.941 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.957e-05/3.089e-05, allocations: 3.719 kB / 377.2 MB, free: 2.938 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.IntegerTable): time 0.004349/0.00438, allocations: 2.275 MB / 379.5 MB, free: 0.6406 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.003361/0.007741, allocations: 1.657 MB / 381.1 MB, free: 14.98 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001591/0.0079, allocations: 7.938 kB / 381.1 MB, free: 14.97 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004563/0.008356, allocations: 147.1 kB / 381.3 MB, free: 14.82 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006682/0.009024, allocations: 294.6 kB / 381.6 MB, free: 14.54 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001382/0.01041, allocations: 0.5377 MB / 382.1 MB, free: 14 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007721/0.01118, allocations: 0.5842 MB / 382.7 MB, free: 13.41 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001455/0.01132, allocations: 41.27 kB / 382.7 MB, free: 13.37 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004634/0.01179, allocations: 311.1 kB / 383 MB, free: 13.06 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003236/0.01211, allocations: 211.4 kB / 383.2 MB, free: 12.86 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 6.618e-05/0.01218, allocations: 32 kB / 383.3 MB, free: 12.82 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003884/0.01257, allocations: 183.7 kB / 383.5 MB, free: 12.64 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002008/0.01277, allocations: 139.4 kB / 383.6 MB, free: 12.51 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001782/0.01294, allocations: 115.6 kB / 383.7 MB, free: 12.39 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0008656/0.01381, allocations: 0.6191 MB / 384.3 MB, free: 11.77 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.657e-06/0.01381, allocations: 0 / 384.3 MB, free: 11.77 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.332e-06/0.01381, allocations: 0 / 384.3 MB, free: 11.77 MB / 362.7 MB Notification: Performance of Transformations before backend: time 8.396e-06/0.01382, allocations: 0 / 384.3 MB, free: 11.77 MB / 362.7 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.0016/0.01542, allocations: 0.9999 MB / 385.3 MB, free: 10.71 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.909e-05/0.01546, allocations: 8.031 kB / 385.3 MB, free: 10.7 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001523/0.01561, allocations: 76.55 kB / 385.4 MB, free: 10.63 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007272/0.01634, allocations: 391.3 kB / 385.8 MB, free: 10.21 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.14e-05/0.01637, allocations: 16.59 kB / 385.8 MB, free: 10.2 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.643e-05/0.01641, allocations: 16.38 kB / 385.8 MB, free: 10.18 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007988/0.01721, allocations: 355.7 kB / 386.2 MB, free: 9.773 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.571e-05/0.01722, allocations: 8.125 kB / 386.2 MB, free: 9.766 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.641e-05/0.01725, allocations: 8.359 kB / 386.2 MB, free: 9.758 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.598e-06/0.01726, allocations: 7.938 kB / 386.2 MB, free: 9.75 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002818/0.01754, allocations: 91.94 kB / 386.3 MB, free: 9.66 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001434/0.01898, allocations: 1.043 MB / 387.3 MB, free: 8.566 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006807/0.01966, allocations: 272.6 kB / 387.6 MB, free: 8.25 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002248/0.01988, allocations: 106.6 kB / 387.7 MB, free: 8.129 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.587e-05/0.01991, allocations: 4 kB / 387.7 MB, free: 8.125 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004478/0.02035, allocations: 235.3 kB / 387.9 MB, free: 7.863 MB / 362.7 MB Notification: Performance of pre-optimization done (n=24): time 1.373e-06/0.02036, allocations: 0 / 387.9 MB, free: 7.863 MB / 362.7 MB Notification: Performance of matching and sorting (n=24): time 0.000973/0.02133, allocations: 361.2 kB / 388.3 MB, free: 7.504 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.00018/0.02151, allocations: 251.2 kB / 388.5 MB, free: 7.203 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009662/0.02248, allocations: 0.7018 MB / 389.2 MB, free: 6.484 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 4.967e-05/0.02252, allocations: 33.7 kB / 389.3 MB, free: 6.445 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003302/0.02286, allocations: 327.2 kB / 389.6 MB, free: 6.121 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.888e-05/0.02294, allocations: 71.61 kB / 389.6 MB, free: 6.051 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000132/0.02308, allocations: 75.34 kB / 389.7 MB, free: 5.969 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0003987/0.02347, allocations: 0.5898 MB / 390.3 MB, free: 5.367 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001999/0.02367, allocations: 67.94 kB / 390.4 MB, free: 5.301 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004967/0.02417, allocations: 440.5 kB / 390.8 MB, free: 4.754 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004659/0.02464, allocations: 230.3 kB / 391 MB, free: 4.496 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.795e-06/0.02464, allocations: 4 kB / 391 MB, free: 4.492 MB / 362.7 MB Notification: Performance of matching and sorting (n=32) (initialization): time 0.000658/0.0253, allocations: 293.1 kB / 391.3 MB, free: 4.199 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.057e-05/0.02532, allocations: 8 kB / 391.3 MB, free: 4.191 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.292e-06/0.02532, allocations: 0 / 391.3 MB, free: 4.191 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.127e-05/0.02535, allocations: 7.984 kB / 391.3 MB, free: 4.184 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002637/0.02561, allocations: 56.03 kB / 391.4 MB, free: 4.129 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.128e-05/0.02562, allocations: 4 kB / 391.4 MB, free: 4.125 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001859/0.02581, allocations: 27.84 kB / 391.4 MB, free: 4.098 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.995e-05/0.02584, allocations: 15.98 kB / 391.4 MB, free: 4.082 MB / 362.7 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.0002453/0.02608, allocations: 220.8 kB / 391.7 MB, free: 3.855 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001189/0.0262, allocations: 71.59 kB / 391.7 MB, free: 3.785 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007776/0.02698, allocations: 321.8 kB / 392 MB, free: 3.465 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.572e-06/0.02699, allocations: 4 kB / 392 MB, free: 3.461 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.037e-06/0.02699, allocations: 4 kB / 392 MB, free: 3.457 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.095e-06/0.027, allocations: 3.984 kB / 392.1 MB, free: 3.453 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005765/0.02757, allocations: 404.3 kB / 392.4 MB, free: 3.023 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.893e-06/0.02758, allocations: 0 / 392.4 MB, free: 3.023 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001546/0.02773, allocations: 39.91 kB / 392.5 MB, free: 2.984 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.59e-06/0.02774, allocations: 7.938 kB / 392.5 MB, free: 2.977 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.536e-05/0.02776, allocations: 8 kB / 392.5 MB, free: 2.969 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.979e-06/0.02777, allocations: 3.984 kB / 392.5 MB, free: 2.965 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.462e-06/0.02777, allocations: 4.312 kB / 392.5 MB, free: 2.961 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00101/0.02878, allocations: 394.9 kB / 392.9 MB, free: 2.539 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001206/0.0289, allocations: 59.59 kB / 393 MB, free: 2.48 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.757e-05/0.02897, allocations: 8 kB / 393 MB, free: 2.473 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001579/0.02912, allocations: 15.98 kB / 393 MB, free: 2.457 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001182/0.02924, allocations: 39.94 kB / 393 MB, free: 2.418 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.894e-05/0.02928, allocations: 16 kB / 393 MB, free: 2.402 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0006025/0.02988, allocations: 454.7 kB / 393.5 MB, free: 1.961 MB / 362.7 MB Notification: Performance of sort global known variables: time 1e-07/0.02988, allocations: 0 / 393.5 MB, free: 1.961 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.00053/0.03041, allocations: 95.94 kB / 393.6 MB, free: 1.867 MB / 362.7 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.003947/0.03436, allocations: 496.5 kB / 394.1 MB, free: 1.523 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0008496/0.03521, allocations: 207.4 kB / 394.3 MB, free: 1.316 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 6.332e-06/0.03522, allocations: 4 kB / 394.3 MB, free: 1.312 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005353/0.03575, allocations: 131.5 kB / 394.4 MB, free: 1.18 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001161/0.03691, allocations: 161.4 kB / 394.5 MB, free: 1.031 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00199/0.0389, allocations: 0.7537 MB / 395.3 MB, free: 236 kB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004485/0.03935, allocations: 238.4 kB / 395.5 MB, free: 15.96 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.000337/0.03969, allocations: 79.25 kB / 395.6 MB, free: 15.89 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002305/0.03992, allocations: 60.47 kB / 395.7 MB, free: 15.83 MB / 378.7 MB Notification: Performance of SimCode: time 9.02e-07/0.03992, allocations: 0 / 395.7 MB, free: 15.83 MB / 378.7 MB Notification: Performance of Templates: time 0.02469/0.06461, allocations: 7.967 MB / 403.6 MB, free: 7.941 MB / 378.7 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=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Blocks.IntegerTable.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_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_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: 5.167513984022662]