Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test45.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.00075/0.00075, allocations: 76.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00119/0.00194, allocations: 457.8 kB / 10.45 MB, free: 244 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.0007252/0.0007252, allocations: 162 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009882/0.001713, allocations: 475.6 kB / 11.82 MB, free: 2.348 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 1.193/1.193, allocations: 177.5 MB / 190 MB, free: 4.801 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1038/1.296, allocations: 53.87 MB / 243.9 MB, free: 14.86 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.2923/0.2923, allocations: 34.88 MB / 279.5 MB, free: 14.9 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02619/0.3184, allocations: 13.23 MB / 292.8 MB, free: 6.398 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.Test45,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5007,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test45") translateModel(ModelicaTest.Tables.CombiTimeTable.Test45,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5007,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test45") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.553e-06/1.553e-06, allocations: 0 / 294.2 MB, free: 5.012 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.404e-05/2.559e-05, allocations: 6.188 kB / 294.2 MB, free: 5.008 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test45): time 0.003583/0.003609, allocations: 1.814 MB / 296 MB, free: 3.176 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001683/0.005292, allocations: 1.025 MB / 297 MB, free: 2.145 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.591e-05/0.005388, allocations: 3.938 kB / 297 MB, free: 2.141 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002735/0.005661, allocations: 39.72 kB / 297.1 MB, free: 2.102 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003466/0.006008, allocations: 99.41 kB / 297.2 MB, free: 2.004 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002676/0.006275, allocations: 83.55 kB / 297.2 MB, free: 1.922 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002373/0.006513, allocations: 107.6 kB / 297.3 MB, free: 1.816 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.464e-05/0.006607, allocations: 7.984 kB / 297.4 MB, free: 1.809 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001734/0.006781, allocations: 82.62 kB / 297.4 MB, free: 1.73 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.6e-05/0.006877, allocations: 27.91 kB / 297.5 MB, free: 1.703 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.076e-05/0.006897, allocations: 4 kB / 297.5 MB, free: 1.699 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001275/0.007025, allocations: 47.86 kB / 297.5 MB, free: 1.652 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 7.064e-05/0.007096, allocations: 19.88 kB / 297.5 MB, free: 1.633 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 4.482e-05/0.00714, allocations: 15.94 kB / 297.6 MB, free: 1.617 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002543/0.007395, allocations: 99.66 kB / 297.6 MB, free: 1.52 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.828e-05/0.007413, allocations: 0 / 297.6 MB, free: 1.52 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.753e-06/0.007415, allocations: 4 kB / 297.7 MB, free: 1.516 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.68e-05/0.007432, allocations: 0 / 297.7 MB, free: 1.516 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.000665/0.008097, allocations: 348.9 kB / 298 MB, free: 1.152 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.188e-05/0.008148, allocations: 8.922 kB / 298 MB, free: 1.145 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.989e-05/0.008198, allocations: 8.922 kB / 298 MB, free: 1.137 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002077/0.008406, allocations: 150.1 kB / 298.2 MB, free: 0.9648 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.882e-05/0.008425, allocations: 4.375 kB / 298.2 MB, free: 0.9609 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.334e-05/0.008448, allocations: 4.375 kB / 298.2 MB, free: 0.957 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001408/0.008589, allocations: 65.75 kB / 298.2 MB, free: 0.8828 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.176e-05/0.008601, allocations: 4.188 kB / 298.2 MB, free: 0.8789 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.947e-06/0.00861, allocations: 4.375 kB / 298.2 MB, free: 0.875 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.635e-06/0.008617, allocations: 3.938 kB / 298.2 MB, free: 0.8711 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.561e-05/0.008653, allocations: 7.938 kB / 298.2 MB, free: 0.8633 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002613/0.008914, allocations: 169.8 kB / 298.4 MB, free: 0.6797 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000124/0.009038, allocations: 89.34 kB / 298.5 MB, free: 0.582 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.461e-05/0.009063, allocations: 8.859 kB / 298.5 MB, free: 0.5703 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.542e-05/0.009078, allocations: 4 kB / 298.5 MB, free: 0.5664 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000132/0.00921, allocations: 70.14 kB / 298.6 MB, free: 496 kB / 282.7 MB Notification: Performance of pre-optimization done (n=6): time 1.823e-06/0.009212, allocations: 0 / 298.6 MB, free: 496 kB / 282.7 MB Notification: Performance of matching and sorting (n=8): time 0.0003921/0.009604, allocations: 121.5 kB / 298.7 MB, free: 368 kB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.396e-05/0.009638, allocations: 51.41 kB / 298.8 MB, free: 304 kB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001426/0.009781, allocations: 176.3 kB / 298.9 MB, free: 112 kB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 2.074e-05/0.009801, allocations: 29.7 kB / 299 MB, free: 76 kB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.426e-05/0.009856, allocations: 96.09 kB / 299 MB, free: 15.98 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.592e-05/0.009892, allocations: 31.73 kB / 299.1 MB, free: 15.95 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.184e-05/0.009933, allocations: 25.7 kB / 299.1 MB, free: 15.91 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 9.883e-05/0.01003, allocations: 326.8 kB / 299.4 MB, free: 15.59 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.19e-05/0.01005, allocations: 6.828 kB / 299.4 MB, free: 15.58 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.472e-05/0.01009, allocations: 27.48 kB / 299.5 MB, free: 15.55 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.756e-05/0.01015, allocations: 44.45 kB / 299.5 MB, free: 15.5 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.313e-06/0.01015, allocations: 3.938 kB / 299.5 MB, free: 15.49 MB / 298.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001146/0.01026, allocations: 72.56 kB / 299.6 MB, free: 15.41 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.546e-05/0.01029, allocations: 11.94 kB / 299.6 MB, free: 15.4 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.095e-05/0.0103, allocations: 3.984 kB / 299.6 MB, free: 15.4 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.265e-05/0.01032, allocations: 0 / 299.6 MB, free: 15.4 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001102/0.01043, allocations: 19.94 kB / 299.6 MB, free: 15.38 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.334e-06/0.01044, allocations: 0 / 299.6 MB, free: 15.38 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.044e-05/0.01049, allocations: 4.375 kB / 299.6 MB, free: 15.38 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.774e-05/0.01051, allocations: 12 kB / 299.6 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 0.0001096/0.01062, allocations: 116.7 kB / 299.7 MB, free: 15.24 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.366e-05/0.01064, allocations: 11.92 kB / 299.8 MB, free: 15.23 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001771/0.01082, allocations: 83.08 kB / 299.8 MB, free: 15.14 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.877e-06/0.01082, allocations: 0 / 299.8 MB, free: 15.14 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.324e-06/0.01082, allocations: 0 / 299.8 MB, free: 15.14 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.278e-06/0.01083, allocations: 0 / 299.8 MB, free: 15.14 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003443/0.01117, allocations: 291.5 kB / 300.1 MB, free: 14.83 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.987e-06/0.01118, allocations: 3.938 kB / 300.1 MB, free: 14.82 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.288e-05/0.01123, allocations: 20.03 kB / 300.1 MB, free: 14.8 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.739e-05/0.01125, allocations: 11.91 kB / 300.2 MB, free: 14.79 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.057e-06/0.01125, allocations: 0 / 300.2 MB, free: 14.79 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.864e-06/0.01126, allocations: 0 / 300.2 MB, free: 14.79 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.781e-06/0.01126, allocations: 7.984 kB / 300.2 MB, free: 14.79 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.023e-06/0.01127, allocations: 0 / 300.2 MB, free: 14.79 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001502/0.01142, allocations: 211 kB / 300.4 MB, free: 14.56 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.557e-05/0.01144, allocations: 8 kB / 300.4 MB, free: 14.55 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.386e-05/0.01152, allocations: 0 / 300.4 MB, free: 14.55 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.387e-05/0.01155, allocations: 7.984 kB / 300.4 MB, free: 14.54 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.634e-05/0.01157, allocations: 8 kB / 300.4 MB, free: 14.54 MB / 298.7 MB Notification: Performance of sorting global known variables: time 6.852e-05/0.01163, allocations: 60.62 kB / 300.4 MB, free: 14.47 MB / 298.7 MB Notification: Performance of sort global known variables: time 8e-08/0.01163, allocations: 0 / 300.4 MB, free: 14.47 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002513/0.01189, allocations: 27.92 kB / 300.5 MB, free: 14.45 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.002049/0.01394, allocations: 0.6204 MB / 301.1 MB, free: 14.16 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001133/0.01405, allocations: 36.84 kB / 301.1 MB, free: 14.12 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 8.006e-06/0.01406, allocations: 0 / 301.1 MB, free: 14.12 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 5.731e-05/0.01411, allocations: 44.98 kB / 301.2 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.0003383/0.01445, allocations: 184.4 kB / 301.4 MB, free: 13.86 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005747/0.01503, allocations: 240 kB / 301.6 MB, free: 13.6 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.056e-05/0.01508, allocations: 71.34 kB / 301.7 MB, free: 13.51 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 4.521e-05/0.01512, allocations: 12.97 kB / 301.7 MB, free: 13.49 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.717e-05/0.01521, allocations: 71.36 kB / 301.7 MB, free: 13.42 MB / 298.7 MB Notification: Performance of SimCode: time 6.31e-07/0.01521, allocations: 0 / 301.7 MB, free: 13.42 MB / 298.7 MB Notification: Performance of Templates: time 0.005022/0.02023, allocations: 2.049 MB / 303.8 MB, free: 11.41 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test45.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test45.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test45.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test45.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test45.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test45 -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test45.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test45_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test45/Test45.csv","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.1879998249933124]