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.001029/0.001029, allocations: 91.5 kB / 21.2 MB, free: 3.375 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.0009347/0.0009347, allocations: 160.5 kB / 24.55 MB, free: 20 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.044/1.044, allocations: 177 MB / 204.8 MB, free: 5.594 MB / 186.7 MB " [Timeout remaining time 179] 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.2893/0.2893, allocations: 34.86 MB / 296.3 MB, free: 0.5312 MB / 266.7 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 1.784e-06/1.784e-06, allocations: 0 / 378.7 MB, free: 2.113 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.032e-05/3.21e-05, allocations: 6.25 kB / 378.8 MB, free: 2.105 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.IntegerTable): time 0.006491/0.006523, allocations: 2.3 MB / 381.1 MB, free: 15.79 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.005839/0.01236, allocations: 1.663 MB / 382.7 MB, free: 14.11 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002346/0.0126, allocations: 4 kB / 382.7 MB, free: 14.11 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004206/0.01302, allocations: 151.1 kB / 382.9 MB, free: 13.96 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003816/0.01683, allocations: 298.5 kB / 383.2 MB, free: 13.67 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001219/0.01805, allocations: 0.5377 MB / 383.7 MB, free: 13.13 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006388/0.01869, allocations: 0.5803 MB / 384.3 MB, free: 12.55 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001593/0.01885, allocations: 45.27 kB / 384.3 MB, free: 12.5 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005515/0.0194, allocations: 315.1 kB / 384.6 MB, free: 12.19 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002295/0.01963, allocations: 207.5 kB / 384.8 MB, free: 11.99 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 3.952e-05/0.01967, allocations: 31.94 kB / 384.9 MB, free: 11.96 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000308/0.01998, allocations: 187.7 kB / 385 MB, free: 11.77 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001326/0.02011, allocations: 139.4 kB / 385.2 MB, free: 11.64 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001058/0.02022, allocations: 107.6 kB / 385.3 MB, free: 11.53 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005456/0.02076, allocations: 466.3 kB / 385.7 MB, free: 11.07 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.128e-06/0.02077, allocations: 0 / 385.7 MB, free: 11.07 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.152e-06/0.02077, allocations: 0 / 385.7 MB, free: 11.07 MB / 362.7 MB Notification: Performance of Transformations before backend: time 6.452e-06/0.02077, allocations: 0 / 385.7 MB, free: 11.07 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.0009722/0.02175, allocations: 0.9534 MB / 386.7 MB, free: 10.06 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.933e-05/0.02179, allocations: 12.03 kB / 386.7 MB, free: 10.05 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000112/0.0219, allocations: 64.59 kB / 386.8 MB, free: 9.984 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000481/0.02238, allocations: 399.2 kB / 387.2 MB, free: 9.562 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.593e-05/0.02241, allocations: 12.61 kB / 387.2 MB, free: 9.551 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.27e-05/0.02244, allocations: 16.36 kB / 387.2 MB, free: 9.535 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002849/0.02272, allocations: 198.9 kB / 387.4 MB, free: 9.316 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.818e-06/0.02273, allocations: 192 / 387.4 MB, free: 9.316 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.921e-05/0.02275, allocations: 16.36 kB / 387.4 MB, free: 9.301 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.838e-06/0.02276, allocations: 7.938 kB / 387.4 MB, free: 9.293 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001131/0.02287, allocations: 59.89 kB / 387.5 MB, free: 9.234 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001082/0.02396, allocations: 0.9376 MB / 388.4 MB, free: 8.246 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003126/0.02427, allocations: 236.5 kB / 388.6 MB, free: 7.965 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001043/0.02437, allocations: 74.72 kB / 388.7 MB, free: 7.875 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.437e-05/0.0244, allocations: 4 kB / 388.7 MB, free: 7.871 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002944/0.02469, allocations: 197 kB / 388.9 MB, free: 7.648 MB / 362.7 MB Notification: Performance of pre-optimization done (n=24): time 2.274e-06/0.02469, allocations: 0 / 388.9 MB, free: 7.648 MB / 362.7 MB Notification: Performance of matching and sorting (n=24): time 0.0005629/0.02526, allocations: 305.1 kB / 389.2 MB, free: 7.344 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.35e-05/0.02533, allocations: 140.4 kB / 389.3 MB, free: 7.176 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004902/0.02582, allocations: 0.5651 MB / 389.9 MB, free: 6.594 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 3e-05/0.02585, allocations: 33.7 kB / 389.9 MB, free: 6.555 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001473/0.026, allocations: 283.3 kB / 390.2 MB, free: 6.273 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.702e-05/0.02606, allocations: 75.53 kB / 390.3 MB, free: 6.199 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.091e-05/0.02613, allocations: 67.33 kB / 390.4 MB, free: 6.125 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001502/0.02628, allocations: 0.5469 MB / 390.9 MB, free: 5.566 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.627e-05/0.02636, allocations: 39.97 kB / 390.9 MB, free: 5.527 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000153/0.02652, allocations: 268 kB / 391.2 MB, free: 5.191 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001839/0.0267, allocations: 177.3 kB / 391.4 MB, free: 4.984 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.745e-06/0.0267, allocations: 0 / 391.4 MB, free: 4.984 MB / 362.7 MB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0003019/0.027, allocations: 245.1 kB / 391.6 MB, free: 4.738 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.711e-05/0.02702, allocations: 8 kB / 391.6 MB, free: 4.73 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.131e-06/0.02703, allocations: 3.984 kB / 391.6 MB, free: 4.727 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.611e-05/0.02704, allocations: 4 kB / 391.6 MB, free: 4.723 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001538/0.0272, allocations: 55.91 kB / 391.7 MB, free: 4.668 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.286e-06/0.02721, allocations: 4 kB / 391.7 MB, free: 4.664 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001032/0.02731, allocations: 24.09 kB / 391.7 MB, free: 4.641 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.742e-05/0.02733, allocations: 15.98 kB / 391.7 MB, free: 4.625 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.0001418/0.02747, allocations: 196.4 kB / 391.9 MB, free: 4.422 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.069e-05/0.02753, allocations: 67.77 kB / 392 MB, free: 4.355 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003554/0.02788, allocations: 285.7 kB / 392.3 MB, free: 4.07 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.478e-06/0.02789, allocations: 4 kB / 392.3 MB, free: 4.066 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.25e-06/0.02789, allocations: 7.922 kB / 392.3 MB, free: 4.059 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.34e-06/0.0279, allocations: 4 kB / 392.3 MB, free: 4.055 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00026/0.02816, allocations: 336.2 kB / 392.6 MB, free: 3.691 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.134e-06/0.02816, allocations: 0 / 392.6 MB, free: 3.691 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.454e-05/0.02825, allocations: 31.98 kB / 392.6 MB, free: 3.66 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.629e-06/0.02825, allocations: 8 kB / 392.6 MB, free: 3.652 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.496e-05/0.02827, allocations: 7.984 kB / 392.7 MB, free: 3.645 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.875e-06/0.02827, allocations: 4 kB / 392.7 MB, free: 3.641 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.084e-06/0.02827, allocations: 0 / 392.7 MB, free: 3.641 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003266/0.0286, allocations: 342.9 kB / 393 MB, free: 3.27 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.411e-05/0.02865, allocations: 51.67 kB / 393 MB, free: 3.219 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.313e-05/0.02869, allocations: 11.98 kB / 393.1 MB, free: 3.207 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.687e-05/0.02877, allocations: 8 kB / 393.1 MB, free: 3.199 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.1e-05/0.02885, allocations: 43.94 kB / 393.1 MB, free: 3.156 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.629e-05/0.02888, allocations: 19.98 kB / 393.1 MB, free: 3.137 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.000295/0.02917, allocations: 378.8 kB / 393.5 MB, free: 2.77 MB / 362.7 MB Notification: Performance of sort global known variables: time 7e-08/0.02917, allocations: 0 / 393.5 MB, free: 2.77 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.000335/0.02951, allocations: 95.86 kB / 393.6 MB, free: 2.676 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.0009259/0.03043, allocations: 449.4 kB / 394 MB, free: 2.344 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0002638/0.0307, allocations: 155.5 kB / 394.2 MB, free: 2.188 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.743e-06/0.0307, allocations: 0 / 394.2 MB, free: 2.188 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001175/0.03082, allocations: 103.5 kB / 394.3 MB, free: 2.082 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004117/0.03123, allocations: 160.5 kB / 394.4 MB, free: 1.938 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00115/0.03238, allocations: 0.7183 MB / 395.2 MB, free: 1.172 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.419e-05/0.03245, allocations: 125.6 kB / 395.3 MB, free: 1.027 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001464/0.0326, allocations: 79.3 kB / 395.4 MB, free: 0.9492 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.718e-05/0.0327, allocations: 60.47 kB / 395.4 MB, free: 0.8906 MB / 362.7 MB Notification: Performance of SimCode: time 1.202e-06/0.0327, allocations: 3.938 kB / 395.4 MB, free: 0.8867 MB / 362.7 MB Notification: Performance of Templates: time 0.01159/0.04428, allocations: 8.287 MB / 403.7 MB, free: 8.684 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.5693502677604556]