Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test41.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.001099/0.001099, allocations: 80.11 kB / 9.934 MB, free: 0.7539 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001649/0.002748, allocations: 449.7 kB / 10.37 MB, free: 324 kB / 10.45 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.001094/0.001094, allocations: 165.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001332/0.002426, allocations: 463.6 kB / 11.72 MB, free: 2.453 MB / 13.93 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 0.9715/0.9715, allocations: 177.4 MB / 189.9 MB, free: 4.84 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09128/1.063, allocations: 53.86 MB / 243.7 MB, free: 14.91 MB / 250.7 MB " [Timeout remaining time 179] 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.3067/0.3067, allocations: 34.86 MB / 279.3 MB, free: 14.91 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0241/0.3308, allocations: 13.23 MB / 292.6 MB, free: 6.477 MB / 282.7 MB " [Timeout remaining time 180] 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.Tables.CombiTimeTable.Test41,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5065,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test41") translateModel(ModelicaTest.Tables.CombiTimeTable.Test41,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5065,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test41") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.813e-06/1.813e-06, allocations: 0 / 294 MB, free: 5.109 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.325e-05/2.507e-05, allocations: 2.312 kB / 294 MB, free: 5.105 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test41): time 0.003249/0.003274, allocations: 1.804 MB / 295.8 MB, free: 3.289 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001819/0.005093, allocations: 1.017 MB / 296.8 MB, free: 2.266 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001025/0.005195, allocations: 3.938 kB / 296.8 MB, free: 2.262 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003219/0.005517, allocations: 95.61 kB / 296.9 MB, free: 2.168 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000335/0.005852, allocations: 115.4 kB / 297 MB, free: 2.055 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002714/0.006123, allocations: 79.66 kB / 297.1 MB, free: 1.977 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002444/0.006368, allocations: 115.6 kB / 297.2 MB, free: 1.863 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.725e-05/0.006465, allocations: 11.97 kB / 297.2 MB, free: 1.852 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001917/0.006657, allocations: 87.81 kB / 297.3 MB, free: 1.766 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001315/0.006788, allocations: 51.88 kB / 297.3 MB, free: 1.715 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.945e-05/0.006808, allocations: 4 kB / 297.3 MB, free: 1.711 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001196/0.006927, allocations: 47.86 kB / 297.4 MB, free: 1.664 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 5.495e-05/0.006982, allocations: 19.92 kB / 297.4 MB, free: 1.645 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 4.145e-05/0.007024, allocations: 23.88 kB / 297.4 MB, free: 1.621 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002064/0.00723, allocations: 95.67 kB / 297.5 MB, free: 1.527 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.867e-05/0.007249, allocations: 3.984 kB / 297.5 MB, free: 1.523 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.103e-06/0.00725, allocations: 0 / 297.5 MB, free: 1.523 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.959e-05/0.007269, allocations: 0 / 297.5 MB, free: 1.523 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0005346/0.007804, allocations: 352.9 kB / 297.9 MB, free: 1.156 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.691e-05/0.007841, allocations: 8.922 kB / 297.9 MB, free: 1.148 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.404e-05/0.007885, allocations: 8.938 kB / 297.9 MB, free: 1.141 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002028/0.008088, allocations: 161.4 kB / 298 MB, free: 0.957 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.978e-05/0.008108, allocations: 384 / 298 MB, free: 0.957 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.943e-05/0.008127, allocations: 8.375 kB / 298 MB, free: 0.9492 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001269/0.008254, allocations: 61.77 kB / 298.1 MB, free: 0.8789 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.123e-05/0.008265, allocations: 192 / 298.1 MB, free: 0.8789 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.587e-06/0.008274, allocations: 384 / 298.1 MB, free: 0.8789 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.464e-06/0.008281, allocations: 3.938 kB / 298.1 MB, free: 0.875 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.697e-05/0.008318, allocations: 15.98 kB / 298.1 MB, free: 0.8594 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002426/0.008561, allocations: 170 kB / 298.3 MB, free: 0.6758 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001074/0.008668, allocations: 85.28 kB / 298.4 MB, free: 0.582 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.559e-05/0.008694, allocations: 12.84 kB / 298.4 MB, free: 0.5664 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.18e-05/0.008706, allocations: 4 kB / 298.4 MB, free: 0.5625 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001187/0.008824, allocations: 66.2 kB / 298.5 MB, free: 496 kB / 282.7 MB Notification: Performance of pre-optimization done (n=6): time 1.943e-06/0.008826, allocations: 0 / 298.5 MB, free: 496 kB / 282.7 MB Notification: Performance of matching and sorting (n=8): time 0.0003594/0.009186, allocations: 113.5 kB / 298.6 MB, free: 376 kB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.416e-05/0.00923, allocations: 55.41 kB / 298.6 MB, free: 308 kB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001604/0.00939, allocations: 189.6 kB / 298.8 MB, free: 100 kB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.747e-05/0.009408, allocations: 25.7 kB / 298.8 MB, free: 68 kB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.396e-05/0.009462, allocations: 100.1 kB / 298.9 MB, free: 15.96 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.18e-05/0.009493, allocations: 23.78 kB / 299 MB, free: 15.94 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.564e-05/0.009539, allocations: 29.62 kB / 299 MB, free: 15.91 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 9.889e-05/0.009638, allocations: 326.8 kB / 299.3 MB, free: 15.58 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.561e-05/0.009664, allocations: 10.83 kB / 299.3 MB, free: 15.57 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.222e-05/0.009696, allocations: 25.69 kB / 299.3 MB, free: 15.54 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.493e-05/0.009751, allocations: 36.61 kB / 299.4 MB, free: 15.49 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.463e-06/0.009752, allocations: 0 / 299.4 MB, free: 15.49 MB / 298.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001123/0.009865, allocations: 80.41 kB / 299.5 MB, free: 15.41 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.512e-05/0.00988, allocations: 10.44 kB / 299.5 MB, free: 15.4 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.969e-06/0.009885, allocations: 0 / 299.5 MB, free: 15.4 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.055e-05/0.009895, allocations: 4 kB / 299.5 MB, free: 15.39 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.609e-05/0.009981, allocations: 27.89 kB / 299.5 MB, free: 15.37 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.268e-06/0.009986, allocations: 4 kB / 299.5 MB, free: 15.36 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.708e-05/0.01002, allocations: 0 / 299.5 MB, free: 15.36 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.215e-06/0.01003, allocations: 4 kB / 299.5 MB, free: 15.36 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 5 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 10 * 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 7.984e-05/0.01011, allocations: 112.7 kB / 299.6 MB, free: 15.24 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.5e-05/0.01014, allocations: 15.92 kB / 299.6 MB, free: 15.22 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001437/0.01028, allocations: 80 kB / 299.7 MB, free: 15.14 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.23e-06/0.01028, allocations: 4 kB / 299.7 MB, free: 15.14 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.615e-06/0.01029, allocations: 0 / 299.7 MB, free: 15.14 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.336e-06/0.01029, allocations: 4 kB / 299.7 MB, free: 15.13 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002936/0.01058, allocations: 295.4 kB / 300 MB, free: 14.82 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.719e-06/0.01059, allocations: 4.312 kB / 300 MB, free: 14.81 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.512e-05/0.01063, allocations: 11.98 kB / 300 MB, free: 14.8 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.731e-05/0.01065, allocations: 11.95 kB / 300 MB, free: 14.79 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.905e-06/0.01065, allocations: 0 / 300 MB, free: 14.79 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.225e-06/0.01066, allocations: 4 kB / 300 MB, free: 14.79 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.074e-06/0.01066, allocations: 0 / 300 MB, free: 14.79 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.755e-06/0.01067, allocations: 4 kB / 300 MB, free: 14.78 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000167/0.01083, allocations: 219 kB / 300.2 MB, free: 14.55 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.094e-05/0.01086, allocations: 4.031 kB / 300.3 MB, free: 14.54 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.189e-05/0.01093, allocations: 4 kB / 300.3 MB, free: 14.54 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.978e-05/0.01096, allocations: 11.98 kB / 300.3 MB, free: 14.53 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.329e-05/0.01097, allocations: 0 / 300.3 MB, free: 14.53 MB / 298.7 MB Notification: Performance of sorting global known variables: time 7.635e-05/0.01105, allocations: 61.59 kB / 300.3 MB, free: 14.46 MB / 298.7 MB Notification: Performance of sort global known variables: time 8e-08/0.01105, allocations: 0 / 300.3 MB, free: 14.46 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002489/0.0113, allocations: 27.94 kB / 300.4 MB, free: 14.44 MB / 298.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: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.001949/0.01324, allocations: 0.6202 MB / 301 MB, free: 14.15 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001223/0.01337, allocations: 44.83 kB / 301 MB, free: 14.11 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 8.816e-06/0.01338, allocations: 0 / 301 MB, free: 14.11 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 4.131e-05/0.01342, allocations: 32.72 kB / 301.1 MB, free: 14.07 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002687/0.01369, allocations: 47.17 kB / 301.1 MB, free: 14.03 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006029/0.01429, allocations: 238.7 kB / 301.3 MB, free: 13.77 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.194e-05/0.01434, allocations: 71.33 kB / 301.4 MB, free: 13.68 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 4.857e-05/0.01439, allocations: 12.92 kB / 301.4 MB, free: 13.66 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.452e-05/0.01447, allocations: 67.36 kB / 301.5 MB, free: 13.59 MB / 298.7 MB Notification: Performance of SimCode: time 9.32e-07/0.01447, allocations: 0 / 301.5 MB, free: 13.59 MB / 298.7 MB Notification: Performance of Templates: time 0.004603/0.01908, allocations: 2.068 MB / 303.5 MB, free: 11.55 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test41.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test41.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test41.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test41.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test41.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test41 -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test41.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test41_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test41/Test41.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: 2.979518015868962]