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.001435/0.001435, allocations: 79.73 kB / 21.25 MB, free: 396 kB / 14.72 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.001555/0.001555, allocations: 160.5 kB / 24.5 MB, free: 3.453 MB / 14.72 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.512/1.512, allocations: 177.1 MB / 204.7 MB, free: 9.016 MB / 190.1 MB " [Timeout remaining time 178] 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.2287/0.2287, allocations: 34.25 MB / 295.4 MB, free: 14.51 MB / 286.1 MB " [Timeout remaining time 179] 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 0.002713/0.002713, allocations: 83.81 kB / 443.1 MB, free: 6.531 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3515/0.3542, allocations: 66.05 MB / 0.4973 GB, free: 29.8 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.IntegerTable): time 0.004019/0.3582, allocations: 2.22 MB / 0.4994 GB, free: 28.29 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.002789/0.361, allocations: 1.623 MB / 0.501 GB, free: 27.23 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003095/0.3613, allocations: 7.25 kB / 0.501 GB, free: 27.23 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00045/0.3618, allocations: 142.5 kB / 0.5011 GB, free: 27.18 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000706/0.3625, allocations: 292.5 kB / 0.5014 GB, free: 27.02 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001382/0.3638, allocations: 0.542 MB / 0.502 GB, free: 26.75 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007395/0.3646, allocations: 0.5701 MB / 0.5025 GB, free: 26.47 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001687/0.3647, allocations: 51.16 kB / 0.5026 GB, free: 26.44 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003782/0.3651, allocations: 234.8 kB / 0.5028 GB, free: 26.33 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003593/0.3655, allocations: 241.1 kB / 0.503 GB, free: 26.23 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 7.678e-05/0.3656, allocations: 28.19 kB / 0.503 GB, free: 26.23 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003763/0.3659, allocations: 195.2 kB / 0.5032 GB, free: 26.18 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001595/0.3661, allocations: 134.6 kB / 0.5034 GB, free: 26.12 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001736/0.3663, allocations: 149 kB / 0.5035 GB, free: 26.02 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006534/0.3669, allocations: 0.6047 MB / 0.5041 GB, free: 25.77 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.65e-06/0.3669, allocations: 3.328 kB / 0.5041 GB, free: 25.77 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.324e-06/0.3669, allocations: 0 / 0.5041 GB, free: 25.77 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.788e-05/0.367, allocations: 0 / 0.5041 GB, free: 25.77 MB / 446.1 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.001446/0.3684, allocations: 0.858 MB / 0.5049 GB, free: 25.07 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.959e-05/0.3684, allocations: 9.438 kB / 0.5049 GB, free: 25.07 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001671/0.3686, allocations: 62.42 kB / 0.505 GB, free: 25.04 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007435/0.3693, allocations: 417.1 kB / 0.5054 GB, free: 24.76 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.754e-05/0.3694, allocations: 12.52 kB / 0.5054 GB, free: 24.76 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.694e-05/0.3694, allocations: 16.25 kB / 0.5054 GB, free: 24.75 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004535/0.3699, allocations: 349.1 kB / 0.5058 GB, free: 24.47 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.259e-05/0.3699, allocations: 0 / 0.5058 GB, free: 24.47 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.777e-05/0.3699, allocations: 14.44 kB / 0.5058 GB, free: 24.46 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.475e-06/0.3699, allocations: 3.094 kB / 0.5058 GB, free: 24.46 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002942/0.3702, allocations: 113.6 kB / 0.5059 GB, free: 24.43 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009803/0.3712, allocations: 0.792 MB / 0.5067 GB, free: 23.83 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005837/0.3718, allocations: 295.5 kB / 0.5069 GB, free: 23.66 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000196/0.372, allocations: 114.3 kB / 0.507 GB, free: 23.59 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.972e-05/0.372, allocations: 7.094 kB / 0.5071 GB, free: 23.59 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003968/0.3724, allocations: 221.8 kB / 0.5073 GB, free: 23.46 MB / 446.1 MB Notification: Performance of pre-optimization done (n=24): time 1.763e-06/0.3724, allocations: 0 / 0.5073 GB, free: 23.46 MB / 446.1 MB Notification: Performance of matching and sorting (n=24): time 0.0009159/0.3733, allocations: 425.6 kB / 0.5077 GB, free: 23.29 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.708e-05/0.3734, allocations: 241.7 kB / 0.5079 GB, free: 23.01 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00067/0.374, allocations: 0.673 MB / 0.5086 GB, free: 22.73 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 2.825e-05/0.3741, allocations: 39.8 kB / 0.5086 GB, free: 22.69 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001871/0.3743, allocations: 233.5 kB / 0.5088 GB, free: 22.5 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.071e-05/0.3743, allocations: 68.5 kB / 0.5089 GB, free: 22.45 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.509e-05/0.3744, allocations: 64.95 kB / 0.5089 GB, free: 22.41 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 9.348e-05/0.3745, allocations: 371.8 kB / 0.5093 GB, free: 22.07 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002062/0.3747, allocations: 87.38 kB / 0.5094 GB, free: 22.05 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003016/0.375, allocations: 428.3 kB / 0.5098 GB, free: 21.63 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004167/0.3754, allocations: 244.5 kB / 0.51 GB, free: 21.48 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.516e-06/0.3754, allocations: 0 / 0.51 GB, free: 21.48 MB / 446.1 MB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0006045/0.376, allocations: 331.3 kB / 0.5103 GB, free: 21.33 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.952e-05/0.3761, allocations: 10.41 kB / 0.5104 GB, free: 21.33 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.254e-06/0.3761, allocations: 3.219 kB / 0.5104 GB, free: 21.33 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.019e-05/0.3761, allocations: 3.156 kB / 0.5104 GB, free: 21.33 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002448/0.3763, allocations: 52.58 kB / 0.5104 GB, free: 21.32 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.079e-05/0.3763, allocations: 5.891 kB / 0.5104 GB, free: 21.32 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000225/0.3766, allocations: 31.86 kB / 0.5104 GB, free: 21.31 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.471e-05/0.3766, allocations: 10.59 kB / 0.5105 GB, free: 21.3 MB / 446.1 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.0002357/0.3768, allocations: 223.9 kB / 0.5107 GB, free: 21.14 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001071/0.3769, allocations: 59.78 kB / 0.5107 GB, free: 21.11 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007495/0.3777, allocations: 381.4 kB / 0.5111 GB, free: 20.95 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.66e-06/0.3777, allocations: 2.812 kB / 0.5111 GB, free: 20.95 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.275e-06/0.3777, allocations: 3.188 kB / 0.5111 GB, free: 20.95 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.618e-06/0.3777, allocations: 3.938 kB / 0.5111 GB, free: 20.95 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004073/0.3781, allocations: 324.2 kB / 0.5114 GB, free: 20.74 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.699e-06/0.3781, allocations: 3.094 kB / 0.5114 GB, free: 20.74 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001426/0.3783, allocations: 28.44 kB / 0.5114 GB, free: 20.74 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.318e-06/0.3783, allocations: 7 kB / 0.5114 GB, free: 20.73 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.638e-05/0.3783, allocations: 17.05 kB / 0.5115 GB, free: 20.73 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.175e-06/0.3783, allocations: 0 / 0.5115 GB, free: 20.73 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.13e-06/0.3783, allocations: 6.031 kB / 0.5115 GB, free: 20.73 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00069/0.379, allocations: 402.6 kB / 0.5119 GB, free: 20.52 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000115/0.3791, allocations: 54.55 kB / 0.5119 GB, free: 20.48 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.826e-05/0.3792, allocations: 16.09 kB / 0.5119 GB, free: 20.47 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001912/0.3794, allocations: 10.98 kB / 0.5119 GB, free: 20.47 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001461/0.3795, allocations: 46.59 kB / 0.512 GB, free: 20.45 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.358e-05/0.3796, allocations: 23.03 kB / 0.512 GB, free: 20.45 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0007062/0.3803, allocations: 497.5 kB / 0.5125 GB, free: 20.25 MB / 446.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3803, allocations: 0 / 0.5125 GB, free: 20.25 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0005583/0.3809, allocations: 102.9 kB / 0.5126 GB, free: 20.23 MB / 446.1 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.001784/0.3826, allocations: 481.9 kB / 0.513 GB, free: 19.98 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0006974/0.3833, allocations: 232.7 kB / 0.5132 GB, free: 19.91 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 4.278e-06/0.3833, allocations: 5.094 kB / 0.5133 GB, free: 19.91 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000448/0.3838, allocations: 178.6 kB / 0.5134 GB, free: 19.86 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008442/0.3846, allocations: 151.9 kB / 0.5136 GB, free: 19.81 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001398/0.386, allocations: 0.834 MB / 0.5144 GB, free: 19.34 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002984/0.3863, allocations: 248.4 kB / 0.5146 GB, free: 19.23 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0002667/0.3866, allocations: 90.91 kB / 0.5147 GB, free: 19.21 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001365/0.3867, allocations: 58.25 kB / 0.5148 GB, free: 19.2 MB / 446.1 MB Notification: Performance of SimCode: time 5.82e-07/0.3867, allocations: 3.938 kB / 0.5148 GB, free: 19.19 MB / 446.1 MB Notification: Performance of Templates: time 0.01924/0.406, allocations: 7.992 MB / 0.5226 GB, free: 18.17 MB / 446.1 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=480 -s ida -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Blocks.IntegerTable.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Blocks.IntegerTable_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Blocks/IntegerTable/IntegerTable.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_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.37661631393712]