Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_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.001016/0.001016, allocations: 95.2 kB / 20.43 MB, free: 4.141 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.00131/0.00131, allocations: 165 kB / 23.79 MB, free: 0.7773 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.078/1.078, allocations: 158.6 MB / 185.7 MB, free: 2.918 MB / 170.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1478/0.1478, allocations: 32.36 MB / 270.4 MB, free: 14.71 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3.2.3_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_3.2.3_ModelicaTest.Blocks.IntegerTable") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.302e-06/1.302e-06, allocations: 0 / 347.6 MB, free: 9.473 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.649e-05/2.779e-05, allocations: 4.281 kB / 347.6 MB, free: 9.469 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.IntegerTable): time 0.002924/0.002952, allocations: 2.266 MB / 349.9 MB, free: 7.195 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001905/0.004857, allocations: 1.438 MB / 351.4 MB, free: 5.746 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000199/0.005056, allocations: 11.88 kB / 351.4 MB, free: 5.734 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000339/0.005395, allocations: 135.3 kB / 351.5 MB, free: 5.602 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003234/0.005718, allocations: 246.8 kB / 351.7 MB, free: 5.359 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009163/0.006634, allocations: 0.6079 MB / 352.3 MB, free: 4.75 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004213/0.007056, allocations: 0.5452 MB / 352.9 MB, free: 4.203 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001128/0.007169, allocations: 45.11 kB / 352.9 MB, free: 4.156 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002317/0.0074, allocations: 303.2 kB / 353.2 MB, free: 3.859 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000165/0.007565, allocations: 199.4 kB / 353.4 MB, free: 3.664 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 3.187e-05/0.007597, allocations: 24 kB / 353.4 MB, free: 3.641 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000307/0.007904, allocations: 195.6 kB / 353.6 MB, free: 3.449 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001471/0.008051, allocations: 127.5 kB / 353.8 MB, free: 3.324 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001161/0.008167, allocations: 107.6 kB / 353.9 MB, free: 3.219 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004551/0.008623, allocations: 454.3 kB / 354.3 MB, free: 2.773 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.497e-06/0.008626, allocations: 4 kB / 354.3 MB, free: 2.77 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.102e-06/0.008627, allocations: 0 / 354.3 MB, free: 2.77 MB / 282.7 MB Notification: Performance of Transformations before backend: time 6.372e-06/0.008633, allocations: 0 / 354.3 MB, free: 2.77 MB / 282.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.0008037/0.009437, allocations: 0.9186 MB / 355.2 MB, free: 1.785 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.878e-05/0.009476, allocations: 12.03 kB / 355.2 MB, free: 1.773 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.593e-05/0.009572, allocations: 60.61 kB / 355.3 MB, free: 1.715 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000397/0.009969, allocations: 375.3 kB / 355.7 MB, free: 1.32 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.509e-05/0.009994, allocations: 16.61 kB / 355.7 MB, free: 1.305 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.182e-05/0.01002, allocations: 12.38 kB / 355.7 MB, free: 1.293 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002704/0.01029, allocations: 201.2 kB / 355.9 MB, free: 1.074 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.909e-06/0.0103, allocations: 3.938 kB / 355.9 MB, free: 1.07 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.835e-05/0.01031, allocations: 11.98 kB / 355.9 MB, free: 1.059 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.206e-06/0.01032, allocations: 0 / 355.9 MB, free: 1.059 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001278/0.01045, allocations: 67.88 kB / 356 MB, free: 0.9922 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006544/0.0111, allocations: 0.9297 MB / 356.9 MB, free: 12 kB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000376/0.01148, allocations: 232.5 kB / 357.1 MB, free: 15.73 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001152/0.0116, allocations: 74.72 kB / 357.2 MB, free: 15.64 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.773e-05/0.01161, allocations: 8 kB / 357.2 MB, free: 15.64 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002531/0.01187, allocations: 192.8 kB / 357.4 MB, free: 15.42 MB / 298.7 MB Notification: Performance of pre-optimization done (n=24): time 1.653e-06/0.01187, allocations: 0 / 357.4 MB, free: 15.42 MB / 298.7 MB Notification: Performance of matching and sorting (n=24): time 0.0005441/0.01241, allocations: 301.1 kB / 357.7 MB, free: 15.12 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.464e-05/0.01249, allocations: 136.5 kB / 357.8 MB, free: 14.95 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005688/0.01306, allocations: 0.5416 MB / 358.4 MB, free: 14.39 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 3.148e-05/0.01309, allocations: 33.7 kB / 358.4 MB, free: 14.36 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001931/0.01328, allocations: 271.3 kB / 358.7 MB, free: 14.09 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.918e-05/0.01336, allocations: 75.53 kB / 358.7 MB, free: 14.01 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.573e-05/0.01346, allocations: 67.34 kB / 358.8 MB, free: 13.94 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0002268/0.01368, allocations: 0.543 MB / 359.4 MB, free: 13.38 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001015/0.01378, allocations: 43.95 kB / 359.4 MB, free: 13.34 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002437/0.01403, allocations: 259 kB / 359.6 MB, free: 13.01 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002612/0.01429, allocations: 178.3 kB / 359.8 MB, free: 12.8 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.575e-06/0.01429, allocations: 4 kB / 359.8 MB, free: 12.8 MB / 298.7 MB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0004046/0.0147, allocations: 245.1 kB / 360.1 MB, free: 12.55 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.405e-05/0.01471, allocations: 8 kB / 360.1 MB, free: 12.55 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.052e-06/0.01472, allocations: 0 / 360.1 MB, free: 12.55 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.712e-05/0.01473, allocations: 4 kB / 360.1 MB, free: 12.54 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001826/0.01492, allocations: 55.89 kB / 360.1 MB, free: 12.49 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.056e-05/0.01493, allocations: 11.92 kB / 360.1 MB, free: 12.48 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001222/0.01505, allocations: 28.02 kB / 360.2 MB, free: 12.45 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.308e-05/0.01507, allocations: 19.92 kB / 360.2 MB, free: 12.43 MB / 298.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.0001457/0.01522, allocations: 184.8 kB / 360.4 MB, free: 12.24 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.926e-05/0.0153, allocations: 63.66 kB / 360.4 MB, free: 12.18 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004482/0.01574, allocations: 281.6 kB / 360.7 MB, free: 11.89 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.779e-06/0.01575, allocations: 4 kB / 360.7 MB, free: 11.89 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.368e-06/0.01575, allocations: 0 / 360.7 MB, free: 11.89 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.584e-06/0.01576, allocations: 7.984 kB / 360.7 MB, free: 11.88 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003237/0.01608, allocations: 324.3 kB / 361 MB, free: 11.53 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.926e-06/0.01609, allocations: 0 / 361 MB, free: 11.53 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.89e-05/0.01619, allocations: 35.92 kB / 361.1 MB, free: 11.5 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.362e-06/0.01619, allocations: 8.031 kB / 361.1 MB, free: 11.49 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.974e-05/0.01621, allocations: 11.98 kB / 361.1 MB, free: 11.48 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.064e-06/0.01621, allocations: 0 / 361.1 MB, free: 11.48 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.867e-06/0.01622, allocations: 4 kB / 361.1 MB, free: 11.47 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000749/0.01697, allocations: 338.9 kB / 361.4 MB, free: 11.11 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.698e-05/0.01703, allocations: 59.61 kB / 361.5 MB, free: 11.05 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.301e-05/0.01709, allocations: 15.98 kB / 361.5 MB, free: 11.03 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.546e-05/0.01718, allocations: 4 kB / 361.5 MB, free: 11.03 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.4e-05/0.01728, allocations: 47.94 kB / 361.6 MB, free: 10.98 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.162e-05/0.01731, allocations: 15.92 kB / 361.6 MB, free: 10.96 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.000338/0.01765, allocations: 358.8 kB / 361.9 MB, free: 10.62 MB / 298.7 MB Notification: Performance of sort global known variables: time 8e-08/0.01765, allocations: 0 / 361.9 MB, free: 10.62 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0003625/0.01801, allocations: 95.92 kB / 362 MB, free: 10.52 MB / 298.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.001067/0.01908, allocations: 453.3 kB / 362.5 MB, free: 10.17 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0003026/0.01938, allocations: 155.5 kB / 362.6 MB, free: 10.01 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.052e-06/0.01938, allocations: 4.25 kB / 362.6 MB, free: 10.01 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001539/0.01953, allocations: 103.5 kB / 362.7 MB, free: 9.902 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005045/0.02004, allocations: 158.9 kB / 362.9 MB, free: 9.75 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000844/0.02088, allocations: 0.6845 MB / 363.6 MB, free: 9.02 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.75e-05/0.02098, allocations: 129.5 kB / 363.7 MB, free: 8.871 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.000157/0.02114, allocations: 75.75 kB / 363.8 MB, free: 8.797 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001121/0.02125, allocations: 56.48 kB / 363.8 MB, free: 8.742 MB / 298.7 MB Notification: Performance of SimCode: time 7.71e-07/0.02125, allocations: 4 kB / 363.8 MB, free: 8.738 MB / 298.7 MB Notification: Performance of Templates: time 0.01186/0.03311, allocations: 8.197 MB / 372 MB, free: 0.5469 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Blocks.IntegerTable.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Blocks.IntegerTable.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Blocks.IntegerTable.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Blocks.IntegerTable.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Blocks.IntegerTable.sim & ./ModelicaTest_3.2.3_ModelicaTest.Blocks.IntegerTable -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Blocks.IntegerTable.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Blocks.IntegerTable_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/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.4674768592230976]