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.001355/0.001355, allocations: 106.1 kB / 19.8 MB, free: 2.5 MB / 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.001392/0.001392, allocations: 213.5 kB / 22.99 MB, free: 5.574 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.533/1.533, allocations: 230.2 MB / 256.2 MB, free: 8.543 MB / 206.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.2516/0.2516, allocations: 46.92 MB / 359.4 MB, free: 4.852 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.002281/0.002281, allocations: 83.88 kB / 0.4946 GB, free: 8.477 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4356/0.4379, allocations: 65.99 MB / 0.5591 GB, free: 5.062 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.IntegerTable): time 0.004267/0.4421, allocations: 2.338 MB / 0.5614 GB, free: 2.707 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.003168/0.4453, allocations: 1.72 MB / 0.563 GB, free: 0.9805 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001738/0.4455, allocations: 7.938 kB / 0.563 GB, free: 0.9727 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005034/0.446, allocations: 151.2 kB / 0.5632 GB, free: 0.8242 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006508/0.4466, allocations: 286.8 kB / 0.5635 GB, free: 0.543 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001464/0.4481, allocations: 0.5374 MB / 0.564 GB, free: 12 kB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007028/0.4488, allocations: 0.561 MB / 0.5645 GB, free: 15.45 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001578/0.449, allocations: 45.06 kB / 0.5646 GB, free: 15.4 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003072/0.4493, allocations: 243 kB / 0.5648 GB, free: 15.16 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002934/0.4496, allocations: 235 kB / 0.565 GB, free: 14.93 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 4.699e-05/0.4496, allocations: 28 kB / 0.5651 GB, free: 14.91 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000333/0.4499, allocations: 179.8 kB / 0.5652 GB, free: 14.73 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001759/0.4501, allocations: 135.5 kB / 0.5654 GB, free: 14.6 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002164/0.4503, allocations: 214.6 kB / 0.5656 GB, free: 14.39 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007326/0.4511, allocations: 0.5976 MB / 0.5662 GB, free: 13.79 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.11e-06/0.4511, allocations: 0 / 0.5662 GB, free: 13.79 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.613e-06/0.4511, allocations: 0 / 0.5662 GB, free: 13.79 MB / 414.1 MB Notification: Performance of Transformations before backend: time 7.414e-06/0.4511, allocations: 0 / 0.5662 GB, free: 13.79 MB / 414.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.001416/0.4525, allocations: 0.9366 MB / 0.5671 GB, free: 12.78 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.021e-05/0.4525, allocations: 8.031 kB / 0.5671 GB, free: 12.77 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001179/0.4526, allocations: 60.56 kB / 0.5671 GB, free: 12.71 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007064/0.4534, allocations: 492.5 kB / 0.5676 GB, free: 12.19 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.119e-05/0.4534, allocations: 12.61 kB / 0.5676 GB, free: 12.18 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.101e-05/0.4534, allocations: 12.31 kB / 0.5676 GB, free: 12.16 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005204/0.4539, allocations: 269.2 kB / 0.5679 GB, free: 11.86 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.287e-05/0.4539, allocations: 0 / 0.5679 GB, free: 11.86 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.919e-05/0.454, allocations: 11.98 kB / 0.5679 GB, free: 11.85 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.056e-05/0.454, allocations: 4 kB / 0.5679 GB, free: 11.84 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003124/0.4543, allocations: 107.9 kB / 0.568 GB, free: 11.74 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001235/0.4555, allocations: 0.8874 MB / 0.5689 GB, free: 10.79 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006837/0.4562, allocations: 286.5 kB / 0.5691 GB, free: 10.47 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002282/0.4564, allocations: 99.39 kB / 0.5692 GB, free: 10.36 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.206e-05/0.4565, allocations: 8 kB / 0.5692 GB, free: 10.36 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004475/0.4569, allocations: 217.9 kB / 0.5694 GB, free: 10.12 MB / 414.1 MB Notification: Performance of pre-optimization done (n=24): time 1.493e-06/0.4569, allocations: 0 / 0.5694 GB, free: 10.12 MB / 414.1 MB Notification: Performance of matching and sorting (n=24): time 0.001002/0.4579, allocations: 409.8 kB / 0.5698 GB, free: 9.715 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002224/0.4582, allocations: 342.1 kB / 0.5702 GB, free: 9.301 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008386/0.459, allocations: 0.6669 MB / 0.5708 GB, free: 8.621 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.778e-05/0.459, allocations: 33.7 kB / 0.5708 GB, free: 8.582 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000219/0.4593, allocations: 248.6 kB / 0.5711 GB, free: 8.336 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.935e-05/0.4593, allocations: 71.52 kB / 0.5712 GB, free: 8.266 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001029/0.4594, allocations: 65.69 kB / 0.5712 GB, free: 8.195 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002113/0.4597, allocations: 366.8 kB / 0.5716 GB, free: 7.828 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002041/0.4599, allocations: 75.95 kB / 0.5716 GB, free: 7.754 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003612/0.4602, allocations: 249 kB / 0.5719 GB, free: 7.449 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000458/0.4607, allocations: 234.7 kB / 0.5721 GB, free: 7.195 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.515e-06/0.4607, allocations: 0 / 0.5721 GB, free: 7.195 MB / 414.1 MB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0006248/0.4613, allocations: 317.3 kB / 0.5724 GB, free: 6.879 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.193e-05/0.4613, allocations: 11.98 kB / 0.5724 GB, free: 6.867 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.222e-06/0.4613, allocations: 0 / 0.5724 GB, free: 6.867 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.002e-05/0.4614, allocations: 4 kB / 0.5724 GB, free: 6.863 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002516/0.4616, allocations: 55.91 kB / 0.5725 GB, free: 6.809 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.327e-05/0.4616, allocations: 7.875 kB / 0.5725 GB, free: 6.801 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002007/0.4618, allocations: 31.88 kB / 0.5725 GB, free: 6.77 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.317e-05/0.4618, allocations: 12 kB / 0.5725 GB, free: 6.758 MB / 414.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.0002613/0.4621, allocations: 221.8 kB / 0.5727 GB, free: 6.531 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.532e-05/0.4622, allocations: 63.61 kB / 0.5728 GB, free: 6.469 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00076/0.463, allocations: 350 kB / 0.5731 GB, free: 6.117 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.562e-06/0.463, allocations: 4 kB / 0.5731 GB, free: 6.113 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.566e-06/0.463, allocations: 7.938 kB / 0.5731 GB, free: 6.105 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.619e-06/0.463, allocations: 0 / 0.5731 GB, free: 6.105 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004991/0.4635, allocations: 425.2 kB / 0.5735 GB, free: 5.641 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.934e-06/0.4635, allocations: 0 / 0.5735 GB, free: 5.641 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001268/0.4636, allocations: 27.97 kB / 0.5736 GB, free: 5.613 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.406e-06/0.4636, allocations: 0 / 0.5736 GB, free: 5.613 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.358e-05/0.4636, allocations: 12 kB / 0.5736 GB, free: 5.602 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.449e-06/0.4636, allocations: 7.922 kB / 0.5736 GB, free: 5.594 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.935e-06/0.4636, allocations: 3.938 kB / 0.5736 GB, free: 5.59 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006616/0.4643, allocations: 363 kB / 0.5739 GB, free: 5.207 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001274/0.4644, allocations: 132.8 kB / 0.5741 GB, free: 5.059 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.447e-05/0.4645, allocations: 8 kB / 0.5741 GB, free: 5.051 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001548/0.4646, allocations: 15.98 kB / 0.5741 GB, free: 5.035 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001114/0.4648, allocations: 43.89 kB / 0.5741 GB, free: 4.992 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.903e-05/0.4648, allocations: 19.98 kB / 0.5742 GB, free: 4.973 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0005926/0.4654, allocations: 490.8 kB / 0.5746 GB, free: 4.496 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.4654, allocations: 0 / 0.5746 GB, free: 4.496 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.000421/0.4658, allocations: 103.9 kB / 0.5747 GB, free: 4.395 MB / 414.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 (24): * Single equations (assignments): 16 * 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.001628/0.4674, allocations: 450.4 kB / 0.5751 GB, free: 4.09 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0005767/0.468, allocations: 231.7 kB / 0.5754 GB, free: 3.863 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.416e-06/0.468, allocations: 3.938 kB / 0.5754 GB, free: 3.859 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003495/0.4684, allocations: 160.6 kB / 0.5755 GB, free: 3.703 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006596/0.469, allocations: 148.6 kB / 0.5757 GB, free: 3.57 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001324/0.4704, allocations: 0.8198 MB / 0.5765 GB, free: 2.715 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005332/0.4709, allocations: 0.8547 MB / 0.5773 GB, free: 1.828 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.000237/0.4711, allocations: 87.23 kB / 0.5774 GB, free: 1.738 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001308/0.4713, allocations: 55.41 kB / 0.5774 GB, free: 1.684 MB / 414.1 MB Notification: Performance of SimCode: time 9.42e-07/0.4713, allocations: 0 / 0.5774 GB, free: 1.684 MB / 414.1 MB Notification: Performance of Templates: time 0.01562/0.4869, allocations: 7.763 MB / 0.585 GB, free: 9.949 MB / 430.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 -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/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_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.635395641438663]