Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Blocks.IntegerTable.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.002544/0.002544, allocations: 95.55 kB / 20.21 MB, free: 4.203 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002951/0.002951, allocations: 165.7 kB / 23.52 MB, free: 0.8945 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.379/1.379, allocations: 158.6 MB / 185.3 MB, free: 2.895 MB / 170.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2098/0.2098, allocations: 32.38 MB / 270 MB, free: 14.78 MB / 266.7 MB " [Timeout remaining time 179] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/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_3.2.3_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_3.2.3_ModelicaTest.Blocks.IntegerTable") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 8.196e-06/8.196e-06, allocations: 0 / 346.9 MB, free: 9.82 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.178e-05/3.998e-05, allocations: 6.312 kB / 346.9 MB, free: 9.812 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.IntegerTable): time 0.003319/0.003359, allocations: 2.216 MB / 349.1 MB, free: 7.59 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.002158/0.005517, allocations: 1.442 MB / 350.6 MB, free: 6.137 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001435/0.00566, allocations: 3.938 kB / 350.6 MB, free: 6.133 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004424/0.006103, allocations: 155.2 kB / 350.7 MB, free: 5.98 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004134/0.006516, allocations: 226.9 kB / 351 MB, free: 5.758 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001247/0.007763, allocations: 0.6079 MB / 351.6 MB, free: 5.148 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004945/0.008257, allocations: 0.5452 MB / 352.1 MB, free: 4.602 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001446/0.008402, allocations: 45.12 kB / 352.2 MB, free: 4.555 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003333/0.008735, allocations: 303.1 kB / 352.5 MB, free: 4.258 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002293/0.008964, allocations: 195.5 kB / 352.6 MB, free: 4.066 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 5.265e-05/0.009017, allocations: 24 kB / 352.7 MB, free: 4.043 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003442/0.009361, allocations: 187.7 kB / 352.9 MB, free: 3.859 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001324/0.009494, allocations: 135.5 kB / 353 MB, free: 3.727 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001195/0.009613, allocations: 111.6 kB / 353.1 MB, free: 3.617 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005944/0.01021, allocations: 0.6035 MB / 353.7 MB, free: 3.012 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.969e-06/0.01021, allocations: 0 / 353.7 MB, free: 3.012 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.493e-06/0.01021, allocations: 0 / 353.7 MB, free: 3.012 MB / 282.7 MB Notification: Performance of Transformations before backend: time 7.715e-06/0.01022, allocations: 0 / 353.7 MB, free: 3.012 MB / 282.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.001099/0.01132, allocations: 0.9612 MB / 354.7 MB, free: 1.984 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.769e-05/0.01136, allocations: 12.03 kB / 354.7 MB, free: 1.973 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001195/0.01148, allocations: 60.61 kB / 354.7 MB, free: 1.914 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005229/0.012, allocations: 384.7 kB / 355.1 MB, free: 1.512 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.328e-05/0.01202, allocations: 12.61 kB / 355.1 MB, free: 1.5 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.886e-05/0.01205, allocations: 20.36 kB / 355.1 MB, free: 1.48 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003685/0.01242, allocations: 349.4 kB / 355.5 MB, free: 1.078 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.228e-05/0.01243, allocations: 7.938 kB / 355.5 MB, free: 1.07 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.09e-05/0.01245, allocations: 7.938 kB / 355.5 MB, free: 1.062 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.081e-06/0.01246, allocations: 4 kB / 355.5 MB, free: 1.059 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002373/0.0127, allocations: 95.88 kB / 355.6 MB, free: 0.9648 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001024/0.01372, allocations: 1.02 MB / 356.6 MB, free: 15.89 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006716/0.01439, allocations: 280.5 kB / 356.9 MB, free: 15.57 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002299/0.01462, allocations: 102.6 kB / 357 MB, free: 15.45 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.747e-05/0.01465, allocations: 11.98 kB / 357 MB, free: 15.44 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004572/0.01511, allocations: 225.2 kB / 357.2 MB, free: 15.19 MB / 298.7 MB Notification: Performance of pre-optimization done (n=24): time 1.322e-06/0.01511, allocations: 0 / 357.2 MB, free: 15.19 MB / 298.7 MB Notification: Performance of matching and sorting (n=24): time 0.0009698/0.01608, allocations: 357.2 kB / 357.6 MB, free: 14.84 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000206/0.01629, allocations: 243.3 kB / 357.8 MB, free: 14.54 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009516/0.01724, allocations: 0.6589 MB / 358.5 MB, free: 13.87 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 4.683e-05/0.01728, allocations: 37.7 kB / 358.5 MB, free: 13.82 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003286/0.01761, allocations: 307.3 kB / 358.8 MB, free: 13.52 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001107/0.01772, allocations: 75.62 kB / 358.9 MB, free: 13.45 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001409/0.01786, allocations: 75.34 kB / 358.9 MB, free: 13.36 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0004454/0.01831, allocations: 0.582 MB / 359.5 MB, free: 12.77 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001947/0.0185, allocations: 71.94 kB / 359.6 MB, free: 12.7 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007092/0.01921, allocations: 432.6 kB / 360 MB, free: 12.16 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005033/0.01972, allocations: 230.3 kB / 360.2 MB, free: 11.9 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.575e-06/0.01972, allocations: 0 / 360.2 MB, free: 11.9 MB / 298.7 MB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0006684/0.02039, allocations: 293.1 kB / 360.5 MB, free: 11.61 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.486e-05/0.0204, allocations: 8 kB / 360.5 MB, free: 11.6 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.349e-06/0.02041, allocations: 0 / 360.5 MB, free: 11.6 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.319e-05/0.02042, allocations: 7.984 kB / 360.5 MB, free: 11.59 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002542/0.02067, allocations: 55.91 kB / 360.6 MB, free: 11.54 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.528e-06/0.02068, allocations: 4 kB / 360.6 MB, free: 11.54 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001901/0.02087, allocations: 24.02 kB / 360.6 MB, free: 11.51 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.904e-05/0.0209, allocations: 23.86 kB / 360.7 MB, free: 11.49 MB / 298.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.0002602/0.02116, allocations: 212.8 kB / 360.9 MB, free: 11.27 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001273/0.02129, allocations: 67.59 kB / 360.9 MB, free: 11.2 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007744/0.02206, allocations: 321.4 kB / 361.2 MB, free: 10.88 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.198e-06/0.02207, allocations: 8 kB / 361.2 MB, free: 10.88 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.909e-06/0.02208, allocations: 0 / 361.2 MB, free: 10.88 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.871e-06/0.02208, allocations: 0 / 361.2 MB, free: 10.88 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005945/0.02268, allocations: 392.2 kB / 361.6 MB, free: 10.46 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.069e-06/0.02268, allocations: 11.98 kB / 361.6 MB, free: 10.45 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001479/0.02283, allocations: 31.92 kB / 361.7 MB, free: 10.41 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.075e-06/0.02284, allocations: 0 / 361.7 MB, free: 10.41 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.276e-05/0.02287, allocations: 11.98 kB / 361.7 MB, free: 10.4 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.23e-06/0.02287, allocations: 4 kB / 361.7 MB, free: 10.4 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.02287, allocations: 0 / 361.7 MB, free: 10.4 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007787/0.02365, allocations: 391.9 kB / 362.1 MB, free: 9.98 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001234/0.02378, allocations: 59.59 kB / 362.1 MB, free: 9.922 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.749e-05/0.02384, allocations: 8 kB / 362.1 MB, free: 9.914 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001577/0.024, allocations: 15.98 kB / 362.2 MB, free: 9.898 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001336/0.02414, allocations: 43.94 kB / 362.2 MB, free: 9.855 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.676e-05/0.02418, allocations: 23.92 kB / 362.2 MB, free: 9.832 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0005859/0.02477, allocations: 422.8 kB / 362.6 MB, free: 9.422 MB / 298.7 MB Notification: Performance of sort global known variables: time 8e-08/0.02477, allocations: 0 / 362.6 MB, free: 9.422 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0004664/0.02523, allocations: 99.86 kB / 362.7 MB, free: 9.324 MB / 298.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.003166/0.0284, allocations: 0.4904 MB / 363.2 MB, free: 8.938 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0006298/0.02903, allocations: 211.7 kB / 363.4 MB, free: 8.727 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.715e-06/0.02903, allocations: 4.25 kB / 363.4 MB, free: 8.723 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003127/0.02935, allocations: 135.5 kB / 363.6 MB, free: 8.586 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007899/0.03014, allocations: 154.5 kB / 363.7 MB, free: 8.438 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001455/0.03159, allocations: 0.7197 MB / 364.4 MB, free: 7.672 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003082/0.0319, allocations: 242 kB / 364.7 MB, free: 7.418 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0002278/0.03213, allocations: 75.25 kB / 364.7 MB, free: 7.34 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001576/0.03228, allocations: 56.48 kB / 364.8 MB, free: 7.285 MB / 298.7 MB Notification: Performance of SimCode: time 1.072e-06/0.03229, allocations: 0 / 364.8 MB, free: 7.285 MB / 298.7 MB Notification: Performance of Templates: time 0.01766/0.04995, allocations: 7.885 MB / 372.7 MB, free: 15.41 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Blocks.IntegerTable.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Blocks.IntegerTable.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Blocks.IntegerTable.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Blocks.IntegerTable.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Blocks.IntegerTable.sim & ./ModelicaTest_3.2.3_ModelicaTest.Blocks.IntegerTable -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Blocks.IntegerTable.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Blocks.IntegerTable_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Blocks/IntegerTable/IntegerTable.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_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.619854271993972]