Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test78.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.001433/0.001433, allocations: 109.1 kB / 21.18 MB, free: 0.7852 MB / 14.72 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.001628/0.001628, allocations: 218 kB / 24.49 MB, free: 4.172 MB / 14.72 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.338/1.338, allocations: 230.5 MB / 258.1 MB, free: 8.031 MB / 206.1 MB " [Timeout remaining time 178] 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.2104/0.2104, allocations: 46.92 MB / 361.5 MB, free: 4.215 MB / 286.1 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.Test78,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|t_new_2.y.1.|d_t_new_2.y|d2_t_new.y|d2_t_new_2.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test78") translateModel(ModelicaTest.Tables.CombiTimeTable.Test78,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|t_new_2.y.1.|d_t_new_2.y|d2_t_new.y|d2_t_new_2.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test78") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002251/0.002251, allocations: 79.86 kB / 0.4975 GB, free: 7.219 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3011/0.3034, allocations: 66.08 MB / 0.562 GB, free: 4.242 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test78): time 0.00328/0.3066, allocations: 1.94 MB / 0.5639 GB, free: 2.289 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001853/0.3085, allocations: 1.15 MB / 0.5651 GB, free: 1.133 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.916e-05/0.3086, allocations: 7.938 kB / 0.5651 GB, free: 1.125 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004711/0.3091, allocations: 255.3 kB / 0.5653 GB, free: 0.875 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004276/0.3095, allocations: 235.2 kB / 0.5655 GB, free: 0.6445 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00026/0.3097, allocations: 119.6 kB / 0.5656 GB, free: 0.5273 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003274/0.3101, allocations: 271.3 kB / 0.5659 GB, free: 268 kB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001042/0.3102, allocations: 21.95 kB / 0.5659 GB, free: 244 kB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000191/0.3104, allocations: 143.4 kB / 0.5661 GB, free: 100 kB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002761/0.3106, allocations: 207.4 kB / 0.5663 GB, free: 15.89 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 2.515e-05/0.3107, allocations: 8 kB / 0.5663 GB, free: 15.89 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001251/0.3108, allocations: 67.97 kB / 0.5663 GB, free: 15.82 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 9.173e-05/0.3109, allocations: 67.64 kB / 0.5664 GB, free: 15.75 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001123/0.311, allocations: 99.22 kB / 0.5665 GB, free: 15.66 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003543/0.3114, allocations: 257.2 kB / 0.5667 GB, free: 15.41 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.18e-06/0.3114, allocations: 0 / 0.5667 GB, free: 15.41 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.463e-06/0.3114, allocations: 0 / 0.5667 GB, free: 15.41 MB / 414.1 MB Notification: Performance of Transformations before backend: time 5.991e-06/0.3114, allocations: 4 kB / 0.5667 GB, free: 15.41 MB / 414.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0008183/0.3122, allocations: 0.5273 MB / 0.5672 GB, free: 14.85 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.847e-05/0.3122, allocations: 8.031 kB / 0.5673 GB, free: 14.84 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.231e-05/0.3123, allocations: 32.75 kB / 0.5673 GB, free: 14.81 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003982/0.3127, allocations: 236.9 kB / 0.5675 GB, free: 14.55 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.707e-05/0.3127, allocations: 4.375 kB / 0.5675 GB, free: 14.55 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.622e-05/0.3127, allocations: 8.375 kB / 0.5675 GB, free: 14.54 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002466/0.313, allocations: 121.8 kB / 0.5676 GB, free: 14.41 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.376e-05/0.313, allocations: 0 / 0.5676 GB, free: 14.41 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.185e-05/0.313, allocations: 0 / 0.5676 GB, free: 14.41 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.409e-06/0.313, allocations: 4 kB / 0.5676 GB, free: 14.41 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001273/0.3131, allocations: 47.95 kB / 0.5677 GB, free: 14.36 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006002/0.3137, allocations: 451.8 kB / 0.5681 GB, free: 13.87 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000377/0.3141, allocations: 125.2 kB / 0.5682 GB, free: 13.73 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.622e-05/0.3142, allocations: 37.83 kB / 0.5683 GB, free: 13.69 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.207e-05/0.3142, allocations: 4 kB / 0.5683 GB, free: 13.68 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002465/0.3145, allocations: 125 kB / 0.5684 GB, free: 13.54 MB / 414.1 MB Notification: Performance of pre-optimization done (n=14): time 1.122e-06/0.3145, allocations: 7.875 kB / 0.5684 GB, free: 13.54 MB / 414.1 MB Notification: Performance of matching and sorting (n=22): time 0.001282/0.3158, allocations: 0.5085 MB / 0.5689 GB, free: 13.02 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.572e-05/0.3158, allocations: 81.11 kB / 0.569 GB, free: 12.92 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000518/0.3163, allocations: 0.4937 MB / 0.5695 GB, free: 12.41 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.631e-05/0.3164, allocations: 33.7 kB / 0.5695 GB, free: 12.38 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001308/0.3165, allocations: 168.5 kB / 0.5697 GB, free: 12.2 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.837e-05/0.3166, allocations: 75.42 kB / 0.5697 GB, free: 12.13 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.247e-05/0.3166, allocations: 41.7 kB / 0.5698 GB, free: 12.08 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001659/0.3168, allocations: 346.8 kB / 0.5701 GB, free: 11.73 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000129/0.3169, allocations: 59.97 kB / 0.5702 GB, free: 11.68 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001397/0.3171, allocations: 92.72 kB / 0.5702 GB, free: 11.57 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002723/0.3173, allocations: 159.3 kB / 0.5704 GB, free: 11.41 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.022e-06/0.3173, allocations: 3.938 kB / 0.5704 GB, free: 11.4 MB / 414.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0003894/0.3177, allocations: 241.5 kB / 0.5706 GB, free: 11.16 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.57e-05/0.3177, allocations: 4 kB / 0.5706 GB, free: 11.16 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.193e-06/0.3177, allocations: 4 kB / 0.5706 GB, free: 11.15 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.059e-05/0.3178, allocations: 7.938 kB / 0.5706 GB, free: 11.14 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000142/0.3179, allocations: 47.91 kB / 0.5707 GB, free: 11.1 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.972e-06/0.3179, allocations: 0 / 0.5707 GB, free: 11.1 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.844e-05/0.318, allocations: 8 kB / 0.5707 GB, free: 11.09 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.498e-05/0.318, allocations: 8 kB / 0.5707 GB, free: 11.08 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($PRE.t_new.nextTimeEvent,$whenCondition2,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,$PRE.t_new_2.nextTimeEvent,$whenCondition1,t_new_2.nextTimeEventScaled,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (26): * Single equations (assignments): 26 * 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.0001745/0.3182, allocations: 186.2 kB / 0.5709 GB, free: 10.89 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.734e-05/0.3182, allocations: 35.77 kB / 0.5709 GB, free: 10.86 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000496/0.3187, allocations: 273.2 kB / 0.5712 GB, free: 10.58 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.45e-06/0.3187, allocations: 4 kB / 0.5712 GB, free: 10.58 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.927e-06/0.3187, allocations: 0 / 0.5712 GB, free: 10.58 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.318e-06/0.3187, allocations: 0 / 0.5712 GB, free: 10.58 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009121/0.3197, allocations: 0.7107 MB / 0.5719 GB, free: 9.805 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.415e-06/0.3197, allocations: 0 / 0.5719 GB, free: 9.805 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.123e-05/0.3197, allocations: 31.92 kB / 0.5719 GB, free: 9.773 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.312e-06/0.3198, allocations: 4.188 kB / 0.5719 GB, free: 9.77 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.665e-05/0.3198, allocations: 8 kB / 0.5719 GB, free: 9.762 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.222e-06/0.3198, allocations: 11.92 kB / 0.5719 GB, free: 9.75 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.473e-06/0.3198, allocations: 0 / 0.5719 GB, free: 9.75 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004841/0.3203, allocations: 425.9 kB / 0.5723 GB, free: 9.305 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.593e-05/0.3203, allocations: 31.8 kB / 0.5724 GB, free: 9.273 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.778e-05/0.3203, allocations: 8 kB / 0.5724 GB, free: 9.266 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001317/0.3205, allocations: 12 kB / 0.5724 GB, free: 9.254 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.053e-05/0.3205, allocations: 27.84 kB / 0.5724 GB, free: 9.227 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.574e-05/0.3206, allocations: 15.98 kB / 0.5724 GB, free: 9.211 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0003712/0.3209, allocations: 371.1 kB / 0.5728 GB, free: 8.852 MB / 414.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3209, allocations: 0 / 0.5728 GB, free: 8.852 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.000335/0.3213, allocations: 47.94 kB / 0.5728 GB, free: 8.805 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition2,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 4 (t_new.nextTimeEvent,t_new.nextTimeEventScaled,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (22): * Single equations (assignments): 18 * 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.001836/0.3231, allocations: 0.5114 MB / 0.5733 GB, free: 8.473 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0003328/0.3234, allocations: 147.8 kB / 0.5735 GB, free: 8.328 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 4.077e-06/0.3234, allocations: 4 kB / 0.5735 GB, free: 8.324 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001538/0.3236, allocations: 75.78 kB / 0.5735 GB, free: 8.25 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005456/0.3241, allocations: 61.83 kB / 0.5736 GB, free: 8.191 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009757/0.3251, allocations: 0.6388 MB / 0.5742 GB, free: 7.504 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004265/0.3255, allocations: 0.787 MB / 0.575 GB, free: 6.691 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.501e-05/0.3256, allocations: 23.44 kB / 0.575 GB, free: 6.668 MB / 414.1 MB Notification: Performance of SimCode: time 3.01e-07/0.3256, allocations: 0 / 0.575 GB, free: 6.668 MB / 414.1 MB Notification: Performance of Templates: time 0.006274/0.3319, allocations: 3.897 MB / 0.5788 GB, free: 2.785 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test78.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test78.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test78.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test78.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test78.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test78 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test78.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test78_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test78/Test78.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test78.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 7.363512957002968]