Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test83.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.001195/0.001195, allocations: 88.92 kB / 20.66 MB, free: 3.816 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.00147/0.00147, allocations: 169 kB / 24.06 MB, free: 432 kB / 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.026/1.026, allocations: 158.6 MB / 185.9 MB, free: 2.781 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.1329/0.1329, allocations: 32.37 MB / 270.7 MB, free: 14.55 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.Tables.CombiTimeTable.Test83,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|booleanTable.y|booleanTable.combiTimeTable.y.[0-9,]+.|booleanTable.realToBoolean.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test83") translateModel(ModelicaTest.Tables.CombiTimeTable.Test83,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|booleanTable.y|booleanTable.combiTimeTable.y.[0-9,]+.|booleanTable.realToBoolean.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test83") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.773e-06/1.773e-06, allocations: 0 / 348.2 MB, free: 9.121 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.482e-05/2.659e-05, allocations: 4.281 kB / 348.2 MB, free: 9.117 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test83): time 0.002299/0.002326, allocations: 1.954 MB / 350.1 MB, free: 7.152 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001142/0.003468, allocations: 0.9477 MB / 351.1 MB, free: 6.195 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000111/0.003579, allocations: 0 / 351.1 MB, free: 6.195 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005679/0.004147, allocations: 211.3 kB / 351.3 MB, free: 5.988 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002643/0.004411, allocations: 159.3 kB / 351.5 MB, free: 5.832 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003316/0.004743, allocations: 199.5 kB / 351.7 MB, free: 5.637 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002284/0.004971, allocations: 255.2 kB / 351.9 MB, free: 5.387 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.852e-05/0.00506, allocations: 17.8 kB / 351.9 MB, free: 5.367 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001285/0.005188, allocations: 131.6 kB / 352 MB, free: 5.238 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000107/0.005295, allocations: 103.8 kB / 352.1 MB, free: 5.137 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.103e-05/0.005316, allocations: 8 kB / 352.2 MB, free: 5.129 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001061/0.005422, allocations: 63.83 kB / 352.2 MB, free: 5.066 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 5.46e-05/0.005477, allocations: 51.84 kB / 352.3 MB, free: 5.016 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 4.245e-05/0.005519, allocations: 51.78 kB / 352.3 MB, free: 4.965 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001804/0.0057, allocations: 175.3 kB / 352.5 MB, free: 4.793 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.564e-06/0.005702, allocations: 0 / 352.5 MB, free: 4.793 MB / 282.7 MB Notification: Performance of FrontEnd: time 9.52e-07/0.005703, allocations: 0 / 352.5 MB, free: 4.793 MB / 282.7 MB Notification: Performance of Transformations before backend: time 3.907e-06/0.005707, allocations: 3.938 kB / 352.5 MB, free: 4.789 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: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.0004215/0.006129, allocations: 0.5827 MB / 353.1 MB, free: 4.164 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.433e-05/0.006163, allocations: 8.031 kB / 353.1 MB, free: 4.156 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.133e-05/0.006214, allocations: 28.75 kB / 353.1 MB, free: 4.129 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001774/0.006392, allocations: 220.4 kB / 353.3 MB, free: 3.883 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.673e-05/0.006409, allocations: 8.375 kB / 353.3 MB, free: 3.875 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.033e-05/0.006419, allocations: 8.375 kB / 353.3 MB, free: 3.867 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001237/0.006543, allocations: 97.38 kB / 353.4 MB, free: 3.758 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.606e-06/0.006551, allocations: 3.938 kB / 353.4 MB, free: 3.754 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.634e-06/0.006559, allocations: 3.984 kB / 353.4 MB, free: 3.75 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.901e-06/0.006565, allocations: 4 kB / 353.5 MB, free: 3.746 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.193e-05/0.006597, allocations: 19.98 kB / 353.5 MB, free: 3.727 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000247/0.006844, allocations: 312 kB / 353.8 MB, free: 3.391 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.826e-05/0.006942, allocations: 98.25 kB / 353.9 MB, free: 3.27 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.769e-05/0.00697, allocations: 43.36 kB / 353.9 MB, free: 3.219 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.588e-05/0.006985, allocations: 7.875 kB / 353.9 MB, free: 3.211 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.832e-05/0.007084, allocations: 104.4 kB / 354 MB, free: 3.086 MB / 282.7 MB Notification: Performance of pre-optimization done (n=11): time 1.032e-06/0.007085, allocations: 0 / 354 MB, free: 3.086 MB / 282.7 MB Notification: Performance of matching and sorting (n=11): time 0.0002102/0.007295, allocations: 133.5 kB / 354.2 MB, free: 2.949 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.021e-05/0.007315, allocations: 85.09 kB / 354.2 MB, free: 2.848 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001395/0.007455, allocations: 322.2 kB / 354.6 MB, free: 2.516 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.272e-05/0.007467, allocations: 29.7 kB / 354.6 MB, free: 2.48 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.702e-05/0.007524, allocations: 198.7 kB / 354.8 MB, free: 2.281 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.308e-05/0.007548, allocations: 27.83 kB / 354.8 MB, free: 2.254 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.504e-05/0.007583, allocations: 35.34 kB / 354.8 MB, free: 2.211 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 5.642e-05/0.007639, allocations: 0.5157 MB / 355.4 MB, free: 1.684 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.206e-05/0.007661, allocations: 8 kB / 355.4 MB, free: 1.676 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.349e-05/0.007705, allocations: 102.2 kB / 355.5 MB, free: 1.551 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.332e-05/0.007758, allocations: 66.69 kB / 355.5 MB, free: 1.469 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.053e-06/0.00776, allocations: 0 / 355.5 MB, free: 1.469 MB / 282.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0001103/0.00787, allocations: 130 kB / 355.7 MB, free: 1.336 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.124e-05/0.007882, allocations: 4 kB / 355.7 MB, free: 1.332 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.26e-06/0.007887, allocations: 0 / 355.7 MB, free: 1.332 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.276e-05/0.0079, allocations: 7.938 kB / 355.7 MB, free: 1.324 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.909e-05/0.007969, allocations: 23.92 kB / 355.7 MB, free: 1.301 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.917e-06/0.007973, allocations: 4 kB / 355.7 MB, free: 1.297 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.193e-05/0.008014, allocations: 11.98 kB / 355.7 MB, free: 1.285 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.921e-06/0.00802, allocations: 4 kB / 355.7 MB, free: 1.281 MB / 282.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 11 ($PRE.t_new.nextTimeEvent,$whenCondition2,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,$PRE.booleanTable.combiTimeTable.nextTimeEvent,$whenCondition1,booleanTable.combiTimeTable.nextTimeEventScaled,$PRE.booleanTable.combiTimeTable.nextTimeEventScaled,booleanTable.combiTimeTable.nextTimeEvent,booleanTable.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (15): * Single equations (assignments): 15 * 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 6.058e-05/0.008081, allocations: 168.6 kB / 355.9 MB, free: 1.105 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.277e-05/0.008114, allocations: 39.75 kB / 355.9 MB, free: 1.066 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001507/0.008264, allocations: 135.4 kB / 356 MB, free: 0.9297 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.825e-06/0.008267, allocations: 4 kB / 356 MB, free: 0.9258 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.944e-06/0.008269, allocations: 0 / 356 MB, free: 0.9258 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.557e-06/0.008273, allocations: 0 / 356 MB, free: 0.9258 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.699e-05/0.00837, allocations: 161.1 kB / 356.2 MB, free: 0.7422 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.134e-06/0.008372, allocations: 0 / 356.2 MB, free: 0.7422 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.828e-05/0.0084, allocations: 8 kB / 356.2 MB, free: 0.7344 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.364e-06/0.008403, allocations: 0 / 356.2 MB, free: 0.7344 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.235e-06/0.008411, allocations: 15.86 kB / 356.2 MB, free: 0.7188 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.993e-06/0.008413, allocations: 4 kB / 356.2 MB, free: 0.7148 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.31e-07/0.008414, allocations: 0 / 356.2 MB, free: 0.7148 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001223/0.008536, allocations: 179.9 kB / 356.4 MB, free: 0.5117 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.989e-05/0.008556, allocations: 23.86 kB / 356.4 MB, free: 500 kB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.964e-05/0.008576, allocations: 3.938 kB / 356.4 MB, free: 496 kB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.779e-05/0.008613, allocations: 11.98 kB / 356.4 MB, free: 484 kB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.272e-05/0.008646, allocations: 7.984 kB / 356.5 MB, free: 476 kB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.155e-05/0.008658, allocations: 7.984 kB / 356.5 MB, free: 468 kB / 282.7 MB Notification: Performance of sorting global known variables: time 7.27e-05/0.00873, allocations: 222.9 kB / 356.7 MB, free: 248 kB / 282.7 MB Notification: Performance of sort global known variables: time 6e-08/0.00873, allocations: 0 / 356.7 MB, free: 248 kB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001722/0.008903, allocations: 43.92 kB / 356.7 MB, free: 204 kB / 282.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition2,t_new.nextTimeEvent,t_new.nextTimeEventScaled,$whenCondition1,booleanTable.y,booleanTable.combiTimeTable.nextTimeEvent,booleanTable.combiTimeTable.nextTimeEventScaled) * Number of discrete states: 4 (booleanTable.combiTimeTable.nextTimeEvent,booleanTable.combiTimeTable.nextTimeEventScaled,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (13): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.000801/0.009704, allocations: 389.8 kB / 357.1 MB, free: 15.9 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001547/0.009858, allocations: 75.56 kB / 357.2 MB, free: 15.82 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.743e-06/0.00986, allocations: 3.938 kB / 357.2 MB, free: 15.82 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 4.633e-05/0.009906, allocations: 35.61 kB / 357.2 MB, free: 15.78 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002642/0.01017, allocations: 69.84 kB / 357.3 MB, free: 15.71 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000439/0.01061, allocations: 345.4 kB / 357.6 MB, free: 15.34 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.969e-05/0.01066, allocations: 87.97 kB / 357.7 MB, free: 15.24 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 6.387e-05/0.01072, allocations: 34.2 kB / 357.7 MB, free: 15.21 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001016/0.01082, allocations: 110.2 kB / 357.8 MB, free: 15.1 MB / 298.7 MB Notification: Performance of SimCode: time 7.02e-07/0.01083, allocations: 4 kB / 357.8 MB, free: 15.09 MB / 298.7 MB Notification: Performance of Templates: time 0.005301/0.01613, allocations: 3.494 MB / 361.3 MB, free: 11.62 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test83.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test83.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test83.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test83.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test83.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test83 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test83.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test83_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test83/Test83.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.3517305813729763]