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.001726/0.001726, allocations: 88.31 kB / 20.96 MB, free: 3.477 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.002044/0.002044, allocations: 161.6 kB / 24.27 MB, free: 172 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.476/1.476, allocations: 177.1 MB / 204.6 MB, free: 5.586 MB / 186.7 MB " [Timeout remaining time 178] 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.3513/0.3513, allocations: 32.8 MB / 293.9 MB, free: 1.191 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 2.485e-06/2.485e-06, allocations: 0 / 375.2 MB, free: 4.996 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.93e-05/3.178e-05, allocations: 2.312 kB / 375.2 MB, free: 4.992 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.IntegerTable): time 0.003984/0.004016, allocations: 2.208 MB / 377.4 MB, free: 2.77 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.00335/0.007366, allocations: 1.637 MB / 379.1 MB, free: 1.125 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001707/0.007537, allocations: 3.938 kB / 379.1 MB, free: 1.121 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004831/0.00802, allocations: 147.2 kB / 379.2 MB, free: 0.9766 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0007433/0.008763, allocations: 294.6 kB / 379.5 MB, free: 0.6875 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001443/0.01021, allocations: 0.5377 MB / 380.1 MB, free: 152 kB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0008313/0.01104, allocations: 0.5843 MB / 380.6 MB, free: 15.56 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001631/0.0112, allocations: 49.19 kB / 380.7 MB, free: 15.51 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004577/0.01166, allocations: 303.2 kB / 381 MB, free: 15.21 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003134/0.01197, allocations: 207.4 kB / 381.2 MB, free: 15.01 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 5.618e-05/0.01203, allocations: 32 kB / 381.2 MB, free: 14.98 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004027/0.01243, allocations: 187.7 kB / 381.4 MB, free: 14.79 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002064/0.01264, allocations: 135.5 kB / 381.5 MB, free: 14.66 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001836/0.01282, allocations: 123.5 kB / 381.7 MB, free: 14.54 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0009677/0.01379, allocations: 0.6152 MB / 382.3 MB, free: 13.92 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.581e-06/0.01379, allocations: 0 / 382.3 MB, free: 13.92 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.994e-06/0.0138, allocations: 0 / 382.3 MB, free: 13.92 MB / 362.7 MB Notification: Performance of Transformations before backend: time 8.305e-06/0.0138, allocations: 0 / 382.3 MB, free: 13.92 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.001475/0.01528, allocations: 0.8535 MB / 383.1 MB, free: 13.01 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.743e-05/0.01532, allocations: 12.03 kB / 383.1 MB, free: 13 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001552/0.01547, allocations: 68.56 kB / 383.2 MB, free: 12.93 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007725/0.01624, allocations: 424.4 kB / 383.6 MB, free: 12.49 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.241e-05/0.01628, allocations: 16.59 kB / 383.6 MB, free: 12.48 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.369e-05/0.01631, allocations: 16.31 kB / 383.6 MB, free: 12.46 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005929/0.0169, allocations: 343.9 kB / 384 MB, free: 12.07 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.825e-05/0.01692, allocations: 11.91 kB / 384 MB, free: 12.06 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.237e-05/0.01695, allocations: 4 kB / 384 MB, free: 12.05 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.315e-06/0.01696, allocations: 8 kB / 384 MB, free: 12.05 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003689/0.01733, allocations: 123.8 kB / 384.1 MB, free: 11.93 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001202/0.01853, allocations: 0.7818 MB / 384.9 MB, free: 11.1 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000773/0.01931, allocations: 290.5 kB / 385.2 MB, free: 10.78 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002764/0.01958, allocations: 111.4 kB / 385.3 MB, free: 10.66 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.899e-05/0.01961, allocations: 8 kB / 385.3 MB, free: 10.65 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005829/0.0202, allocations: 229.2 kB / 385.5 MB, free: 10.41 MB / 362.7 MB Notification: Performance of pre-optimization done (n=24): time 1.383e-06/0.0202, allocations: 0 / 385.5 MB, free: 10.41 MB / 362.7 MB Notification: Performance of matching and sorting (n=24): time 0.001168/0.02136, allocations: 438 kB / 386 MB, free: 9.973 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001672/0.02153, allocations: 235.3 kB / 386.2 MB, free: 9.688 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009248/0.02246, allocations: 0.6747 MB / 386.9 MB, free: 9.004 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 4.077e-05/0.0225, allocations: 37.7 kB / 386.9 MB, free: 8.961 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002357/0.02273, allocations: 240.6 kB / 387.1 MB, free: 8.723 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.866e-05/0.02281, allocations: 63.55 kB / 387.2 MB, free: 8.66 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001262/0.02294, allocations: 57.69 kB / 387.3 MB, free: 8.598 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0002423/0.02318, allocations: 374.7 kB / 387.6 MB, free: 8.223 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002476/0.02343, allocations: 91.94 kB / 387.7 MB, free: 8.133 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005553/0.02398, allocations: 443.7 kB / 388.1 MB, free: 7.602 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005789/0.02456, allocations: 242.7 kB / 388.4 MB, free: 7.34 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.965e-06/0.02456, allocations: 0 / 388.4 MB, free: 7.34 MB / 362.7 MB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0007862/0.02535, allocations: 341.2 kB / 388.7 MB, free: 7 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.1e-05/0.02537, allocations: 8 kB / 388.7 MB, free: 6.992 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.404e-06/0.02538, allocations: 3.938 kB / 388.7 MB, free: 6.988 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.483e-05/0.0254, allocations: 8.125 kB / 388.7 MB, free: 6.98 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00029/0.02569, allocations: 59.89 kB / 388.8 MB, free: 6.922 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.124e-05/0.0257, allocations: 4 kB / 388.8 MB, free: 6.918 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000224/0.02593, allocations: 31.83 kB / 388.8 MB, free: 6.887 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.069e-05/0.02596, allocations: 11.94 kB / 388.8 MB, free: 6.875 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.0002945/0.02625, allocations: 225.8 kB / 389.1 MB, free: 6.645 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000118/0.02637, allocations: 55.67 kB / 389.1 MB, free: 6.59 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009115/0.02728, allocations: 389.6 kB / 389.5 MB, free: 6.203 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.327e-06/0.02729, allocations: 4 kB / 389.5 MB, free: 6.199 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.725e-06/0.0273, allocations: 4 kB / 389.5 MB, free: 6.195 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.398e-06/0.02731, allocations: 0 / 389.5 MB, free: 6.195 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004415/0.02775, allocations: 324.9 kB / 389.8 MB, free: 5.848 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.973e-06/0.02775, allocations: 0 / 389.8 MB, free: 5.848 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001626/0.02791, allocations: 31.98 kB / 389.9 MB, free: 5.816 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.717e-06/0.02792, allocations: 7.984 kB / 389.9 MB, free: 5.809 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.59e-05/0.02795, allocations: 7.984 kB / 389.9 MB, free: 5.801 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.104e-06/0.02795, allocations: 4 kB / 389.9 MB, free: 5.797 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.707e-06/0.02796, allocations: 7.938 kB / 389.9 MB, free: 5.789 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008188/0.02878, allocations: 407.4 kB / 390.3 MB, free: 5.363 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001115/0.02889, allocations: 59.66 kB / 390.3 MB, free: 5.305 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.381e-05/0.02896, allocations: 12 kB / 390.3 MB, free: 5.293 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001783/0.02914, allocations: 15.98 kB / 390.4 MB, free: 5.277 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001203/0.02926, allocations: 39.94 kB / 390.4 MB, free: 5.238 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.294e-05/0.0293, allocations: 23.92 kB / 390.4 MB, free: 5.215 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0006667/0.02997, allocations: 494.8 kB / 390.9 MB, free: 4.734 MB / 362.7 MB Notification: Performance of sort global known variables: time 1e-07/0.02997, allocations: 7.938 kB / 390.9 MB, free: 4.727 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0004693/0.03044, allocations: 91.92 kB / 391 MB, free: 4.637 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.002158/0.0326, allocations: 496.7 kB / 391.5 MB, free: 4.328 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0006915/0.03329, allocations: 239.6 kB / 391.7 MB, free: 4.098 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.866e-06/0.03329, allocations: 3.938 kB / 391.7 MB, free: 4.094 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000406/0.0337, allocations: 172.1 kB / 391.9 MB, free: 3.926 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007569/0.03445, allocations: 161 kB / 392.1 MB, free: 3.777 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001619/0.03607, allocations: 0.8458 MB / 392.9 MB, free: 2.887 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002894/0.03636, allocations: 250.1 kB / 393.1 MB, free: 2.613 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0002368/0.0366, allocations: 95.27 kB / 393.2 MB, free: 2.52 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001569/0.03676, allocations: 56.47 kB / 393.3 MB, free: 2.465 MB / 362.7 MB Notification: Performance of SimCode: time 6.21e-07/0.03676, allocations: 0 / 393.3 MB, free: 2.465 MB / 362.7 MB Notification: Performance of Templates: time 0.01641/0.05317, allocations: 8.002 MB / 401.3 MB, free: 10.56 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=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Blocks.IntegerTable.pipe 2>&1) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_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.005587048945017]