Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test55.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.001463/0.001463, 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.001649/0.001649, allocations: 217.3 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.356/1.356, allocations: 230.5 MB / 258.1 MB, free: 8.012 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.2088/0.2088, allocations: 46.92 MB / 361.5 MB, free: 4.207 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.Test55,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5039,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test55") translateModel(ModelicaTest.Tables.CombiTimeTable.Test55,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5039,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test55") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002216/0.002216, allocations: 80.06 kB / 0.4975 GB, free: 7.219 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2858/0.288, allocations: 66.08 MB / 0.562 GB, free: 4.238 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test55): time 0.002975/0.291, allocations: 1.749 MB / 0.5637 GB, free: 2.477 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002434/0.2934, allocations: 1.734 MB / 0.5654 GB, free: 0.7344 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.299e-05/0.2935, allocations: 7.938 kB / 0.5654 GB, free: 0.7266 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000244/0.2937, allocations: 35.83 kB / 0.5655 GB, free: 0.6914 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00029/0.294, allocations: 99.55 kB / 0.5656 GB, free: 0.5938 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001794/0.2942, allocations: 83.66 kB / 0.5656 GB, free: 0.5117 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001751/0.2943, allocations: 107.6 kB / 0.5657 GB, free: 416 kB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.461e-05/0.2944, allocations: 8 kB / 0.5658 GB, free: 408 kB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.796e-05/0.2945, allocations: 47.77 kB / 0.5658 GB, free: 360 kB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001432/0.2947, allocations: 39.84 kB / 0.5658 GB, free: 320 kB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.862e-05/0.2947, allocations: 8 kB / 0.5658 GB, free: 312 kB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001878/0.2949, allocations: 115.9 kB / 0.566 GB, free: 196 kB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.208e-05/0.2949, allocations: 19.92 kB / 0.566 GB, free: 176 kB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.144e-05/0.295, allocations: 35.8 kB / 0.566 GB, free: 140 kB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002828/0.2953, allocations: 169.8 kB / 0.5662 GB, free: 15.97 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.127e-06/0.2953, allocations: 4 kB / 0.5662 GB, free: 15.97 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.242e-06/0.2953, allocations: 4 kB / 0.5662 GB, free: 15.96 MB / 414.1 MB Notification: Performance of Transformations before backend: time 5.821e-06/0.2953, allocations: 3.938 kB / 0.5662 GB, free: 15.96 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0005264/0.2958, allocations: 345.5 kB / 0.5665 GB, free: 15.59 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.052e-05/0.2958, allocations: 8.031 kB / 0.5665 GB, free: 15.59 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.7e-05/0.2959, allocations: 12.84 kB / 0.5665 GB, free: 15.57 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002478/0.2961, allocations: 154.9 kB / 0.5667 GB, free: 15.4 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.449e-05/0.2961, allocations: 4.375 kB / 0.5667 GB, free: 15.39 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.304e-05/0.2962, allocations: 12.12 kB / 0.5667 GB, free: 15.38 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001652/0.2963, allocations: 67.33 kB / 0.5668 GB, free: 15.3 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.157e-06/0.2963, allocations: 7.938 kB / 0.5668 GB, free: 15.3 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.117e-06/0.2963, allocations: 0 / 0.5668 GB, free: 15.3 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.013e-06/0.2964, allocations: 0 / 0.5668 GB, free: 15.3 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.022e-05/0.2964, allocations: 19.98 kB / 0.5668 GB, free: 15.28 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003483/0.2968, allocations: 260 kB / 0.567 GB, free: 14.98 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000161/0.2969, allocations: 54.62 kB / 0.5671 GB, free: 14.92 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.331e-05/0.297, allocations: 20.84 kB / 0.5671 GB, free: 14.89 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.712e-05/0.297, allocations: 0 / 0.5671 GB, free: 14.89 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001472/0.2972, allocations: 71.33 kB / 0.5672 GB, free: 14.81 MB / 414.1 MB Notification: Performance of pre-optimization done (n=6): time 1.193e-06/0.2972, allocations: 4 kB / 0.5672 GB, free: 14.81 MB / 414.1 MB Notification: Performance of matching and sorting (n=8): time 0.0004945/0.2976, allocations: 173.3 kB / 0.5673 GB, free: 14.63 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.389e-05/0.2977, allocations: 81.11 kB / 0.5674 GB, free: 14.54 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001703/0.2979, allocations: 162.5 kB / 0.5676 GB, free: 14.36 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.929e-05/0.2979, allocations: 25.7 kB / 0.5676 GB, free: 14.33 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.16e-05/0.298, allocations: 100.1 kB / 0.5677 GB, free: 14.23 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.319e-05/0.298, allocations: 31.73 kB / 0.5677 GB, free: 14.2 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.394e-05/0.298, allocations: 25.7 kB / 0.5677 GB, free: 14.17 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001411/0.2982, allocations: 326.8 kB / 0.5681 GB, free: 13.84 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.722e-05/0.2982, allocations: 20 kB / 0.5681 GB, free: 13.82 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.193e-05/0.2983, allocations: 46.5 kB / 0.5681 GB, free: 13.77 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001126/0.2984, allocations: 61.77 kB / 0.5682 GB, free: 13.7 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.02e-07/0.2984, allocations: 0 / 0.5682 GB, free: 13.7 MB / 414.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001907/0.2986, allocations: 106 kB / 0.5683 GB, free: 13.59 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.233e-05/0.2986, allocations: 4 kB / 0.5683 GB, free: 13.59 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.757e-06/0.2986, allocations: 0 / 0.5683 GB, free: 13.59 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.052e-05/0.2986, allocations: 0 / 0.5683 GB, free: 13.59 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.17e-05/0.2987, allocations: 20 kB / 0.5683 GB, free: 13.57 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.378e-06/0.2987, allocations: 0 / 0.5683 GB, free: 13.57 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.145e-05/0.2988, allocations: 11.92 kB / 0.5683 GB, free: 13.55 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.761e-06/0.2988, allocations: 4 kB / 0.5683 GB, free: 13.55 MB / 414.1 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.0001061/0.2989, allocations: 129.5 kB / 0.5684 GB, free: 13.42 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.216e-05/0.2989, allocations: 11.98 kB / 0.5685 GB, free: 13.41 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002241/0.2991, allocations: 114.4 kB / 0.5686 GB, free: 13.29 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.064e-06/0.2991, allocations: 0 / 0.5686 GB, free: 13.29 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.776e-06/0.2991, allocations: 0 / 0.5686 GB, free: 13.29 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.672e-06/0.2991, allocations: 3.938 kB / 0.5686 GB, free: 13.28 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004363/0.2996, allocations: 370.3 kB / 0.5689 GB, free: 12.87 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.413e-06/0.2996, allocations: 0 / 0.5689 GB, free: 12.87 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.021e-05/0.2996, allocations: 8.031 kB / 0.5689 GB, free: 12.86 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.743e-06/0.2996, allocations: 4 kB / 0.5689 GB, free: 12.86 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.423e-05/0.2996, allocations: 15.92 kB / 0.569 GB, free: 12.84 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.282e-06/0.2996, allocations: 0 / 0.569 GB, free: 12.84 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.168e-06/0.2996, allocations: 3.938 kB / 0.569 GB, free: 12.84 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002357/0.2999, allocations: 196.3 kB / 0.5691 GB, free: 12.62 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.179e-05/0.2999, allocations: 12.14 kB / 0.5692 GB, free: 12.61 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.322e-05/0.2999, allocations: 7.938 kB / 0.5692 GB, free: 12.61 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.441e-05/0.3, allocations: 11.92 kB / 0.5692 GB, free: 12.59 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.841e-05/0.3, allocations: 4 kB / 0.5692 GB, free: 12.59 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.355e-05/0.3, allocations: 3.984 kB / 0.5692 GB, free: 12.59 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001142/0.3001, allocations: 131.9 kB / 0.5693 GB, free: 12.46 MB / 414.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3001, allocations: 0 / 0.5693 GB, free: 12.46 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002751/0.3004, allocations: 43.88 kB / 0.5693 GB, free: 12.41 MB / 414.1 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 (8): * Single equations (assignments): 6 * 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.001875/0.3023, allocations: 0.5421 MB / 0.5699 GB, free: 12.05 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0001788/0.3025, allocations: 59.84 kB / 0.5699 GB, free: 12 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.523e-06/0.3025, allocations: 0 / 0.5699 GB, free: 12 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 6.971e-05/0.3025, allocations: 27.92 kB / 0.57 GB, free: 11.97 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003267/0.3029, allocations: 23.98 kB / 0.57 GB, free: 11.95 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004193/0.3033, allocations: 244.8 kB / 0.5702 GB, free: 11.68 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003189/0.3036, allocations: 0.6963 MB / 0.5709 GB, free: 10.95 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.873e-05/0.3037, allocations: 23.42 kB / 0.5709 GB, free: 10.93 MB / 414.1 MB Notification: Performance of SimCode: time 2.9e-07/0.3037, allocations: 0 / 0.5709 GB, free: 10.93 MB / 414.1 MB Notification: Performance of Templates: time 0.004302/0.308, allocations: 2.408 MB / 0.5733 GB, free: 8.527 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test55.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test55.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test55.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test55.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test55.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test55 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test55.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test55_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test55/Test55.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test55.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.3174842819571495]