Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.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.00149/0.00149, allocations: 83.59 kB / 21.18 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.001823/0.001823, allocations: 165 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 0.99/0.99, allocations: 177.1 MB / 205 MB, free: 5.156 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2613/0.2613, allocations: 34.26 MB / 295.7 MB, free: 0.7344 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.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.1.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.1.0_ModelicaTest.Blocks.IntegerTable") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.104e-06/2.104e-06, allocations: 0 / 378 MB, free: 2.68 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.652e-05/2.862e-05, allocations: 2.312 kB / 378 MB, free: 2.676 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.IntegerTable): time 0.002821/0.00285, allocations: 2.301 MB / 380.3 MB, free: 364 kB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.002194/0.005044, allocations: 1.664 MB / 382 MB, free: 14.68 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001814/0.005225, allocations: 11.94 kB / 382 MB, free: 14.67 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004489/0.005674, allocations: 139.2 kB / 382.1 MB, free: 14.54 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006401/0.006314, allocations: 302.5 kB / 382.4 MB, free: 14.24 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00116/0.007475, allocations: 0.5377 MB / 383 MB, free: 13.7 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006702/0.008145, allocations: 0.5803 MB / 383.5 MB, free: 13.12 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001595/0.008304, allocations: 45.25 kB / 383.6 MB, free: 13.07 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003987/0.008703, allocations: 323 kB / 383.9 MB, free: 12.75 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002398/0.008943, allocations: 199.5 kB / 384.1 MB, free: 12.56 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 4.156e-05/0.008984, allocations: 24 kB / 384.1 MB, free: 12.54 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000437/0.009421, allocations: 195.7 kB / 384.3 MB, free: 12.34 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001914/0.009613, allocations: 135.5 kB / 384.4 MB, free: 12.21 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001424/0.009755, allocations: 111.6 kB / 384.6 MB, free: 12.1 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007378/0.01049, allocations: 462.3 kB / 385 MB, free: 11.65 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.092e-06/0.0105, allocations: 0 / 385 MB, free: 11.65 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.353e-06/0.0105, allocations: 0 / 385 MB, free: 11.65 MB / 362.7 MB Notification: Performance of Transformations before backend: time 9.488e-06/0.01051, allocations: 0 / 385 MB, free: 11.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.001158/0.01167, allocations: 0.9573 MB / 386 MB, free: 10.63 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.791e-05/0.01172, allocations: 8.031 kB / 386 MB, free: 10.62 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001812/0.0119, allocations: 64.61 kB / 386 MB, free: 10.56 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004784/0.01238, allocations: 399.2 kB / 386.4 MB, free: 10.14 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.208e-05/0.01241, allocations: 8.609 kB / 386.4 MB, free: 10.13 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.301e-05/0.01243, allocations: 20.31 kB / 386.5 MB, free: 10.11 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00033/0.01276, allocations: 199.6 kB / 386.7 MB, free: 9.895 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.077e-05/0.01277, allocations: 3.938 kB / 386.7 MB, free: 9.891 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.056e-05/0.01279, allocations: 4 kB / 386.7 MB, free: 9.887 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.128e-05/0.0128, allocations: 4 kB / 386.7 MB, free: 9.883 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001351/0.01294, allocations: 67.86 kB / 386.7 MB, free: 9.816 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008645/0.0138, allocations: 0.9375 MB / 387.7 MB, free: 8.828 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004113/0.01421, allocations: 228.5 kB / 387.9 MB, free: 8.555 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.891e-05/0.01431, allocations: 82.72 kB / 388 MB, free: 8.457 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.913e-05/0.01433, allocations: 4 kB / 388 MB, free: 8.453 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002271/0.01456, allocations: 201.9 kB / 388.2 MB, free: 8.227 MB / 362.7 MB Notification: Performance of pre-optimization done (n=24): time 2.224e-06/0.01456, allocations: 0 / 388.2 MB, free: 8.227 MB / 362.7 MB Notification: Performance of matching and sorting (n=24): time 0.0004854/0.01505, allocations: 305.1 kB / 388.5 MB, free: 7.922 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.204e-05/0.0151, allocations: 136.5 kB / 388.6 MB, free: 7.758 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004484/0.01555, allocations: 0.5651 MB / 389.2 MB, free: 7.176 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.785e-05/0.01558, allocations: 41.64 kB / 389.2 MB, free: 7.129 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001731/0.01575, allocations: 291.2 kB / 389.5 MB, free: 6.84 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.49e-05/0.0158, allocations: 67.62 kB / 389.6 MB, free: 6.773 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.266e-05/0.01589, allocations: 67.34 kB / 389.6 MB, free: 6.699 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001918/0.01608, allocations: 0.5508 MB / 390.2 MB, free: 6.137 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.814e-05/0.01618, allocations: 39.95 kB / 390.2 MB, free: 6.098 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001562/0.01633, allocations: 263 kB / 390.5 MB, free: 5.766 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001944/0.01653, allocations: 174.4 kB / 390.6 MB, free: 5.562 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.685e-06/0.01653, allocations: 0 / 390.6 MB, free: 5.562 MB / 362.7 MB Notification: Performance of matching and sorting (n=32) (initialization): time 0.000307/0.01684, allocations: 253.1 kB / 390.9 MB, free: 5.309 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.817e-05/0.01685, allocations: 4 kB / 390.9 MB, free: 5.305 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.162e-06/0.01686, allocations: 4 kB / 390.9 MB, free: 5.301 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.536e-05/0.01688, allocations: 8.125 kB / 390.9 MB, free: 5.293 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001968/0.01707, allocations: 55.91 kB / 391 MB, free: 5.238 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.947e-06/0.01708, allocations: 0 / 391 MB, free: 5.238 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001269/0.01721, allocations: 31.83 kB / 391 MB, free: 5.207 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.712e-05/0.01723, allocations: 15.94 kB / 391 MB, free: 5.191 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.0003407/0.01757, allocations: 188.4 kB / 391.2 MB, free: 4.996 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.569e-05/0.01763, allocations: 63.67 kB / 391.3 MB, free: 4.934 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003709/0.018, allocations: 297.7 kB / 391.5 MB, free: 4.637 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.009e-06/0.01801, allocations: 4 kB / 391.5 MB, free: 4.633 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.739e-06/0.01801, allocations: 256 / 391.5 MB, free: 4.633 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.591e-06/0.01802, allocations: 0 / 391.5 MB, free: 4.633 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002817/0.0183, allocations: 336.3 kB / 391.9 MB, free: 4.27 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.255e-06/0.0183, allocations: 0 / 391.9 MB, free: 4.27 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.58e-05/0.01839, allocations: 39.91 kB / 391.9 MB, free: 4.23 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.799e-06/0.01839, allocations: 4 kB / 391.9 MB, free: 4.227 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.624e-05/0.01841, allocations: 4 kB / 391.9 MB, free: 4.223 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.416e-06/0.01841, allocations: 3.938 kB / 391.9 MB, free: 4.219 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.252e-06/0.01841, allocations: 4 kB / 391.9 MB, free: 4.215 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003357/0.01875, allocations: 346.9 kB / 392.3 MB, free: 3.84 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.841e-05/0.0188, allocations: 51.66 kB / 392.3 MB, free: 3.789 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.245e-05/0.01884, allocations: 8 kB / 392.3 MB, free: 3.781 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.879e-05/0.01892, allocations: 15.98 kB / 392.3 MB, free: 3.766 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.315e-05/0.019, allocations: 43.88 kB / 392.4 MB, free: 3.723 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.616e-05/0.01903, allocations: 23.92 kB / 392.4 MB, free: 3.699 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.000287/0.01932, allocations: 378.8 kB / 392.8 MB, free: 3.332 MB / 362.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01932, allocations: 0 / 392.8 MB, free: 3.332 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0003227/0.01964, allocations: 99.88 kB / 392.9 MB, free: 3.234 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.000917/0.02056, allocations: 437.9 kB / 393.3 MB, free: 2.941 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0002741/0.02083, allocations: 167.4 kB / 393.5 MB, free: 2.773 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.733e-06/0.02083, allocations: 0 / 393.5 MB, free: 2.773 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001183/0.02095, allocations: 92.05 kB / 393.6 MB, free: 2.68 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000425/0.02137, allocations: 168.6 kB / 393.7 MB, free: 2.531 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008042/0.02218, allocations: 0.7147 MB / 394.4 MB, free: 1.77 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.826e-05/0.02226, allocations: 137.5 kB / 394.6 MB, free: 1.609 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001396/0.0224, allocations: 75.28 kB / 394.6 MB, free: 1.535 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000126/0.02252, allocations: 60.47 kB / 394.7 MB, free: 1.477 MB / 362.7 MB Notification: Performance of SimCode: time 8.11e-07/0.02252, allocations: 0 / 394.7 MB, free: 1.477 MB / 362.7 MB Notification: Performance of Templates: time 0.01076/0.03328, allocations: 8.29 MB / 403 MB, free: 9.27 MB / 378.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Blocks.IntegerTable.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Blocks.IntegerTable.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Blocks.IntegerTable.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Blocks.IntegerTable.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Blocks.IntegerTable.sim & ./ModelicaTest_4.1.0_ModelicaTest.Blocks.IntegerTable -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Blocks.IntegerTable.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Blocks.IntegerTable_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.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.3592451880685985]