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.001892/0.001892, allocations: 88.23 kB / 20.21 MB, free: 4.227 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.002471/0.002471, allocations: 157.7 kB / 23.52 MB, free: 0.918 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.59/1.59, 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.2329/0.2329, allocations: 32.38 MB / 270 MB, free: 14.77 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 2.465e-06/2.465e-06, allocations: 0 / 346.9 MB, free: 9.832 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.49e-05/3.736e-05, allocations: 10.25 kB / 346.9 MB, free: 9.82 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.IntegerTable): time 0.005749/0.005786, allocations: 2.162 MB / 349.1 MB, free: 7.652 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.004018/0.009804, allocations: 1.419 MB / 350.5 MB, free: 6.223 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002907/0.01009, allocations: 0 / 350.5 MB, free: 6.223 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006691/0.01076, allocations: 159.1 kB / 350.7 MB, free: 6.066 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0008861/0.01165, allocations: 223 kB / 350.9 MB, free: 5.848 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002446/0.0141, allocations: 0.6118 MB / 351.5 MB, free: 5.234 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0009113/0.01501, allocations: 0.5452 MB / 352 MB, free: 4.688 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002081/0.01522, allocations: 45.12 kB / 352.1 MB, free: 4.641 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005475/0.01576, allocations: 299.2 kB / 352.4 MB, free: 4.348 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003643/0.01613, allocations: 199.5 kB / 352.6 MB, free: 4.152 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 7.117e-05/0.0162, allocations: 24 kB / 352.6 MB, free: 4.129 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005782/0.01678, allocations: 187.7 kB / 352.8 MB, free: 3.945 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002133/0.01699, allocations: 135.5 kB / 352.9 MB, free: 3.812 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001889/0.01718, allocations: 111.6 kB / 353 MB, free: 3.703 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0009596/0.01814, allocations: 0.6074 MB / 353.6 MB, free: 3.094 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.071e-06/0.01814, allocations: 0 / 353.6 MB, free: 3.094 MB / 282.7 MB Notification: Performance of FrontEnd: time 2.084e-06/0.01815, allocations: 0 / 353.6 MB, free: 3.094 MB / 282.7 MB Notification: Performance of Transformations before backend: time 9.177e-06/0.01816, allocations: 0 / 353.6 MB, free: 3.094 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.001711/0.01987, allocations: 0.8148 MB / 354.4 MB, free: 2.219 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.998e-05/0.01992, allocations: 8.031 kB / 354.4 MB, free: 2.211 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001957/0.02011, allocations: 64.61 kB / 354.5 MB, free: 2.148 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000973/0.02108, allocations: 413.8 kB / 354.9 MB, free: 1.719 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.011e-05/0.02113, allocations: 12.61 kB / 354.9 MB, free: 1.707 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.016e-05/0.02118, allocations: 16.38 kB / 354.9 MB, free: 1.691 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000714/0.02189, allocations: 342.3 kB / 355.3 MB, free: 1.305 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.705e-05/0.02191, allocations: 3.938 kB / 355.3 MB, free: 1.301 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.11e-05/0.02195, allocations: 11.94 kB / 355.3 MB, free: 1.289 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.051e-05/0.02196, allocations: 4 kB / 355.3 MB, free: 1.285 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005862/0.02254, allocations: 119.8 kB / 355.4 MB, free: 1.168 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001375/0.02392, allocations: 0.7857 MB / 356.2 MB, free: 348 kB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001117/0.02504, allocations: 290.5 kB / 356.5 MB, free: 20 kB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000548/0.02558, allocations: 107.4 kB / 356.6 MB, free: 15.9 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.538e-05/0.02562, allocations: 4 kB / 356.6 MB, free: 15.9 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008461/0.02647, allocations: 228.2 kB / 356.8 MB, free: 15.65 MB / 298.7 MB Notification: Performance of pre-optimization done (n=24): time 2.495e-06/0.02647, allocations: 0 / 356.8 MB, free: 15.65 MB / 298.7 MB Notification: Performance of matching and sorting (n=24): time 0.002085/0.02855, allocations: 425 kB / 357.2 MB, free: 15.23 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002922/0.02884, allocations: 243.3 kB / 357.5 MB, free: 14.94 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001573/0.03042, allocations: 0.6355 MB / 358.1 MB, free: 14.29 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 7.459e-05/0.03049, allocations: 37.69 kB / 358.1 MB, free: 14.25 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003464/0.03084, allocations: 216.5 kB / 358.3 MB, free: 14.03 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001468/0.03099, allocations: 71.61 kB / 358.4 MB, free: 13.96 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001899/0.03118, allocations: 65.69 kB / 358.5 MB, free: 13.89 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0003745/0.03155, allocations: 370.7 kB / 358.8 MB, free: 13.52 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004398/0.03199, allocations: 87.94 kB / 358.9 MB, free: 13.43 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009783/0.03297, allocations: 435.2 kB / 359.4 MB, free: 12.91 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001058/0.03403, allocations: 247.7 kB / 359.6 MB, free: 12.64 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.288e-06/0.03403, allocations: 0 / 359.6 MB, free: 12.64 MB / 298.7 MB Notification: Performance of matching and sorting (n=32) (initialization): time 0.001409/0.03544, allocations: 341.1 kB / 359.9 MB, free: 12.3 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.542e-05/0.03546, allocations: 4 kB / 359.9 MB, free: 12.3 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.458e-05/0.03548, allocations: 7.938 kB / 359.9 MB, free: 12.29 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.893e-05/0.03551, allocations: 0 / 359.9 MB, free: 12.29 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005529/0.03606, allocations: 59.89 kB / 360 MB, free: 12.23 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.866e-05/0.03608, allocations: 8.062 kB / 360 MB, free: 12.23 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004283/0.03651, allocations: 27.88 kB / 360 MB, free: 12.2 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.059e-05/0.03656, allocations: 19.94 kB / 360.1 MB, free: 12.18 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.0004925/0.03705, allocations: 214 kB / 360.3 MB, free: 11.96 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000198/0.03725, allocations: 59.67 kB / 360.3 MB, free: 11.9 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001688/0.03894, allocations: 373.4 kB / 360.7 MB, free: 11.53 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.345e-05/0.03895, allocations: 4 kB / 360.7 MB, free: 11.53 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.147e-05/0.03896, allocations: 8 kB / 360.7 MB, free: 11.52 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.194e-05/0.03897, allocations: 4 kB / 360.7 MB, free: 11.52 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007585/0.03973, allocations: 316.8 kB / 361 MB, free: 11.18 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.137e-06/0.03974, allocations: 4 kB / 361 MB, free: 11.17 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002969/0.04003, allocations: 27.98 kB / 361 MB, free: 11.14 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.36e-06/0.04004, allocations: 0 / 361 MB, free: 11.14 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.436e-05/0.04008, allocations: 11.98 kB / 361.1 MB, free: 11.13 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.004e-05/0.04009, allocations: 4 kB / 361.1 MB, free: 11.13 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.264e-06/0.04009, allocations: 0 / 361.1 MB, free: 11.13 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001578/0.04167, allocations: 428.5 kB / 361.5 MB, free: 10.68 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001564/0.04183, allocations: 55.59 kB / 361.5 MB, free: 10.63 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000102/0.04193, allocations: 12 kB / 361.5 MB, free: 10.62 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003133/0.04224, allocations: 15.98 kB / 361.6 MB, free: 10.6 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001671/0.04241, allocations: 39.94 kB / 361.6 MB, free: 10.56 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.75e-05/0.04247, allocations: 19.92 kB / 361.6 MB, free: 10.54 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0009522/0.04342, allocations: 466.8 kB / 362.1 MB, free: 10.09 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.04342, allocations: 4 kB / 362.1 MB, free: 10.09 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0007654/0.04419, allocations: 95.86 kB / 362.2 MB, free: 9.992 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.002906/0.04709, allocations: 0.4886 MB / 362.7 MB, free: 9.598 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0009149/0.04801, allocations: 231.7 kB / 362.9 MB, free: 9.371 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 3.547e-06/0.04801, allocations: 0 / 362.9 MB, free: 9.371 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005596/0.04857, allocations: 175.8 kB / 363.1 MB, free: 9.199 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001022/0.04959, allocations: 158.9 kB / 363.2 MB, free: 9.047 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001849/0.05144, allocations: 0.8074 MB / 364 MB, free: 8.203 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003035/0.05174, allocations: 254 kB / 364.3 MB, free: 7.934 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0002406/0.05198, allocations: 87.23 kB / 364.3 MB, free: 7.844 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001544/0.05214, allocations: 60.47 kB / 364.4 MB, free: 7.785 MB / 298.7 MB Notification: Performance of SimCode: time 4.61e-07/0.05214, allocations: 0 / 364.4 MB, free: 7.785 MB / 298.7 MB Notification: Performance of Templates: time 0.01726/0.0694, allocations: 7.896 MB / 372.3 MB, free: 15.9 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=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Blocks.IntegerTable.pipe 2>&1) [Timeout 480] 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.24493286293]