Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_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.001428/0.001428, allocations: 83.58 kB / 21.19 MB, free: 3.383 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.001595/0.001595, allocations: 161 kB / 24.56 MB, free: 16 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.03/1.03, allocations: 177.2 MB / 205 MB, free: 5.605 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2812/0.2812, allocations: 32.8 MB / 294.3 MB, free: 1.297 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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_4.0.0_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_4.0.0_ModelicaTest.Blocks.IntegerTable") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.502e-06/1.502e-06, allocations: 0 / 376 MB, free: 4.691 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.641e-05/2.791e-05, allocations: 2.312 kB / 376 MB, free: 4.688 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.IntegerTable): time 0.003102/0.00313, allocations: 2.306 MB / 378.3 MB, free: 2.367 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.002525/0.005655, allocations: 1.664 MB / 380 MB, free: 0.6953 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002883/0.005944, allocations: 7.938 kB / 380 MB, free: 0.6875 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004712/0.006415, allocations: 143.2 kB / 380.1 MB, free: 0.5469 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0007064/0.007121, allocations: 302.5 kB / 380.4 MB, free: 256 kB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00126/0.008381, allocations: 0.53 MB / 380.9 MB, free: 15.72 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007444/0.009125, allocations: 0.5919 MB / 381.5 MB, free: 15.12 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001603/0.009285, allocations: 41.27 kB / 381.6 MB, free: 15.08 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004522/0.009738, allocations: 315.2 kB / 381.9 MB, free: 14.77 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002757/0.01001, allocations: 207.4 kB / 382.1 MB, free: 14.57 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 5.093e-05/0.01006, allocations: 28 kB / 382.1 MB, free: 14.54 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003767/0.01044, allocations: 191.6 kB / 382.3 MB, free: 14.36 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001674/0.01061, allocations: 135.5 kB / 382.4 MB, free: 14.22 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001361/0.01074, allocations: 115.6 kB / 382.5 MB, free: 14.11 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006607/0.01141, allocations: 466.3 kB / 383 MB, free: 13.65 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.468e-06/0.01141, allocations: 0 / 383 MB, free: 13.65 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.051e-06/0.01141, allocations: 0 / 383 MB, free: 13.65 MB / 362.7 MB Notification: Performance of Transformations before backend: time 9.107e-06/0.01142, allocations: 0 / 383 MB, free: 13.65 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.00117/0.01259, allocations: 0.9612 MB / 384 MB, free: 12.63 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.264e-05/0.01263, allocations: 12.03 kB / 384 MB, free: 12.62 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001258/0.01276, allocations: 64.61 kB / 384 MB, free: 12.55 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005776/0.01334, allocations: 395.2 kB / 384.4 MB, free: 12.14 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.664e-05/0.01337, allocations: 16.55 kB / 384.4 MB, free: 12.12 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.463e-05/0.01341, allocations: 16.38 kB / 384.5 MB, free: 12.11 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004174/0.01383, allocations: 336 kB / 384.8 MB, free: 11.71 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.595e-05/0.01384, allocations: 11.86 kB / 384.8 MB, free: 11.7 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.535e-05/0.01387, allocations: 11.98 kB / 384.8 MB, free: 11.69 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.068e-05/0.01388, allocations: 8 kB / 384.8 MB, free: 11.68 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001542/0.01403, allocations: 59.89 kB / 384.9 MB, free: 11.62 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009404/0.01497, allocations: 0.9375 MB / 385.8 MB, free: 10.64 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003647/0.01534, allocations: 220.6 kB / 386 MB, free: 10.37 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001173/0.01545, allocations: 82.66 kB / 386.1 MB, free: 10.27 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.321e-05/0.01548, allocations: 8 kB / 386.1 MB, free: 10.27 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002755/0.01575, allocations: 206.5 kB / 386.3 MB, free: 10.04 MB / 362.7 MB Notification: Performance of pre-optimization done (n=24): time 1.463e-06/0.01575, allocations: 0 / 386.3 MB, free: 10.04 MB / 362.7 MB Notification: Performance of matching and sorting (n=24): time 0.0005936/0.01635, allocations: 305.9 kB / 386.6 MB, free: 9.73 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.692e-05/0.01644, allocations: 243.3 kB / 386.8 MB, free: 9.438 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005968/0.01704, allocations: 0.5689 MB / 387.4 MB, free: 8.852 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 3.428e-05/0.01708, allocations: 37.69 kB / 387.5 MB, free: 8.809 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001853/0.01726, allocations: 279.3 kB / 387.7 MB, free: 8.531 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.579e-05/0.01733, allocations: 75.61 kB / 387.8 MB, free: 8.457 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.441e-05/0.01742, allocations: 67.34 kB / 387.9 MB, free: 8.383 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001852/0.01761, allocations: 0.5469 MB / 388.4 MB, free: 7.824 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001051/0.01771, allocations: 47.95 kB / 388.5 MB, free: 7.777 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002561/0.01797, allocations: 400.5 kB / 388.9 MB, free: 7.27 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002426/0.01821, allocations: 173.4 kB / 389 MB, free: 7.066 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.876e-06/0.01821, allocations: 0 / 389 MB, free: 7.066 MB / 362.7 MB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0004069/0.01862, allocations: 257.4 kB / 389.3 MB, free: 6.809 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.951e-05/0.01864, allocations: 12 kB / 389.3 MB, free: 6.797 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.224e-06/0.01865, allocations: 0 / 389.3 MB, free: 6.797 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.076e-05/0.01867, allocations: 4 kB / 389.3 MB, free: 6.793 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001986/0.01887, allocations: 51.91 kB / 389.3 MB, free: 6.742 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.586e-06/0.01887, allocations: 4 kB / 389.3 MB, free: 6.738 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001367/0.01901, allocations: 31.77 kB / 389.4 MB, free: 6.707 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.184e-05/0.01903, allocations: 19.94 kB / 389.4 MB, free: 6.688 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.0001507/0.01918, allocations: 188.6 kB / 389.6 MB, free: 6.492 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.538e-05/0.01927, allocations: 63.67 kB / 389.6 MB, free: 6.43 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004848/0.01975, allocations: 294 kB / 389.9 MB, free: 6.137 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.22e-06/0.01976, allocations: 4 kB / 389.9 MB, free: 6.133 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.839e-06/0.01976, allocations: 0 / 389.9 MB, free: 6.133 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.16e-06/0.01977, allocations: 0 / 389.9 MB, free: 6.133 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003309/0.0201, allocations: 336.2 kB / 390.3 MB, free: 5.77 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.497e-06/0.0201, allocations: 3.984 kB / 390.3 MB, free: 5.766 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001081/0.02021, allocations: 36.16 kB / 390.3 MB, free: 5.73 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.119e-06/0.02022, allocations: 4 kB / 390.3 MB, free: 5.727 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.134e-05/0.02024, allocations: 16 kB / 390.3 MB, free: 5.711 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.777e-06/0.02024, allocations: 4 kB / 390.3 MB, free: 5.707 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.674e-06/0.02024, allocations: 0 / 390.3 MB, free: 5.707 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004434/0.02069, allocations: 347 kB / 390.7 MB, free: 5.332 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.45e-05/0.02076, allocations: 59.59 kB / 390.7 MB, free: 5.273 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.206e-05/0.02081, allocations: 8 kB / 390.7 MB, free: 5.266 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001081/0.02092, allocations: 15.98 kB / 390.7 MB, free: 5.25 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.659e-05/0.02102, allocations: 39.94 kB / 390.8 MB, free: 5.211 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.312e-05/0.02105, allocations: 23.92 kB / 390.8 MB, free: 5.188 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0003744/0.02143, allocations: 382.8 kB / 391.2 MB, free: 4.816 MB / 362.7 MB Notification: Performance of sort global known variables: time 6e-08/0.02143, allocations: 0 / 391.2 MB, free: 4.816 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0004396/0.02187, allocations: 95.88 kB / 391.3 MB, free: 4.723 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.00114/0.02301, allocations: 445.3 kB / 391.7 MB, free: 4.418 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0003453/0.02335, allocations: 159.5 kB / 391.9 MB, free: 4.258 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.455e-06/0.02335, allocations: 0 / 391.9 MB, free: 4.258 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001606/0.02351, allocations: 95.52 kB / 392 MB, free: 4.16 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005729/0.02409, allocations: 175.5 kB / 392.1 MB, free: 4.004 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001028/0.02511, allocations: 0.7109 MB / 392.8 MB, free: 3.246 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001021/0.02522, allocations: 133.5 kB / 393 MB, free: 3.09 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001878/0.0254, allocations: 71.3 kB / 393 MB, free: 3.02 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001229/0.02553, allocations: 64.47 kB / 393.1 MB, free: 2.957 MB / 362.7 MB Notification: Performance of SimCode: time 8.21e-07/0.02553, allocations: 3.938 kB / 393.1 MB, free: 2.953 MB / 362.7 MB Notification: Performance of Templates: time 0.01295/0.03848, allocations: 8.003 MB / 401.1 MB, free: 11.04 MB / 378.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Blocks.IntegerTable.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Blocks.IntegerTable.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Blocks.IntegerTable.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Blocks.IntegerTable.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Blocks.IntegerTable.sim & ./ModelicaTest_4.0.0_ModelicaTest.Blocks.IntegerTable -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Blocks.IntegerTable.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Blocks.IntegerTable_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.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.5467651560902596]